RE: JAVA-HOME is pointing to JRE

2007-10-22 Thread Bizard Nicolas (KIRO 41)
Ok. You need a JDK to compile Java classes, JRE is not enough. JRE -> java code execution JDK -> javac ode compilation :-S download the JDK from sun.com install it and let JAVA_HOME point to this new location... Nicolas -Original Message- From: Timothy Crowell [mailto:[EMAIL PROTECTED]

Ant scp task with fileset

2007-10-22 Thread Bizard Nicolas (KIRO 41)
> Hi all, i still couldn't find an answer to the following point, can > you help? > -- > i am currently trying to use the

Re: JAVA-HOME is pointing to JRE

2007-10-22 Thread Timothy Crowell
"log.txt" is a log of the failed "Hello world!" build. "log2.txt" is a log of my debugging information. The error concerning tools.jar says that it could not be found and that tools.jar was expected to be found in "C:\Program Files\Java\jre1.6.0_03". -Timothy _

Re: JAVA-HOME is pointing to JRE

2007-10-22 Thread prashanth . l
Install Java directly under C Drive, there should not be any spaces in JAVA-HOME Path.. ( the space between Program Files). Also set PATH variable till bin folder Also set CLASSPATH variable till lib folder Try the above ..

Re: JAVA-HOME is pointing to JRE

2007-10-22 Thread Lionel van den Berg
On 23/10/2007, Timothy Crowell <[EMAIL PROTECTED]> wrote: > > I am new to Java and Ant. > > I have set JAVA-HOME to "C:\Program Files\Java\jdk1.6.0_03" (no quotes), I > have dubble-checked this. > > Ant says JAVA-HOME is set to "C:\Program Files\Java\jre1.6.0_03" (no > quotes), this is causing seri

RE: JAVA-HOME is pointing to JRE

2007-10-22 Thread Bizard Nicolas (KIRO 41)
Hi, did you try to print the java home within your ant script? See there for basic env variables printing : http://betabloguant.free.fr/index.php?2007/10/17/451-another-ant-trick Some variables that are printable : java.version, java.version, user.home, java.class.path Hope that helps... -O

Re: JAVA-HOME is pointing to JRE

2007-10-22 Thread Lionel van den Berg
On 23/10/2007, Timothy Crowell <[EMAIL PROTECTED]> wrote: > > I am new to Java and Ant. > > I have set JAVA-HOME to "C:\Program Files\Java\jdk1.6.0_03" (no quotes), I > have dubble-checked this. > > Ant says JAVA-HOME is set to "C:\Program Files\Java\jre1.6.0_03" (no > quotes), this is causing seri

JAVA-HOME is pointing to JRE

2007-10-22 Thread Timothy Crowell
I am new to Java and Ant. I have set JAVA-HOME to "C:\Program Files\Java\jdk1.6.0_03" (no quotes), I have dubble-checked this. Ant says JAVA-HOME is set to "C:\Program Files\Java\jre1.6.0_03" (no quotes), this is causing serious problems, especially concerning tools.jar. Can you help me fix th

AW: XmlProperty - can I specify the property value delimiter?

2007-10-22 Thread Jan.Materne
Manual doesnt say anything to delimiters (which in general mean "there is no") and source doesnt have one ... XmlProperty.java:0461: private void addProperty (String name, String value, String id) { XmlProperty.java:0468: if (addedAttributes.containsKey(name)) { XmlProperty.java:0477

XmlProperty - can I specify the property value delimiter?

2007-10-22 Thread J MacKay
I just started using ant and have a question about XMLProperty. x1 x2 Using the sample above, XMLProperty will transform"x" into a comma separated list of values: root-tag.x=x1,x2 Is there any way to specify the delimiter used (like a "|") ? ie return this instead root-tag

RE: symlink - which ant jar do I need?

2007-10-22 Thread Wayne Cruz
Tanguy- Thanks for the info. Wayne At 05:01 AM 10/22/2007, you wrote: Hello Wayne, In the future, you may want to make things like that clear from the start, as i have been running a simple test to create symlinks, not delete them. Having changed that, i can tell you that the following build

RE: symlink - which ant jar do I need?

2007-10-22 Thread RADEMAKERS Tanguy
Hello Wayne, In the future, you may want to make things like that clear from the start, as i have been running a simple test to create symlinks, not delete them. Having changed that, i can tell you that the following build script does work to delete symlinks under Solaris 10 (not sure about Linux)

AW: [Ant task] Calling different targets by passing it to a batch file

2007-10-22 Thread Jan.Materne
Im not sure why you are using the batchfile. So just two infos: - %* is replaced by all batch arguments in a batch file - you can define a default target on Jan >-Ursprüngliche Nachricht- >Von: Dharmesh Vyas [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 18. Oktober 2007 13:23 >An: