try this
change the batch file statement to
ant -buildfile "RunBuild.xml" %1 %2
and then execute
>ABC.bat A B at commandline and this should solve your troubles
Sunil Prabhakaran
On 10/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Im not sure why you are using the batchfile. So just two
I went to subclass XMLProperty but forgot that addProperty() and several
related methods/variables are private. Am I right in thinking the only way
around this is to essentially duplicate much of the XMLProperty class in my
subclass?
An online view of XMLProperty.java can be found here
http:/
Thanks David for putting light on it. Well, here is my actual ?
I have to do the following task:
1) I have 5 files to patch at release folder (or you can say runtime
folder).
2) 4 files already exist at runtime with version 1.4
3) The files I'm going to patch is having 4 files (with version
Bold? Red?
Unfortunately, like most mailing lists, this is a text only list.
You'll have to point out the line numbers that you have questions
about, and where in the line. Also remember that not everyone uses
monospaced fonts (stupid Gmail!), so you can't depend upon line
spacing to help point ou
Well, it tells you the line that your build.xml was on when the error
failed, and the error (Cannot resolve symbol) and the symbol it cannot
resolve (getTxnGrps).
What is probably happening is that this class is in a JAR that isn't
in your classpath. If you look at the compiler error, you should s
Figured it out I had to update my config spec in clearcase
Thanks for the help...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 23, 2007 2:22 PM
To: user@ant.apache.org
Subject: RE: cannot resolve symbol
Please check your classpath en
Hi All,
Can someone please let me know, whether the ANT code below is good or- what
it will do.
I have 3 files in backup.dir folder and 3+1 extra file in release.dir
folder. The 1 extra file inside release.dir folder is a new file added to
the release folder (patching) before running the code be
Please check your classpath entries.
Warm Regards,
Sumit Srivastava
Voice : (203) 719 - 5894
Email :[EMAIL PROTECTED]
Chat :srivassb
To go far, explore first what is near..
-Original Message-
From: Chris Styles [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 23, 2007 2:18 PM
To: user
Hi,
I'm trying to run an ant target manually, and I'm receiving the
following error... How do I resolve this issue...???
cannot resolve symbol
[javac] symbol : method getTxnGrps ()
[javac] location: class com.s1.common.export.user.ExportFormValue
[javac] txnGrpArray
The answers of Sumit and Charles say to increase the memory of a java
program launched from an ant script.
I think that what you want is increasing the size of the jvm executing the
ant script itself. And that's the answer of Glenn. Before launching the
ant script, you can define the environment
Nice. I didn't realize there were so many options. I decided to go with
subclassing XmlProperty because I need to replace the delimiter before, rather
than after, the property values are set.
Thanks for all the good suggestions.
Janet
[EMAIL PROTECTED] wrote: Oh you also could subclass XmlPr
Hi,
I meant the ANT tasks,for eg
This link might help you more http://ant.apache.org/manual/CoreTasks/java.html
Hth,
Sumit
-Original Message-
From: Knuplesch, Jürgen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 23, 2007 10:44 AM
To: Ant Users List
Subject: AW: Memory and
I do not use the java-Task, but an ANT Task someone else wrote. If I could fork
this Task and give it the memory attribut it would be fine.
Thank you anyway!!
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
--
Charles Knell
[EMAIL PROTECTED] - email
-Original Message-
From: Knuplesch, Jürgen <[EMAIL PROTECTED]>
Sent: Tue, 23 Oct 2007 16:43:40 +0200
To: "Ant Users List"
Subject: AW: Memory and Ant
Hi Sumit,
Thank you for the answer!!
I did not understand, where I have
Hi Sumit,
Thank you for the answer!!
I did not understand, where I have to make a change:
What do you mean in this context with the expression "tasks"?
Do you mean a batchfile or the commandline or an Ant Task or the ANT cmd-File
or sth else?
Please show me an example?
--
Jürgen Knuplesch
I downloaded aspectj, it seems that there been changes
since 1.0 - check the doc.
Placing all the jar files in $EXAMPLE/lib, the following works
for me:
Peter
On 10/23/07, Dominique Devienne <[EMAIL PROTECTED]> wrote
if you are running from windows, then you can add an environment variable
set ANT_OPTS=-Xms100m -Xmx256m
This will set the initial heap to 100MB and the max heap to 256MB.
--glenn
On 10/23/07, Knuplesch, Jürgen <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Is it possible to increase the memory of a
On 10/23/07, rolando80 <[EMAIL PROTECTED]> wrote:
> I've tried the possibilities proposed by you but it didn't work.
Bummer.
> Could it be that its because the class DefaultCompilerAdapter is within
> ant.jar and aspectjtools.jar?
It rarely a good idea to have duplicate classes in jar. Have you
Yes,
basically it needs to be passed as an argument to java.exe.
In ANT it can be accomplished, if you add "maxmemory=128m" to the tasks.
If you run ant with -v (verbose) option you would see that "maxmemory=128m"
translates into java.exe -Xmx128m.
HTH,
Sumit
To go far, explore first w
Hello,
Is it possible to increase the memory of an Ant-Buildprocess via "-Xmx128m" and
where do I have to put it?
My Buildprocess quits with a java.lang.OutOfMemoryError Message.
Greetings
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711
I've tried the possibilities proposed by you but it didn't work.
Could it be that its because the class DefaultCompilerAdapter is within
ant.jar and aspectjtools.jar?
But i can't leave aspectjtools.jar because it contains the class Ajc which
is required.
Can anyone help?
Dominique Devienne-2
Oh you also could subclass XmlProperty and overwrite that method ;)
Jan
>-Ursprüngliche Nachricht-
>Von: Martin Gainty [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 24. Oktober 2000 14:09
>An: Ant Users List
>Betreff: Re: XmlProperty - can I specify the property value delimiter?
>
>I w
I was going to suggest doing an XML Transform but propertregex is much
easier to implement thru Ant
Vielen Danke Jan!
Martin--
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 23, 2007 2:01 AM
Subject: AW: XmlProperty - can I specify the property value delimiter?
JDK-detection is done in the calling batch file.
If detection is disabled if JAVA_HOME is set.
Jan
>-Ursprüngliche Nachricht-
>Von: Timothy Crowell [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 23. Oktober 2007 11:42
>An: Ant Users List
>Betreff: Re: JAVA-HOME is pointing to JRE
>
>Tha
Thank you! Ant is working now. I replaced "%20" with a space.
I have seen %20 in other variables and it works. I have tried spaces in some
variables and it breaks.
Usually, I have noticed that when spaces don't work, %20 does.
I think Ant was falling back to auto-detect and chose the JRE folder
On 10/23/07, Peter Reilly <[EMAIL PROTECTED]> wrote:
> You should not have the %20 in the name. This is
I meant value and not name.
Peter
> a url escape sequence and will not be usable for most software.
> Peter
>
> On 10/23/07, Timothy Crowell <[EMAIL PROTECTED]> wrote:
> > I tried "echo %JAVA_HO
You should not have the %20 in the name. This is
a url escape sequence and will not be usable for most software.
Peter
On 10/23/07, Timothy Crowell <[EMAIL PROTECTED]> wrote:
> I tried "echo %JAVA_HOME%" (without quotes) on the Microsoft Windows XP SP2
> Command line and I got "C:\Program%20Files
I tried "echo %JAVA_HOME%" (without quotes) on the Microsoft Windows XP SP2
Command line and I got "C:\Program%20Files\Java\jdk1.6.0_03" (without quotes).
Bizard's suggestion seems to be PISIX specific.
-Timothy
- Original Message
From: Lionel van den Berg <[EMAIL PROTECTED]>
To: Ant U
On 23/10/2007, Timothy Crowell <[EMAIL PROTECTED]> wrote:
>
> Oh, I already have the JDK and JAVA_HOME is pointing to the JDK, but the
> Command line is always looking in the JRE folder.
>
> -Timothy
>
> P.S. I have installed Ant on two computers, only one of them has this
> problem.
Please exec
Oh, I already have the JDK and JAVA_HOME is pointing to the JDK, but the
Command line is always looking in the JRE folder.
-Timothy
P.S. I have installed Ant on two computers, only one of them has this problem.
- Original Message
From: Bizard Nicolas (KIRO 41) <[EMAIL PROTECTED]>
To: A
Hi,
-Original Message-
From: Bizard Nicolas (KIRO 41) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 23, 2007 8:48 AM
To: Ant Users List
Subject: Ant scp task with fileset
/*
> Hi all, i still couldn't find an answer to the following point, can
> you help?
[...]
> i am currently t
31 matches
Mail list logo