RE: is there any way to cache dependancy information in ANT?

2005-07-15 Thread Shatzer, Larry
If you are using the task, there is a cache attribute. http://ant.apache.org/manual/OptionalTasks/depend.html Or are you talking with ? > -Original Message- > From: hiren patel [mailto:[EMAIL PROTECTED] > Sent: Friday, July 15, 2005 6:01 PM > To: ant user group > Subject: is there any w

is there any way to cache dependancy information in ANT?

2005-07-15 Thread hiren patel
Hi, Ant calcualtes the dependacies between files on the fly. but since this operation will be performed each time, in order to make it fast , is it possible to cache it ? and skip it ? thanks, hiren __ Do You Yahoo!? Tired of spam? Yahoo! Mai

Change permissions on a directory via ftp

2005-07-15 Thread chris.wake
Hi- Can someone please instruct me on how to change the permissions of a directory via ftp? I have no problems creating the directory, transferring the file, or changing the permissions on the file, but I cannot seem to be able to add group write to the directory. Thanks. Chris

SCP Task Error

2005-07-15 Thread Rich Harris
Anyone get this when using the 'scp' task: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Invalid argument or cannot assign requested address ERROR - I've already connected to the desired machine with the desired account manually so the RSA stuff has been added. It's

RE: native2ascii / ANT 1.6.5

2005-07-15 Thread Bill Rich
If you have a classpath set, remove it. Let Ant set the classpath for you. Be sure JAVA_HOME is set properly. The only tools.jar file I have is C:\j2sdk1.4.1_05\lib\tools.jar, I don't have a classpath env var set and it works just fine for me. HTH Bill -Original Message- From: Rich Harri

RE: native2ascii / ANT 1.6.5

2005-07-15 Thread Rich Harris
Hmm...well...tools.jar was in my classpath. It didn't work so I even manually copied into ANT_HOME/lib and it still didn't pick it up. Bummer. -R _ Rich Harris Release/Configuration Engineer [EMAIL PROTECTED] 650-616-6866 Shopping.com(tm), Inc. Find. Compa

RE: how would I perform set intersection or disjunction with filesets?

2005-07-15 Thread Craeg Strong
This is great news. I am looking forward to seeing it in action! Regards, --Craeg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Benson Sent: Thursday, July 14, 2005 6:23 PM To: Ant Users List Subject: Re: how would I perform set intersection or di

Re: nested property names

2005-07-15 Thread jschust1
Quoting Juergen Hermann <[EMAIL PROTECTED]>: > On Fri, 15 Jul 2005 10:18:29 -0500, [EMAIL PROTECTED] wrote: > > or a . > > >The idea being that the property's name is actually a property itself. The > >above line doesn't seem to work in ant, however. Any ideas? > > > Ciao, Jürgen > > > Actual

Re: uptodate help...

2005-07-15 Thread Juergen Hermann
On Fri, 15 Jul 2005 14:27:41 -0400, Mark Lybarger wrote: > (untested) Ciao, Jürgen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: nested property names

2005-07-15 Thread Juergen Hermann
On Fri, 15 Jul 2005 10:18:29 -0500, [EMAIL PROTECTED] wrote: or a . >The idea being that the property's name is actually a property itself. The >above line doesn't seem to work in ant, however. Any ideas? Ciao, Jürgen - T

Re: stripping duplicates in file with

2005-07-15 Thread Juergen Hermann
On Fri, 15 Jul 2005 11:34:46 +0200, Rebhan, Gilbert wrote: Not that I've tried it, but a combo of , , and could do the trick. >i'm parsing the updatelogs from a ClearCase snapshotview with regular >expressions - that works fine, OK >But as i have to parse n logs of one whole day there appear

Re: Creating tasks in Ant for C++ project

