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:
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)
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
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
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
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
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
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
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
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 ..
"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
_
> Hi all, i still couldn't find an answer to the following point, can
> you help?
>
--
> i am currently trying to use the
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]
13 matches
Mail list logo