logo       

Re: Build problem: msg#00010

java.enhydra.xmlc

Subject: Re: Build problem

Look like you may have extra carriage return on the end of the build.sh files. Try this:

$ tr -d '\r' < build.sh > foo.sh
$ ls -l build.sh foo.sh
[see if there is different in size]
$ sh foo.sh

David

P.S. Did you happen to open the build.sh files under Winodws with tools like notepad? Notepad added \r to the end of file.


On Sunday, Mar 2, 2003, at 05:13 Asia/Shanghai, Xue-Feng Yang wrote:

It is not luck again. Here are the result I tested. I
will look at the scripts later. If someone knows this,
please help me to save some time. Thanks.

In my Redhat 8.0 box with Java 1.4.1, I have the error
message:

[hehe@woo XMLC]$ sh build.sh
: command not found
: command not found
: command not found
: No such file or directory
: command not found
: command not found
/release/build-lib/ant.jar:
Exception in thread "main"
java.lang.NoClassDefFoundError:
build.sh: line 16: -Dbuild.compiler.emacs=true:
command not found
/release/lib: No such file or directoryng/XMLC
: command not found-Dtest.xmlc.update=false
build.sh: line 19: org.apache.tools.ant.Main: command
not found


In my Win2K with cygwin 1.3.20 and JDK 1.4.1, the
error message is:

$ ./build.sh
/cygdrive/d/programs/cvs/XMLC/release/build-lib/ant.jar:
Exception in thread "main"
java.lang.NoClassDefFoundError: org/apache/tools/ant/
Main





--- David Li <david@xxxxxxxxxxxxxxxxx> wrote: > The
XMLC build.xml isn't compatible with the 1.5.1.
The 1.4 Ant is
included with the source and you can take a look at
the build.sh and
maybe write a build.bat for building on Windows.

By the way, the binary distribution of the XMLC 2.2
Alpha 3 is at:

http://homepage.mac.com/taweili/XMLC.html

David


On Sunday, Mar 2, 2003, at 01:51 Asia/Shanghai,
Xue-Feng Yang wrote:

I tried to chechout the source by pserver, but no
luck.

The error message is attched.

The problem may be the version of the ant. Could
anyone please tell me what version of ANT for
building
XMLC? If anyone met this before, please help me.

I use JDK 1.4.1 and Ant 1.5.1.

Thanks

/******************************/

D:\XMLC>ant
Buildfile: build.xml

lib:

call-subprojects:

init:

BUILD FAILED


file:D:/Programs/cvs/XMLC/libraries/util/modules/junitTivano/

build.xml:79:
taskdef class


org.apache.tools.ant.taskdefs.optional.junit.JUnitTask
cannot be found

Total time: 1 second





______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc

_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc

______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise