Re: Ant decomment task problem

2006-11-06 Thread Venkatesh Babu
Hello Peter, Thanks for your suggestion The works for me Regards, Venkatesh - Original Message From: Peter Reilly <[EMAIL PROTECTED]> To: Ant Users List Sent: Monday, November 6, 2006 10:44:52 PM Subject: Re: Ant decomment task problem On 11/6/06, Shatzer, Larry <[EMAIL PROTECT

Re: FileNotFound exception and source code

2006-11-06 Thread Antoine Levy-Lambert
O'Shea, Sean wrote: > Hi all, > > I'm using ant 1.6.5 and I'm having some trouble debugging through ANT > code in my IDE. > > I'm trying to call ant through Java using the following code: > > String l_major = getMajorVersion(); > String l_minor = getMinorVersion(); > Project

Re: Ant "available" task

2006-11-06 Thread Antoine Levy-Lambert
Hello Chun, a class cannot be loaded if : - the class itself is not in the classpath, - a parent class or interface of the class is not in the classpath, - a field of the class is not in the classpath, so have a look at the source code of the class which cannot be loaded, Regards, Antoine Chun Ji

Ant "available" task

2006-11-06 Thread Chun Ji
Hi all, does "Available" only works for some selected packages only ? I want to set a property depends on the availablity of a class. No matter what I did, it always tells me that the class could not be loaded. But this task works perfect for other packages, of the same classpath. Does someon

Re: AntUnit: pass parameters to a xxx-test.xml?

2006-11-06 Thread Stefan Bodewig
On Mon, 6 Nov 2006, Stefano Marsili <[EMAIL PROTECTED]> wrote: > Hi, I'd like to use ant-unit in my test cases and wondered if there > is a way to pass parameters (as properties?) to an "xxx-test.xml". The AntUnit task supports a nested propertyset, this is what you'd use. Stefan --

FileNotFound exception and source code

2006-11-06 Thread O'Shea, Sean
Hi all, I'm using ant 1.6.5 and I'm having some trouble debugging through ANT code in my IDE. I'm trying to call ant through Java using the following code: String l_major = getMajorVersion(); String l_minor = getMinorVersion(); Project l_antProject = new Project();

[ANN] Apache .NET Ant Library 1.0

2006-11-06 Thread Stefan Bodewig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Apache .NET Ant Library combines tasks to support development for the .NET platform using Apache Ant. In addition to the well known tasks that were already part of Ant 1.6.5 this library provides tasks to run NAnt, NUnit or MSBuild from Ant. The

Re: Referencing another build file

2006-11-06 Thread Daniel Blaukopf
Use a propertyset with a mapper: and then refer to the parent's dist.dir as ${parent.dist.dir} alternatively, just override the specific property: Daniel David Bates wrote: > I'm using Ant within Netbeans. I have two projects: ProjectA and > ProjectB. ProjectA is depend

Re: Ant decomment task problem

2006-11-06 Thread Peter Reilly
On 11/6/06, Shatzer, Larry <[EMAIL PROTECTED]> wrote: Decomment is not a core ant task, you will have to ask the author of that task for help. http://andariel.uworks.net/ I noticed this comment in the javadoc Warning!! The decomment process uses regular expressions. There's not a syntactic ana

RE: Ant decomment task problem

2006-11-06 Thread Shatzer, Larry
Decomment is not a core ant task, you will have to ask the author of that task for help. http://andariel.uworks.net/ I noticed this comment in the javadoc Warning!! The decomment process uses regular expressions. There's not a syntactic analysis, so there might be unexpected results if there are

Referencing another build file

2006-11-06 Thread David Bates
I'm using Ant within Netbeans. I have two projects: ProjectA and ProjectB. ProjectA is dependant upon ProjectB. I'm trying to write a new task which will copy the JAR produced by each project onto my web server. The problem I am having is that I can't find a nice way to refer to the location of

Ant decomment task problem

2006-11-06 Thread Venkatesh Babu
Hello All, I'm using the decomment task, to decomment my JavaScript files. There seems to be problem in that: it is removing // characters present inside strings. For ex: I have a function where I'm constructing URL: function f1() { var url = "http://"; ; } the decomment task is removi

Copy not finished in time

2006-11-06 Thread vandenberget
Hi, Before compiling my sources, I copy a number (20) of jar files from a network drive to my local drive, using the "copy" task. I need these jar file for compilation, and I want them locally, to avoid excessive network traffic during compilation. The problem is that when the compilation begi

AntUnit: pass parameters to a xxx-test.xml?

2006-11-06 Thread Stefano Marsili
Hi, I'd like to use ant-unit in my test cases and wondered if there is a way to pass parameters (as properties?) to an "xxx-test.xml". I'd use it to import a file containing all the data needed by the test(s), without having to locate it with a relative path like "../../../common.xml". In my "buil