Possible reasons for failing to find XJC task class

2011-10-10 Thread KARR, DAVID
I work with two groups who are both importing a build script written by our team. The imported build script has a "taskdef" to define the "xjc2" task, using "com.sun.tools.xjc.XJCTask". Below that, there is a target that references the "xjc2" task. The taskdef looks like this:

Re: Ant output to console by running Java program

2011-10-10 Thread adak
Thanks Stefan for your comments. I am going to try using a logger (although I have never used one before). Also with regards to the output to console, I was talking about getting java output to eclipse console. Also I forgot to mention that I will be needing to send certain parameters to ant scri

Re: Ant output to console by running Java program

2011-10-10 Thread Stefan Bodewig
On 2011-10-10, adak wrote: > Hi.I am new to Ant, so please tolerate. I am using eclipse and ant 1.8.2 I'm not an Eclipse user myself so I can't help with the details, sorry. > I am trying to write a Java program (which uses Ant API) that checks if > build.xml exists, then sets up project, target

Re: bug Hello World tutorial. Integration with JUnit

2011-10-10 Thread Stefan Bodewig
On 2011-10-10, Leandro Coutinho wrote: > I don't understand why you can't update there. The website shows the documentation that shipped with the latest release. Actually, I'm not sure this is a conscious choice. Maybe nobody has questioned this policy lately. > So does the (bug) tutorial run

Re: bug Hello World tutorial. Integration with JUnit

2011-10-10 Thread Leandro Coutinho
Hi Stefan. Thanks for your reply. I tell what the problem was. It's explained in the second link. Sorry for not be too verbose. I don't understand why you can't update there. So does the (bug) tutorial run fine with Ant latest version? I'm running Ant version 1.8.0 On Mon, Oct 10, 2011 at 6:45 AM,

Ant output to console by running Java program

2011-10-10 Thread adak
Hi.I am new to Ant, so please tolerate. I am using eclipse and ant 1.8.2 I am trying to write a Java program (which uses Ant API) that checks if build.xml exists, then sets up project, target, and echoes a message. Q1)I am running the Java program, I can get the output from this in console but

Re: bug Hello World tutorial. Integration with JUnit

2011-10-10 Thread Stefan Bodewig
On 2011-10-09, Leandro Coutinho wrote: > http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html It would have helped if you told us what the problem was 8-) The build file created during the tutorial relies on some old behavior of Ant that elements with ids where available to be used with