swedish sessions

2005-02-03 Thread Andy Kriger
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How can I execute Ant targets from within a Java program?

2005-01-24 Thread Andy Kriger
l"));" instead of "ph.parse(p, new > File("build-test.xml"));" > > Best Regards, > > Praful Aggarwal > [EMAIL PROTECTED] > Ph : +353-1-6659256 > > "There are only 10 types of people in the world. Those that understand > Binary, a

Re: How can I execute Ant targets from within a Java program?

2005-01-24 Thread Andy Kriger
le to make this project publicly available sometime soon. -a On Mon, 24 Jan 2005 20:21:45 -0500, Andy Kriger <[EMAIL PROTECTED]> wrote: > Voila! That worked. > Guess I'll file a bug with the Ant team and see what happens. > Thank you all for the ideas. > > So, once you hav

Re: How can I execute Ant targets from within a Java program?

2005-01-23 Thread Andy Kriger
2:22 -0800, Alexey N. Solofnenko <[EMAIL PROTECTED]> wrote: > You need to set ant.home Java property, not the environment variable, if > you want to launch ANT yourself. > > - Alexey. > > Andy Kriger wrote: > > >I am playing around with executing Ant targets

Re: How can I execute Ant targets from within a Java program?

2005-01-23 Thread Andy Kriger
. thx for your help so far andy On Sun, 23 Jan 2005 18:27:24 -0500, Andy Kriger <[EMAIL PROTECTED]> wrote: > Of course, always break it down. > > Without the import statement, my code does work - I can get > information about targets. When I try to execute a target however (a

Re: How can I execute Ant targets from within a Java program?

2005-01-23 Thread Andy Kriger
that imports other Ant scripts? On Sun, 23 Jan 2005 21:16:30 +0100, Maik Dobryn <[EMAIL PROTECTED]> wrote: > Andy, > > what if You try to keep the buildfile as simple as possible? Then, step by > step You add more complexity like imports etc. > > Maik > > >

Re: How can I execute Ant targets from within a Java program?

2005-01-23 Thread Andy Kriger
You sure about the presence of both, the base directory and the default > target definition in Your build.xml file? > > For example: > > > > Maik > > > On Sunday 23 January 2005 19:38, Andy Kriger wrote: > > I added in p.init() and now I get during t

Re: How can I execute Ant targets from within a Java program?

2005-01-23 Thread Andy Kriger
+0100, Maik Dobryn <[EMAIL PROTECTED]> wrote: > > Hi Andy, > > On Sunday 23 January 2005 15:37, Andy Kriger wrote: > > > >public static void main(String[] args) { > > ProjectHelper ph = ProjectHelper.getProjectHelper(); > > Project p =

How can I execute Ant targets from within a Java program?

2005-01-23 Thread Andy Kriger
I am playing around with executing Ant targets from Java code. Here's what I am trying to do (based on what I've seen in mailing list posts)... public static void main(String[] args) { ProjectHelper ph = ProjectHelper.getProjectHelper(); Project p = new Proj