Need help to solve this error

2005-06-28 Thread Mitesh Vora
Hi, I have one question which i want to get resolved.so anyone plz help me if possible. ERROR: "CAN NOT FIND MAIN CLASS.PROGRAM WILL EXIT." I am getting this error while running Build.xml thru JDeveloper. Today morning i executed several BUILD.xml, which was perfect but in one XML i found this e

RE: IDL always re-compiles in build

2005-06-28 Thread Bill Rich
Here is a sample for handling JavaCC that I use. It is similar to what you want for IDL. HTH Bill -Original Message- From: Jeffrey E Care [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 28, 2005 8:31 PM To: Ant Users List Subject: Re: IDL always re-compi

Re: IDL always re-compiles in build

2005-06-28 Thread Jeffrey E Care
You may be able to use the task to set a property & use conditional target execution based on that property. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis David Calkins <[EMAI

xmltask question

2005-06-28 Thread Anand Krishniyer
Hi I have an xml file that has different paths for each file. Something like this "c:/1" "c:/2" "e:/1" "e:/2" "e:/3" I use XmlTask to iteratively get each location for each file (I use "call" to call another target for each location for each file). The pr

IDL always re-compiles in build

2005-06-28 Thread David Calkins
I'm using the JacORB IDL compilation task jacidl. Unfortunately, it recompiles the IDL everytime I initiate a build, despite the IDL not having changed, which of course forces recompilation of the generated Java sources. Is there any way to configure the build file so it won't think it needs

Re: checking out in XP

2005-06-28 Thread Ivan Ivanov
Diana, CVS port number is specified as part of CVSROOT like this: method:[EMAIL PROTECTED]:port:/path_to_repository See [1] for more info. You can also specify the port as an attribute of task[2]. HTH Ivan [1]https://www.cvshome.org/docs/manual/cvs-1.12.12/cvs_2.html#SEC26 [2]http://ant.apache

checking out in XP

2005-06-28 Thread Diana Huang
Hi, I want to check out some files from CVS. My client OS is Win XP. I followed steps provided by Jay (http://marc.theaimsgroup.com/?l=ant-user&m=111703729921054&w=2), which used command line CVS in conjunction with Putty to directly access CVS from Win XP, without the need for CYGWIN. My qu

RE: Need help creating a WAR task

2005-06-28 Thread Dominique Devienne
> From: Paul Goepfert [mailto:[EMAIL PROTECTED] > > I am creating a WAR task in my build.xml file. How do I move two > configuration xml files that are not my web.xml file to my war file? I > would like to have these files in a dir called conf within the WEB-INF > file. I'm no expert, but here

Need help creating a WAR task

2005-06-28 Thread Paul Goepfert
Hi all, I am creating a WAR task in my build.xml file. How do I move two configuration xml files that are not my web.xml file to my war file? I would like to have these files in a dir called conf within the WEB-INF file. -Paul ---

sshexec problem with scripts running "set -x"

2005-06-28 Thread Phillips, Rick
I have a fairly large ant project I'm trying to move from ant 1.5.4 to 1.6.5. The current build (1.5.4) does an exec of the UNIX "scp" and "ssh" commands to deploy the built products to the numerous environments I support. As part of moving to ant 1.6.5, I want to use the ant "scp" and "sshexe

Re: Ant 1.6 API: Can't call War.addZipfileset() from JavaScript

2005-06-28 Thread Lou_Miranda
Ah, Peter, that was it--thanks. I changed my Javascript code to this: // get ahold of the "war" task in the "buildWar" target var buildWarTasks = buildWar.getTasks(); var warTask = null; for (var i = 0; i < buildWarTasks.length; ++i) { var aTask = buil

Re: Ant 1.6 API: Can't call War.addZipfileset() from JavaScript

2005-06-28 Thread Peter Reilly
I do not have time to look into this too much. However the "unknownelement" is due to a difference in timing of converting of xml classes to java tasks from ant 1.5 to ant 1.6. Look at: http://ant.apache.org/faq.html#unknownelement.taskcontainer Your code does something similar: for (var

[solved] Task allows nested mapper but not regexpmapper with handledirsep (was Re: Help with (regexp?) file mapper)

2005-06-28 Thread Emmanouil Batsis
Dominique Devienne wrote: i just defined a project property to use within mappers and that works well. Do you mind describing your solution in more details, to help those who search the mailing list archive? BTW, did you try \${file.separator}? That wouldn't work on my linux box ri

RE: help with subant pleeeeeeease

2005-06-28 Thread hind.lwahhabi
indeed that's what i have done and it works.It seems that i sent the help message too quickly:) thanks for your quick response:) have a nice day all ant users! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tue 6/28/2005 6:57 AM To: user@ant.apache.org Subject