2005-07-15 Thread Juergen Hermann
On Fri, 15 Jul 2005 18:32:42 +1200, Simon Kitching wrote: >> >is it easy to create custom tasks in Ant >> with scripting languages, it is easy. >Really?? Writing custom tasks is easy. >Make is essentially a declarative language where the make engine deduces >from the available facts (file ti

uptodate help...

2005-07-15 Thread Mark Lybarger
i'm trying to get an uptodate task working. i'm pretty sure i've got the mapping wrong. my setup is: Web Content/behavior/*.xml Web Content/behavior/compiled/*.xml I need to see if any files in the first folder are newer than their matching file in the "compiled" folder. files.uptodat

Re: Ant 1.5.4: Possible to compile Ant task source files in same build.xml that they are used?

2005-07-15 Thread Jeffrey E Care
Yes, this is certainly possible. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis "Karr, David" <[EMAIL PROTECTED]> wrote on 07/15/2005 12:44:49 PM: > Using Ant 1.5.4, is it possibl

Ant 1.5.4: Possible to compile Ant task source files in same build.xml that they are used?

2005-07-15 Thread Karr, David
Using Ant 1.5.4, is it possible to have a build script with a taskdef that references class files that are built within the build.xml itself? I've decided that the only way I can get XML validation against an XSD is to write the Ant task myself, but at this point I don't want to create a separate p

RE: retrieving project names with subant

2005-07-15 Thread Ivan Ivanov
Hello, --- [EMAIL PROTECTED] wrote: > hi ivan, > It's for user friendliness purpose, typically: > Hello user: here are all the buildable projects, > choose the projects to build blabla... If you want to give the user ability to choose projects to build, note that accepts s[1] as well. So you can

nested property names

2005-07-15 Thread jschust1
I'm working on this project where a properties file is loaded in at the beginning of the buildfile, and some properties are also passed in as command line parameters. The problem is that I need to access a certain property from the file according to a command line parameter. Basically, I want to

[solved] Re: Use JSLint to validate .js files?

2005-07-15 Thread Emmanouil Batsis
Emmanouil Batsis wrote: This is a shot in the dark but i was wondering whether some other disturbed individual has thought about validating javascript files in Ant builds by feeding them to the JSLint [1] script via Rhino or something. Ok, here's a usable draft implementation, hope someo

AW: Basedir attribute in the war task

2005-07-15 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: Petar Tahchiev [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 15. Juli 2005 14:11 >An: user@ant.apache.org >Betreff: Basedir attribute in the war task > >Hello people, >I have the next problem: I want to make a war file from the next file >structure:

Basedir attribute in the war task

2005-07-15 Thread Petar Tahchiev
Hello people, I have the next problem: I want to make a war file from the next file structure: basedir\ |- WEB-INF |-lib |-html |-JSPs |-Other stuff |-src and all I want is to use the war task with basedir attribute set to ${basedir}, but excluding the src directory(it should not appear in the

stripping duplicates in file with

2005-07-15 Thread Rebhan, Gilbert
Hi, i'm parsing the updatelogs from a ClearCase snapshotview with regular expressions - that works fine, OK But as i have to parse n logs of one whole day there appear duplicates in the resulting files i write the parsed filenames into. f.e. /config/productbundles.xml /TestVersions.xml /Read

Re: ANT Vs Cruise Control

2005-07-15 Thread Karunakar Chatla
Thanks a ton. - Original Message - From: "Rebhan, Gilbert" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Friday, July 15, 2005 1:32 PM Subject: RE: ANT Vs Cruise Control Hi, yup Ant is working fine under the hood / with of CruiseControl :) f.e. see documentation http://cruisecontr

RE: ANT Vs Cruise Control

2005-07-15 Thread Rebhan, Gilbert
Hi, yup Ant is working fine under the hood / with of CruiseControl :) f.e. see documentation http://cruisecontrol.sourceforge.net/main/configxml.html#antbootstrapper and http://cruisecontrol.sourceforge.net/main/configxml.html#antpublisher Further recommended reading = the getting started sec

RE: Creating tasks in Ant for C++ project

2005-07-15 Thread hind.lwahhabi
hello hiren; I have just done something similar:basically i use an task to call different compilers for different source code projects. Otherwise u can use the task of ant-contrib project. The make targets will then only have to be translated to ant targets with the correct dependencies.

RE: Problem with SCP

2005-07-15 Thread SMETS Thomas
I got a one to one reply from somebody. My problem came from the fact that the host I was connecting to did have a lot of messages echoed from the .bashrc This was apparently confusing the scp command. \T, > -Original Message- > From: SMETS Thomas [mailto:[EMAIL PROTECTED] > Sent: d

RE: retrieving project names with subant

2005-07-15 Thread hind.lwahhabi
Goog point:) i didn't think of this solution whereas i am passing properties to my subant indeed! -Original Message- From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] Sent: Thu 7/14/2005 6:28 PM To: Ant Users List Subject: RE: retrieving project names with subant according to the manua

RE: retrieving project names with subant

2005-07-15 Thread hind.lwahhabi
hi ivan, It's for user friendliness purpose, typically: Hello user: here are all the buildable projects, choose the projects to build blabla... -Original Message- From: Ivan Ivanov [mailto:[EMAIL PROTECTED] Sent: Thu 7/14/2005 6:29 PM To: Ant Users List Subject: RE: retrieving project nam

AW: ANT Vs Cruise Control

2005-07-15 Thread Jan.Materne
Ant is used for building projects. CC is used for managing the daily build. So it´s more a "ANT + Cruise Control" than a "ANT Vs Cruise Control" :-) Jan >-Ursprüngliche Nachricht- >Von: Karunakar Chatla [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 15. Juli 2005 09:08 >An: Ant Users L

Re: optional tasks and the ant/lib dir

2005-07-15 Thread Stefan Bodewig
On Fri, 15 Jul 2005, Simon Kitching <[EMAIL PROTECTED]> wrote: > Has anyone considered making taskdef use a child-first classloader > in order to avoid having to move the relevant task jar out of the > ant/lib dir? has a deprecated but probably never going to get removed reverseload attribute wh

Re: native2ascii / ANT 1.6.5

2005-07-15 Thread Stefan Bodewig
On Thu, 14 Jul 2005, Rich Harris <[EMAIL PROTECTED]> wrote: > "Could not create task or type of type: native2ascii. > > Ant could not find the task or a class this task relies upon." If you run ant with -verbose it should give you information on which class it fails to find. Does Ant find tools

ANT Vs Cruise Control

2005-07-15 Thread Karunakar Chatla
Hi, I am at the stage where I have to make a decision wether to use ANT or Cruise Control in our project. I got ample information about ANT but I am don't have much information on Cruise Control. I didn't find the Cruise Control home page(http://cruisecontrol.sourceforge.net/) that useful. Can a