Error : checkstyletask.properties

2006-04-03 Thread Ashok Srnivasan
Hi All, I have fixed the bug. The property *rlm.home* is not set and also it spelled wrongly. Thanks and Regards, S.K.Ashok *Previous Mail:* Hi All, I am using the checkstyletask.properties in my build.xml file.whenI run the ant script it throws the following error. * [

Error : checkstyletask.properties

2006-04-03 Thread Ashok Srnivasan
Hi All, I am using the checkstyletask.properties in my build.xml file.whenI run the ant script it throws the following error. * [taskdef] Could not load definitions from resource checkstyletask.properties.It could not be found.* Here is my ant script related to the checkstyletask.pr

Is there an ant version that supports JavaCC 4.0?

2006-04-03 Thread Michelle Le
To build my code in Java 5, it's required to upgrade JavaCC to version 4.0. I have downloaded JavaCC source and built the JavaCC.zip file. I'm having problem when executing javacc from ant build.xml file. ant is looking for "COM.sun.labs..." when the source that I have built contains "org.jav

Re: CAB creator for Linux?

2006-04-03 Thread Stefan Bodewig
On Mon, 3 Apr 2006, Steve Wardell <[EMAIL PROTECTED]> wrote: > the page refers to a link > (http://trill.cis.fordham.edu/~barbacha/cabinet_library/) > to get CAB creator for other platforms. However, the > link is no longer working. The library is libcabinet, an rpmfind or Google search for it do

CAB creator for Linux?

2006-04-03 Thread Steve Wardell
On http://ant.apache.org/manual/OptionalTasks/cab.html, the page refers to a link (http://trill.cis.fordham.edu/~barbacha/cabinet_library/) to get CAB creator for other platforms. However, the link is no longer working. Is there somewhere that I can get CAB creator for Linux that will work with Ant

Re: 'java' task does not exit

2006-04-03 Thread Steve Loughran
John Sisson wrote: The spawn attribute runs my primary process without its console log being visible; now you have to run (via ant) a tail program and attach it to the process. I have done this but it is pretty inconvenient as there is a family of 20 or more processes run by my extended NxJava co

Re: Hi

2006-04-03 Thread Steve Loughran
venkata kiran wrote: Hi All, We are using Ant version 1.6.5 and Starteam 5.2,I am using some of the statteam tasks in the build file and I am facing these errors. well, stack traces are a wonderful thing. hint #1 com.starbase.starteam.SDKRuntimeException: Problem opening connecti

Re: AW: wsdeploy broken

2006-04-03 Thread Steve Loughran
[EMAIL PROTECTED] wrote: We havent any wsdeploy task. But sounds for that it´s part of Axis ... no, not axis. WebSphere? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Hi

2006-04-03 Thread venkata kiran
Hi All, We are using Ant version 1.6.5 and Starteam 5.2,I am using some of the statteam tasks in the build file and I am facing these errors. com.starbase.starteam.SDKRuntimeException: Problem opening connection: at com.starbase.starteam.Server.connect(Server.java:1693)

Re: Javac tasks (when calling from java)

2006-04-03 Thread Matt Benson
Correct, as far as Ant is concerned, you should set JAVA_HOME to the location of the Java SDK. That assumes you want to use things from tools.jar . If you were using a different compiler, e.g. jikes or jdt, you might get by without tools.jar and thus JAVA_HOME could safely point to a JRE. But fo

Re: Javac tasks (when calling from java)

2006-04-03 Thread Joe Moore
My error, JDK and SDK are synonymous. I meant JRE and SDK are installed in separate directories. I was mentioning that in case the person who had posted their problem may have had the same experience and therefore the tools.jar file is not in their classpath. Joe [EMAIL PROTECTED] - Origin

RE: Javac tasks (when calling from java)

2006-04-03 Thread Stephen McConnell
> -Original Message- > From: Joe Moore [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 4 April 2006 2:40 AM > To: Ant Users List > Subject: Re: Javac tasks (when calling from java) > > I've noticed that with Java 5, when you install it it > installs the JDK in a separate folde than the SDK

RE: Javac tasks (when calling from java)

2006-04-03 Thread Stephen McConnell
> -Original Message- > From: Oliver Schalch [mailto:[EMAIL PROTECTED] > Sent: Monday, 3 April 2006 11:49 PM > To: user@ant.apache.org > Subject: Javac tasks (when calling from java) > > Hi List, > > Another Problem... > > Calling ant from Java (inside a bigger project) > > Unable t

Re: Javac tasks (when calling from java)

2006-04-03 Thread Matt Benson
It would probably help if you give examples of the directories you are referring to. As far as I ever knew JDK and SDK were synonymous in terms of Java. -Matt --- Joe Moore <[EMAIL PROTECTED]> wrote: > I've noticed that with Java 5, when you install it > it installs the JDK in a separate folde

Re: Javac tasks (when calling from java)

2006-04-03 Thread Joe Moore
I've noticed that with Java 5, when you install it it installs the JDK in a separate folde than the SDK I think it used to be a subfolder of the SDK but is now its own separate folder. This then puts the tools.jar in the SDK and outside the CLASSPATH. As a workaround I've added the full path to

RE: 'java' task does not exit

2006-04-03 Thread John Sisson
The spawn attribute runs my primary process without its console log being visible; now you have to run (via ant) a tail program and attach it to the process. I have done this but it is pretty inconvenient as there is a family of 20 or more processes run by my extended NxJava command each with its o

OutOfMemoryError problem

2006-04-03 Thread Konstantinos Karadamoglou
Hello all, I created an ant build file which contains only one target. This is an aggregation of other targets located to other ant build files. The reason of creating the the build file is because I cannot modify the other build files. The target is simple like that: < some properties/>

Javac tasks (when calling from java)

2006-04-03 Thread Oliver Schalch
Hi List, Another Problem... Calling ant from Java (inside a bigger project) Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK Alright, ofcourse the JAVA_HOME are set correct. How could I fix that? Do I have to write

RE: AW: ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME.

2006-04-03 Thread Dick, Brian E.
Use the following command to determine which ant.bat you are executing. for /f %i in ("ant.bat") do echo %~$PATH:i -Original Message- From: Joe Moore [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 8:24 AM To: Ant Users List Subject: Re: AW: ANT_HOME is set incorrectly or ant coul

Re: AW: ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME.

2006-04-03 Thread Joe Moore
Also, is the ant.bat file in your PATH environment variable? You'll need to add %ANT_HOME%\bin to your PATH environment, then your system will be able to find ant.bat. Joe [EMAIL PROTECTED] - Original Message From: [EMAIL PROTECTED] To: user@ant.apache.org Sent: Monday, April 3, 2006

Calling ant targets from Java

2006-04-03 Thread Oliver Schalch
Hi List, I'm trying to bring up my Java app to call targets from *different* build files. I noticed somehow that I need a project.init() call, to initialize all needed stuff, but that will set my projectsfile to build.xml and I need 2 different files. Project project = new Project();