ant java jar="asdf.jar" fails to execute jar that java -jar asdf.jar succeeds on

2008-08-13 Thread Brendan Miller
Gives me: [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger but java -jar the_same_jar.jar works fine. I specify the path to log4j.jar as Class-Path: log4j.jar in the manifest. What could be happening here? How is jar lookup different betw

Re: Problem with mail task

2008-08-13 Thread Reeganz
This issue is because of the classpath: Add latest mail.jar & activation.jar to your ANT_HOME/lib and then run the ant task through command prompt, it will work Reply back if you face any issues... Petar Tahchiev wrote: > > On 07/01/06, Rhino <[EMAIL PROTECTED]> wrote: >> >> I have a fairly

Re: basename & variables not working in solaris

2008-08-13 Thread Dominique Devienne
On Wed, Aug 13, 2008 at 9:37 AM, viet nguyen <[EMAIL PROTECTED]> wrote: > Is there a better way to accomplish what I was trying to do? Have you tried with ? Assuming your jars are all in the same dir, you won't need basename, a nested should suffice, and using a pathsep of "/> http://www.google.

RE: RMIC problem

2008-08-13 Thread Schwartz, Ran
I still have issues with my RMIC and it is still getting the same error. The format I have is (I took out the values): Any ideas or examples of an rmic base format that works with Ant 1.7? Thanks, Ran -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Monday, August

uisng ant with mercurial

2008-08-13 Thread Patrick Waugh
When I "clone" a repository with mercurial, I current then have to go in and manually edit the build.xml file's project name in the project tag. Is there a way around having to do this??? Patrick - To unsubscribe, e-mail: [EMAIL

basename & variables not working in solaris

2008-08-13 Thread viet nguyen
I'm trying to dynamically generate a list of jars in a Java webstart JNLP file in the following format 1. my list of jars 2. For each jar get its basename and build the string

how can i set javac's parameter in ant get the same bytecode as use javac in cmd????

2008-08-13 Thread Arthur
hi, funs & master of ant i need build a baseline 1, but there nerver exists such a thing, and the configuration system lost some files or exist but version is wrong. the old way in our company is use way a, and i want to use ant as a total-build-deploy tool. way a, use "*javac Text

File system trees?

2008-08-13 Thread Stime, Brett
Is there a good way to handle non-jar artifacts that have predefined file structures (HTML/JS/CSS/XSL)? For example, if there are two different web sites that have dependencies on two different versions of a set of JS files (like YUI), is there a way we can symlink to the directory corresponding to

fails to get an artifact on my http server

2008-08-13 Thread zf
i used visualSVN as my http server. i think the setting is correct, and i can get the file if i copy the url and paste in browser, and i got the commons-httpclient.jar on the right place. the erros is like this "Authentication requested but doAuthentication is disabled". please help. best regard

Ignore -d option in javac ant task

2008-08-13 Thread hari prasad
Hi Ant User group, I am user of ANT 1.6. I am trying to compile some java files and want to make ant ignore the default " -d " option in the javac task. Can you please help me on this? Thanks, Hari.

sshexec and logging

2008-08-13 Thread Hans Schwaebli
I do Ant scripts for building and testing a application. Builds are done with CruiseControl on a Unix machine. I have to run the tests on windows, which is why in the build script the stuff is checked out on windows and build there. But the controlling Ant scripts are on the Unix machine. So I