On Mon, Oct 25, 2004, Andreas Schmidt wrote:

> the ant-package in
>   /current/SRC/ant-1.6.2-20040716.src.rpm
> doesn't work (for me).
>
> after installation
>   ant --help
> works fine, but trying to do something with build-files, e.g.
>   ant -projecthelp
> results in
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/tools/ant/launch/Launcher
>
> with
>   ant --execdebug -projecthelp
> i saw, that ant calls
>
>   exec "/opt/opkg/libexec/j2se14/bin/java" -classpath
> "/opt/opkg/libexec/ant/ant-launcher.ja" -Dant.home="/opt/opkg"  ...
>
> as you can see, there is a missing "r" in ant-launcher.jar!
>
> making a symlink in libexec/ant/ is a workaround.
>
> since i don't expect to be the only one using ant, i ask me, if i did
> something wrong during installation of ant?

Hmmm... I've checked the packaging of "ant" and I cannot why the "r" is
missing here. Even in line 201 of <prefix>/bin/ant the ant-launcher.jar
is correctly specified. Hmmm... sorry, I've no clue...

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to