Hi 

I am trying to automate the build process of my custom mailet with ant.
First i am building my mailet and copy it into the SAR-INF/lib
directory. This works fine. But i also want to start the James server
from the ant file.

So far i came up with:

<java jar="${phoenix_home}/bin/phoenix-loader.jar" fork="true" >        
<jvmarg value="-Djava.ext.dirs=
${phoenix_home}/lib:{phoenix_home}/tools/lib -Dphoenix.home=
${phoenix_home} -Djava.io.tmpdir=${phoenix_temp}"/></java>

But this yields into the follwoing error:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/avalon/excalibur/i18n/ResourceManager

It seems that the "-Djava.ext.dirs" parameter is not considered by ant
and therefore the library is not found. Did anyone try something
similar? Any help is much appreciated.

David


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to