Re: Ant API

2009-11-26 Thread Robert Anderson
- > From: LukeS [mailto:luke.shan...@gmail.com] > Sent: Thursday, November 26, 2009 4:50 PM > To: user@ant.apache.org > Subject: Re: AW: Ant API > > /* > Based on your answer and the one previous I might do CVS and SVN > integration > with APIs rather than Ant. However I sti

RE: Ant API

2009-11-26 Thread Rebhan, Gilbert
-Original Message- From: LukeS [mailto:luke.shan...@gmail.com] Sent: Thursday, November 26, 2009 4:50 PM To: user@ant.apache.org Subject: Re: AW: Ant API /* Based on your answer and the one previous I might do CVS and SVN integration with APIs rather than Ant. However I still feel

Re: AW: Ant API

2009-11-26 Thread LukeS
nt as library you should have a oata.Project instance given to > the tasks. Many problems > occur because this is not present. > > > Jan > >>-Ursprüngliche Nachricht- >>Von: LukeS [mailto:luke.shan...@gmail.com] >>Gesendet: Donnerstag, 26. November

AW: Ant API

2009-11-25 Thread Jan.Materne
>-Ursprüngliche Nachricht- >Von: LukeS [mailto:luke.shan...@gmail.com] >Gesendet: Donnerstag, 26. November 2009 04:12 >An: user@ant.apache.org >Betreff: Re: Ant API > > >Thank you. > >I will check out this API. On my list of things to support >are: SVN, SCP, >

Re: Ant API

2009-11-25 Thread LukeS
; > On Wed, Nov 25, 2009 at 8:58 AM, LukeS wrote: > >> >> I'm interested in embedding Ant into an application and would like to use >> the >> Ant api. >> >> I want to do this because there are a few tasks I want to perform (CVS >> integ

Re: Ant API

2009-11-25 Thread Robert Anderson
nd would like to use > the > Ant api. > > I want to do this because there are a few tasks I want to perform (CVS > integration, connecting to DB) and it seems like it it would be easier to > call Ant to do this: > > http://api.dpml.net/ant/1.7.0/index.html?overview-summary.

Ant API

2009-11-25 Thread LukeS
I'm interested in embedding Ant into an application and would like to use the Ant api. I want to do this because there are a few tasks I want to perform (CVS integration, connecting to DB) and it seems like it it would be easier to call Ant to do this: http://api.dpml.net/ant/1.7.0/index

Java Memory Error when invoking programmatically Ant API

2009-08-22 Thread Daniele Development-ML
out that this problem can be solved by setting the fork attribute to true, when using the javac task in the conventional way (i.e. using the build.xml file, and not invoking the Ant API programmatically). I'm browsing the API but I can't find a way to set this attribute - providing it

Re: scriptdef unable to load an Ant API class

2009-01-03 Thread Mitch Gitman
Well, I didn't need to do this after all. But I do think I have my answer, and it makes me feel embarrassed at even having asked the question since this goes back to basic Java mechanics. I can't refer to that class because, within Javadoc.java, it's specified as: public class TagArgument And not

scriptdef unable to load an Ant API class

2009-01-02 Thread Mitch Gitman
I have a *scriptdef *to do some customization of the *javadoc *Ant task. What I want to do is pass to the *scriptdef *a tag element precisely like the tag element that can be a child of the javadoc task element. The class that corresponds to the tag element is *Javadoc.TagArgument*. Below is the r

NullPointerException using Javac() from ant API

2008-04-15 Thread paoletto
Hello, I'm new to ant api. i would like to compile a source from my application, and i wrote the method below. When i execute it, i get a NullPointerException at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:807) where it says: File srcDir = getProject().resolveFile(list[i]); (it

AW: ant api for analyzing dependencies

2008-03-26 Thread Jan.Materne
t.apache.org > Betreff: ant api for analyzing dependencies > > Hello, good folks. > I need to resolve dependencies of my project. > Can ant analyze dependencies of source files? Or it is only > for class files? > Anyway i tried using it: > --- > public stat

ant api for analyzing dependencies

2008-03-21 Thread Slava Gonahchan
Hello, good folks. I need to resolve dependencies of my project. Can ant analyze dependencies of source files? Or it is only for class files? Anyway i tried using it: --- public static AntAnalyzer analyzer=new AntAnalyzer(); ... analyzer.addRootClass("org.apache.tools.ant.types.

Re: calling ant API from java instead of using build.xml from console

2006-01-05 Thread Dieter Frej
[mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 January 2006 3:42 AM To: Ant Users List Subject: Re: calling ant API from java instead of using build.xml from console I would be interested in looking at that code You can checkout sources from: svn checkout svn://svn.berlios.de/dpml/trunk

RE: calling ant API from java instead of using build.xml from console

2006-01-03 Thread Stephen McConnell
> -Original Message- > From: Mark Russell [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 4 January 2006 3:42 AM > To: Ant Users List > Subject: Re: calling ant API from java instead of using > build.xml from console > > I would be interested in looking at that

Re: calling ant API from java instead of using build.xml from console

2006-01-03 Thread Mark Russell
your interested I can point you to code that does the above. Cheers, Steve. -Original Message- From: Dieter Frej [mailto:[EMAIL PROTECTED] Sent: Monday, 2 January 2006 6:45 PM To: user@ant.apache.org Subject: calling ant API from java instead of using build.xml from console Hi, I would

RE: calling ant API from java instead of using build.xml from console

2006-01-03 Thread Stephen McConnell
Steve. > -Original Message- > From: Dieter Frej [mailto:[EMAIL PROTECTED] > Sent: Monday, 2 January 2006 6:45 PM > To: user@ant.apache.org > Subject: calling ant API from java instead of using build.xml > from console > > Hi, > > I would like to call

calling ant API from java instead of using build.xml from console

2006-01-02 Thread Dieter Frej
Hi, I would like to call ant (1.6.5) from java (1.5.0_04-b05), but I am a little puzzled with all createXYZ, addXYZ, init, and execute methods and in which order they should be called. I wrote it the following way: Project project = new Project(); XmlLogger xlog = new XmlLogger(); project.add

Re: Ant Api usage problems

2004-02-24 Thread Antoine Lévy-Lambert
Hugo Costa wrote: Hi, I'm having problems using some optional tasks of the Ant Api. The error is always the same, so i must be doing something wrong. I'm starting in java as well, as you can see... On example of what i'm doing is this, just trying to login to my own ftp. I'm