Re: Re: Is build necessary
Frank Meissner <[email protected]> Sun, 01 Aug 2004 19:55:20 +0200
| Newsgroups | gmane.comp.embedded.carlsbad-cubes |
|---|---|
| Message-ID | <[email protected]> |
Hello Jake,
you do'nt need to use build.sh, the only thing it does is calling ant
after setting a few variables. On my linux box I run these:
----8<----8<----8<----8<----8<----8<----8<----
swixml $export CLASSPATH=`pwd`/lib/j2h.jar
swixml $ant
Buildfile: build.xml
init:
[echo] ----------- SWIXML 1.1 (#139) ------------
prepare:
prepare-src:
compile:
about:
package:
[jar] Building jar: /home/fm/workspace/swixml/build/swixml.jar
BUILD SUCCESSFUL
Total time: 4 seconds
swixml $
----8<----8<----8<----8<----8<----8<----8<----
I suspect you do not have ant installed (because java does not find
org/apache/tools/ant/Main) or have the environment not set up correctly?
The setted classpath is for the taskdef of javahelp.
Frank
Jake wrote:
>>"Wolf Paulus" <[email protected]> wrote in message
>
> news:[email protected]...
>
>>The Swixml #139 distribution contains the swixml.jar file and you do
>>NOT need to build it yourself.
>>
>>--
>>Wolf Paulus
>>707.202.3937
>>[email protected]
>
>
> Thanks Wolf.
>
> Especially because I can't seem get it to compile myself. Even after I
> convert the DOS newlines to unix like:
>
> find swixml_139 -type f -print0 | xargs -0 perl -pi.bak -e 's/\r//'
>
> and try to build:
>
> [o10]:~/swixml_139> ./build.sh
>
> SWIXML Build System
> -------------------
>
> Starting Ant...
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/tools/ant/Main
>
>
> Jay
>
>
>
>
> _______________________________________________
> Forum mailing list
> [email protected]
> http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
>