Re: Referencing file inside Jar file from fileset

2009-11-02 Thread Stefan Bodewig
On 2009-11-03, Steve Kennedy wrote: > Is it possible to include a file that already exists inside a JAR? Not using , but using (a JAR is a ZIP file after all). Another alternative would be but it doesn't support wildcard matching. > m using a task (hibernatetool) that takes a set of XML file

Re: Ant build script executing task using java code

2009-11-02 Thread Jay
Just FYI, I debugged the code by adding the Project class, didn't notice any exception. But still nothing gets printed out after the executeTarget method call is completed. Thanks -J On Mon, Nov 2, 2009 at 4:34 PM, Martin Gainty wrote: > > any way to take a look at the code for executeTarget >

Re: Ant build script executing task using java code

2009-11-02 Thread Jay
Hi Martin, I'm using the execute method from the class org.apache.tools.ant.Project. Thanks Jay On Mon, Nov 2, 2009 at 4:34 PM, Martin Gainty wrote: > > any way to take a look at the code for executeTarget > project.executeTarget(taskName);? > Martin Gainty > __

RE: Ant build script executing task using java code

2009-11-02 Thread Martin Gainty
any way to take a look at the code for executeTarget project.executeTarget(taskName);? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfae

Ant build script executing task using java code

2009-11-02 Thread Jay
Hi, When I tried to execute a sql task during server start up using a java code, it completely freezes the app server disabling the users making any further request. Here is the sample code i have (this is a standalone java code in which nothing gets printed after the call to execute the speci

Referencing file inside Jar file from fileset

2009-11-02 Thread Steve Kennedy
Is it possible to include a file that already exists inside a JAR? m using a task (hibernatetool) that takes a set of XML files to generate a database schema, however some of the XML files are contained in 3rd party JAR files. I have a fileset like this: Which works fine for my hom

Re: task not accepting relative path

2009-11-02 Thread Robert Anderson
You need to use the wildcard in the includes attribute like this... I have tested that this works with the following... After running this target, all the files in **/Capital have an been touched. -Rob Anderson On Sat, Oct 31, 2009 at 11:06 AM, cvsusr wr

Re: macro scoping as private

2009-11-02 Thread Francis GALIEGUE
On Mon, Nov 2, 2009 at 12:12, Raja Nagendra Kumar wrote: > > Hi, > > Is it possible to make a macro private.. meaning, the macro could be called > by other ant script with in the same xml file.. and not be called by any > other script defined else where and imported using task. > > I understand a

macro scoping as private

2009-11-02 Thread Raja Nagendra Kumar
Hi, Is it possible to make a macro private.. meaning, the macro could be called by other ant script with in the same xml file.. and not be called by any other script defined else where and imported using task. I understand ant is close to C's functional approach..but not sure if there is a way