Re: Does Ant improves the performance in large c++ project than make?

2005-07-14 Thread Simon Kitching
On Fri, 2005-07-15 at 08:19 +0200, Juergen Hermann wrote: > On Thu, 14 Jul 2005 17:45:13 -0700, Alexey N. Solofnenko wrote: > > >It is quite possible. With make it is usually one file at a time > >compilation. ANT is smart enough to request a build for several files at > >a time. > > BTW, it so

Re: Creating tasks in Ant for C++ project

2005-07-14 Thread Simon Kitching
On Fri, 2005-07-15 at 08:17 +0200, Juergen Hermann wrote: > On Thu, 14 Jul 2005 17:32:54 -0700 (PDT), hiren patel wrote: > > >is it easy to create custom tasks in Ant to achieve the functionaly as > provided by make ? > >I want to move from make to ANT , so do you have an idea that what it ta

Re: Does Ant improves the performance in large c++ project than make?

2005-07-14 Thread Juergen Hermann
On Thu, 14 Jul 2005 17:45:13 -0700, Alexey N. Solofnenko wrote: >It is quite possible. With make it is usually one file at a time >compilation. ANT is smart enough to request a build for several files at >a time. BTW, it sounds as if ccache and/or distributed compiling (ccdist I think) is a be

Re: Creating tasks in Ant for C++ project

2005-07-14 Thread Juergen Hermann
On Thu, 14 Jul 2005 17:32:54 -0700 (PDT), hiren patel wrote: >is it easy to create custom tasks in Ant to achieve the functionaly as provided by make ? >I want to move from make to ANT , so do you have an idea that what it takes to convert the >existing makefile to Ant files? with scriptin

AW: ant task and Ant options

2005-07-14 Thread Jan.Materne
Long time not used, but maybe that helps: Jan >-Ursprüngliche Nachri

optional tasks and the ant/lib dir

2005-07-14 Thread Simon Kitching
Hi, I noticed the thread re junit and ftp tasks recently, and also had to deal with this myself to use junit task recently. 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? It is also possible to wr

RE: Creating tasks in Ant for C++ project

2005-07-14 Thread Shatzer, Larry
I would look at ant-contrib's task: http://ant-contrib.sourceforge.net/cc.html > -Original Message- > From: hiren patel [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 14, 2005 5:33 PM > To: ant user group > Subject: Creating tasks in Ant for C++ project > > > Hi, > is it easy to

native2ascii / ANT 1.6.5

2005-07-14 Thread Rich Harris
When using it I get this: "Could not create task or type of type: native2ascii. Ant could not find the task or a class this task relies upon." And a bunch of other verbose stuff. ant-nodeps.jar comes in the /lib dir of that version of ANT and contains: 237 06-02-05 15:12 org/apache/t

Re: Does Ant improves the performance in large c++ project than make?

2005-07-14 Thread Alexey N. Solofnenko
It is quite possible. With make it is usually one file at a time compilation. ANT is smart enough to request a build for several files at a time. - Alexey. hiren patel wrote: Hi, We are having a large,multi platform,complex,commercial C++ project which is build by using a make peer PVCS mer

Re: Does Ant improves the performance in large c++ project than make?

2005-07-14 Thread Simon Kitching
On Thu, 2005-07-14 at 17:27 -0700, hiren patel wrote: > Hi, > We are having a large,multi platform,complex,commercial C++ project which is > build by > using a make peer PVCS merant make. In oreder to tailor the functionality of > make, we have created the wrapper around it. > > Around 700 of

Creating tasks in Ant for C++ project

2005-07-14 Thread hiren patel
Hi, is it easy to create custom tasks in Ant to achieve the functionaly as provided by make ? I want to move from make to ANT , so do you have an idea that what it takes to convert the existing makefile to Ant files? thanks, hiren - St

Does Ant improves the performance in large c++ project than make?

2005-07-14 Thread hiren patel
Hi, We are having a large,multi platform,complex,commercial C++ project which is build by using a make peer PVCS merant make. In oreder to tailor the functionality of make, we have created the wrapper around it. Around 700 of make files in hierarchy with some top level makefiles are used by

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

2005-07-14 Thread Matt Benson
Hi Craeg: I guess nobody from the dev side has answered this so as not to steal my thunder. Ant CVS HEAD contains initial support for a ResourceCollection interface which will be implemented by FileSet etc. Additionally set logic such as you describe will be supported. These changes are plan

Uptodate task documentation confusing

2005-07-14 Thread Ninju Bohra
Hello all, First time working with the task and I think there is a problem with the doc (v1.6.2 docs) and I just want to make sure I am reading the docs correctly. First off, at the to of the docs for the task the following paragraph: By default, the value of the property is set to true if the

RE: Where from can i donwload catalina-ant.jar?

2005-07-14 Thread RADEMAKERS Tanguy
it ships with tomcat. >-Original Message- >From: Nir Geier [mailto:[EMAIL PROTECTED] >Sent: Thursday, July 14, 2005 8:44 PM >To: Ant Users List >Subject: Where from can i donwload catalina-ant.jar? > >Where from can i donwload catalina-ant.jar? > >

RE: Where from can i donwload catalina-ant.jar?

2005-07-14 Thread Nir Geier
I can find it any where unless i download Tomcat. Is there any other way to download this library ? -Original Message- From: Nir Geier [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 8:44 PM To: Ant Users List Subject: Where from can i donwload catalina-ant.jar? Where from can i

Where from can i donwload catalina-ant.jar?

2005-07-14 Thread Nir Geier
Where from can i donwload catalina-ant.jar? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Ant 1.5.4: XML validation against XSD possible in v1.5.4?

2005-07-14 Thread Karr, David
Ok, well, I guess I answered the question for myself about whether it's directly available in 1.5.4. The nested "attribute" element isn't legal in 1.5.4. So, if I'm limited to Ant 1.5.4, what's the best way to validate XML against XSD in Ant? > -Original Message- > From: Karr, David > S

Ant 1.5.4: XML validation against XSD possible in v1.5.4?

2005-07-14 Thread Karr, David
When I google for info about validating XML against XSD in Ant, I find the docs for "xmlvalidate" for the latest Ant release. When I look in the docs for the Ant release that I'm limited to (1.5.4), the docs for "xmlvalidate" don't mention the example of validating against a schema. Is the ability

RE: retrieving project names with subant

2005-07-14 Thread RADEMAKERS Tanguy
according to the manual, you can pass a nested to the subant task. You could use this to propagate your own build name property down the tree. Main project name is ${ant.project.name} Sub project name is ${ant.project.name}

RE: retrieving project names with subant

2005-07-14 Thread Ivan Ivanov
Hello, it just occurred to me that ant build scripts are XML files (I am a genius, aren't I :) ), so you can use [1] to extract the name attribute of project node: Main project name is ${ant.project.name} ${project.name} So it is possible, but clumsy

RE: retrieving project names with subant

2005-07-14 Thread hind.lwahhabi
thanks ivan. I was aware of the ${ant.project.name}property, but indeed i want the names of all sub projects in my main ant files that iterates through these projects. -Original Message- From: Ivan Ivanov [mailto:[EMAIL PROTECTED] Sent: Thu 7/14/2005 5:34 PM To: Ant Users List Subject: R

Re: retrieving project names with subant

2005-07-14 Thread Ivan Ivanov
Hello, --- [EMAIL PROTECTED] wrote: > > hello gentle people; > is there a way to retrieve the names of the project > being run when using subant? The name of the currenr project is stored in the built-in property ant.project.name. So you can use something like this: Main project na

RE: using tstamp to time a macro execution

2005-07-14 Thread William Louth
Hi, JXInsight an extensible profile, trace and application monitoring solution provides support for tracing and profiling of Ant projects, targets, tasks with an special extension for JUnit tasks. More information: http://www.jinspired.com/products/jdbinsight/antjunittracing.html Regards, Will

retrieving project names with subant

2005-07-14 Thread hind.lwahhabi
hello gentle people; is there a way to retrieve the names of the project being run when using subant? I am using subant a simple fileset that searches all the directories containing build.xml and run the specific projects found. This message is for the designated recipient only and may contain

Re: using tstamp to time a macro execution

2005-07-14 Thread Mark Lybarger
THanks Larry, using the prefix worked nicely: http://compiler.run.classpath.id/> "> Completed Compile of @{projectDir} At: [EMAIL PROTECTED] On 7/14/05, Shatzer, Larry <[EMAIL PROTECTED]> wrote: > > You can put a prefix on the so you can have two tstamp > properties. > and one

RE: using junit task

2005-07-14 Thread RADEMAKERS Tanguy
Marc, Check out the thread titled "storing optional (ftp) task jar dependency under my project instead of under /ant/lib" posted this tuesday by Asle Pedersen (and esp. the answer by Ivan Ivanov) /t >-Original Message- >From: Mark Lybarger [mailto:[EMAIL PROTECTED] >Sent: Thursday, July

RE: using tstamp to time a macro execution

2005-07-14 Thread Shatzer, Larry
You can put a prefix on the so you can have two tstamp properties. and one with a prefix of end. Then you can use ${start.BUILD_TIMESTAMP} and ${end.BUILD_TIMESTAMP} > -Original Message- > From: Mark Lybarger [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 14, 2005 7:24 AM > To: Ant Us

using junit task

2005-07-14 Thread Mark Lybarger
i'm wondering if there's a way to use the junit task without having to put a junit.jar into the ant/lib folder? can i use a taskdef and define the junit task externally?

Re: using tstamp to time a macro execution

2005-07-14 Thread Mark Lybarger
thanks for the suggestion, but i'm not sure i can introduce ant-contrib tasks. On 7/14/05, Shatzer, Larry <[EMAIL PROTECTED]> wrote: > > Ant-contrib has a stopwatch task: > http://ant-contrib.sourceforge.net/tasks/tasks/stopwatch_task.html > > You also might want to look at their performance mo

RE: get task problem : solved

2005-07-14 Thread hind.lwahhabi
Fool me:) Thanks it works!(i ran it at home and forgot to change firewall options when coming to the office). thanks again. -Original Message- From: Burgess, Benjamin [mailto:[EMAIL PROTECTED] Sent: Thu 7/14/2005 3:16 PM To: Ant Users List Subject: RE: get task problem Looks like mayb

RE: using tstamp to time a macro execution

2005-07-14 Thread Shatzer, Larry
Ant-contrib has a stopwatch task: http://ant-contrib.sourceforge.net/tasks/tasks/stopwatch_task.html You also might want to look at their performance monitor: http://ant-contrib.sourceforge.net/tasks/tasks/performance_monitor.html > -Original Message- > From: Mark Lybarger [mailto:[EMAIL

using tstamp to time a macro execution

2005-07-14 Thread Mark Lybarger
I currently have a macro definition like so: http://compiler.run.classpath.id>"> Completed Compile of @{projectDir} At: ${BUILD_TIMESTAMP} the issue is that when i call it twice, i get the same time stamp output. this is b/c properties are immutable. it'd be nice to be able to time

RE: get task problem

2005-07-14 Thread Burgess, Benjamin
Looks like maybe you are behind a proxy so it cant find www.ibiblio.org ? Maybe try settings ANT_OPTS -Dhttp.proxyHost=YOUR_PROXY -Dhttp.proxyPort= Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 7:58 AM To: user@ant.apache.org S

Problem with SCP

2005-07-14 Thread SMETS Thomas
Dear, I manage to ssh to a host and execute commands on the host but it seems I cannot do "scopy" to that same host. The out come of it is as follows : copy: [sshexec] Connecting to host:22 [sshexec] Classpath found.. [scp] Connecting to host:

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

2005-07-14 Thread Ramnish Kalsi
I am not an ant expert, but how about this: a) Copy both the filesets into a directory, b) Sync the copied directory to one of the filesets, and you will be left with an intersection. the target sync need ant >1.6 description

Re: Using task Javac programmatically - how to add compilerarg line

2005-07-14 Thread Conor MacNeill
You have to think like Ant. Ant looks for addXXX and createXXX methods. So look in Javac.java and you will find: public ImplementationSpecificArgument createCompilerArg() So call that and then configure the resulting object - i.e call setValue(), setLine(), whatever you want to do. Conor Marti

FW: get task problem

2005-07-14 Thread hind.lwahhabi
-Original Message- From: Lwahhabi, Hind Sent: Thu 7/14/2005 1:55 PM To: Ant Users List Subject: get task problem Hello gentle people, oSome nice guy resolved a bug in the ant-contrib project and i am tryring to rebuild the ant-contrib jar with the classes modified; £When running the

Re: Using task Javac programmatically - how to add compilerarg line

2005-07-14 Thread Martin Burger
Petar Tahchiev schrieb am 14.07.2005 13:05: You can always use the directive. But how to add that directive programmatically (via instance of org.apache.tools.ant.taskdefs.Javac)? Regards, Martin - To unsubscri

Re: Using task Javac programmatically - how to add compilerarg line

2005-07-14 Thread Petar Tahchiev
On 7/14/05, Martin Burger <[EMAIL PROTECTED]> wrote: > > Hello! > > I want to use the Javac task programmatically. After getting my feet wet > while reading a lot of source code I managed to set all attributes and > execute the task successfully - expect one: > > How can I add a compilerarg line

Use JSLint to validate .js files?

2005-07-14 Thread Emmanouil Batsis
Hello, 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. I have never done anything remotely close so any suggestions would be app

Using task Javac programmatically - how to add compilerarg line

2005-07-14 Thread Martin Burger
Hello! I want to use the Javac task programmatically. After getting my feet wet while reading a lot of source code I managed to set all attributes and execute the task successfully - expect one: How can I add a compilerarg line to the Javac task? I haven't found a proper method to add someth

RE: Must-see for all ant beginners

2005-07-14 Thread hind.lwahhabi
the same: use your local compiler with an task and even better: wrap it all in a task. -Original Message- From: Paul Munsey (pmunsey) [mailto:[EMAIL PROTECTED] Sent: Wed 7/13/2005 7:44 PM To: 'Ant Users List'; 'JS developer' Subject: RE: Must-see for all ant beginners Karunakar, I'm