Re: Only the fist tag is executed

2009-01-28 Thread Scot P. Floess
Based on your output, it looks like you only invoked ant... As the default target is init...only init will run... Assuming no targets listed on the command line... On Wed, 28 Jan 2009, Niklas Johansson wrote: Hello, Just solved one problem and yet another comes up. When I run the build.x

Re: Only the fist tag is executed

2009-01-28 Thread Gabor Maghera
When you are doing the runs where only init runs, do you invoke ant without any arguments? Init is your default target, as defined here: If you want to execute the full chain, run "ant copy". That copy target will call the other ones as defined in the depends attribute of the targets. You

Only the fist tag is executed

2009-01-28 Thread Niklas Johansson
Hello, Just solved one problem and yet another comes up. When I run the build.xml file it only executes the first tag (init). And as you can see in my debug info below only "init" is executed. It jumps the "compile" and "copy" tags. Anyone that can let me know what I am doing? When I am co

RE: Ant causes huge freezes in Eclipse

2009-01-28 Thread Brown, Carlton
I found the following relevant bugs... Please vote for them if you are experiencing Eclipse freezes like this... https://bugs.eclipse.org/bugs/show_bug.cgi?id=208463 (2007) https://bugs.eclipse.org/bugs/show_bug.cgi?id=256260 (2008) -Original Message- From: Brown, Carlton [mailto:carlton

RE: Strange problem: "Could not find file" - but it's for sure there

2009-01-28 Thread Niklas Johansson
Hello, I solved the problem. Don't know if I am clumpsy (but I guess...). This was the situatione: In the directory where the flytta.txt file should reside following files were present: flytta.txt build.xml And they were presented as above. I decided to create a new flytta.txt from scr

RE: Ant causes huge freezes in Eclipse

2009-01-28 Thread Brown, Carlton
Thanks for your reply. I tried disabling those preferences, and none of them seemed to control this behavior. -Original Message- From: Darin Swanson [mailto:darin_swan...@us.ibm.com] Sent: Wednesday, January 28, 2009 12:53 PM To: Ant Users List Subject: Re: Ant causes huge freezes in Ec

Re: Ant causes huge freezes in Eclipse

2009-01-28 Thread Darin Swanson
You can file the bug against Eclipse Platform Ant at https://bugs.eclipse.org/bugs/enter_bug.cgi but from memory I am pretty sure this issue is already logged but don't hesitate to do a quick check and file away. I would suggest trying turning off some of the preferences to see if you can squee

Ant causes huge freezes in Eclipse

2009-01-28 Thread Brown, Carlton
I have noticed that when using the Ant editor in Eclipse, occasionally I get huge freezes (30 seconds or more). With the help of my trusty packet sniffer, I have traced this to the fact that my Ant script has references to a networked filesystem. It seems that when I'm not running the build fil

RE: AntUnit

2009-01-28 Thread ext-simon.steiner
Hi, The listener needs to know what targets are being executed so having the log output is no help. Thanks > -Original Message- > From: ext Stefan Bodewig [mailto:bode...@apache.org] > Sent: 28 January 2009 16:16 > To: user@ant.apache.org > Subject: Re: AntUnit > > On 2009-01-28, wrote

Re: AntUnit

2009-01-28 Thread Stefan Bodewig
On 2009-01-28, wrote: > We are testing something that requires the listener to be > running. Listeners don't seem to run when calling antunit This is true. The project instance running the AntUnit test target doesn't have any BuildListeners attached to it (other than AntUnit's own listeners, th

RE: AntUnit

2009-01-28 Thread ext-simon.steiner
Hi, We are testing something that requires the listener to be running. Listeners don't seem to run when calling antunit or . Thanks > -Original Message- > From: ext Stefan Bodewig [mailto:bode...@apache.org] > Sent: 28 January 2009 13:29 > To: user@ant.apache.org > Subject: Re: AntUnit

Re: (Default) classpath for typedef

2009-01-28 Thread rparree
Stefan, I will do that. I thinks the attachment is also available at: http://www.nabble.com/file/p21704699/diagnostics tx Stefan Bodewig wrote: > > On 2009-01-28, rparree wrote: > >> I have the diagnostics attached. > > Attachment has been stripped by the mailing list manager. Maybe it

Re: (Default) classpath for typedef

2009-01-28 Thread Stefan Bodewig
On 2009-01-28, rparree wrote: > I have the diagnostics attached. Attachment has been stripped by the mailing list manager. Maybe it is easier to open a bugzilla issue for it. Stefan - To unsubscribe, e-mail: user-unsubscr...@

RE: Strange problem: "Could not find file" - but it's for sure there

2009-01-28 Thread Scot P. Floess
I am using Ant 1.7.1... Hmm...did does your PATH contain $ANT_HOME/bin as the first portion of the path...for example: export PATH=$ANT_HOME/bin:$PATH So, you say it worked on another machine? Wierd... Honestly, I'm not sure... First check the path...and let us know :) On Wed, 28 Jan 2

Re: AntUnit

2009-01-28 Thread Stefan Bodewig
On 2009-01-28, wrote: > I mean a class implementing org.apache.tools.ant.BuildListener you don't, like has a different listener concept of its own. What are you trying to do that doesn't work as you'd want it to? Stefan - T

Re: AntUnit

2009-01-28 Thread Stefan Bodewig
On 2009-01-28, wrote: >> file:///C:/OSS/ant/docs/manual/develop.html#writingowntask > Because I am sure you dont have access to Stefans computer, here the > official link ;-) > http://ant.apache.org/manual/develop.html#writingowntask Ouch, thanks ;-) Stefan ---

AW: AntUnit

2009-01-28 Thread Jan.Materne
>I mean a class implementing org.apache.tools.ant.BuildListener You dont add a BuildListener to a JUnit or AntUnit run. You will attach it to the whole build. For that use the -logger option of Ant. Jan - To unsubscribe, e-mail

Re: AW: Calling task in another xml file from main build file

2009-01-28 Thread Sunils_82
Hi, I have used the following code to access build.xml file present in sample_1 folder from sample_2 folder. Call to another build.xml file is made successfully, but the task in that build file fails with error stating myBuild: [mxmlc] Loading configuration file C:\Program Files\Adobe\F

RE: AntUnit

2009-01-28 Thread ext-simon.steiner
Hi, I mean a class implementing org.apache.tools.ant.BuildListener Thanks > -Original Message- > From: ext jan.mate...@rzf.fin-nrw.de [mailto:jan.mate...@rzf.fin-nrw.de] > Sent: 28 January 2009 12:22 > To: user@ant.apache.org > Subject: AW: AntUnit > > >> How can I run antunit with custo

Re: (Default) classpath for typedef

2009-01-28 Thread rparree
Stefan, I have the diagnostics attached. tx., Stefan Bodewig wrote: > > On 2009-01-28, rparree wrote: > >> Thanks for your reply. I did a compare using a compare tool and the two >> files are identical. > > OK, we have some history of problems related to modified wrapper > scripts that

AW: AntUnit

2009-01-28 Thread Jan.Materne
>> How can I run antunit with custom ant listeners enabled? > >A "custom Ant listener" is a class implementing >org.apache.ant.antunit.AntUnitListener? > >If so, use to give a symbolic name to your custom listener, >say > > classname="my.custom.Listener"/> > >and maybe throw in classpath a

Re: AntUnit

2009-01-28 Thread Stefan Bodewig
On 2009-01-27, wrote: > How can I run antunit with custom ant listeners enabled? A "custom Ant listener" is a class implementing org.apache.ant.antunit.AntUnitListener? If so, use to give a symbolic name to your custom listener, say and maybe throw in classpath attributes and an uri. After

Re: (Default) classpath for typedef

2009-01-28 Thread Stefan Bodewig
On 2009-01-28, rparree wrote: > Thanks for your reply. I did a compare using a compare tool and the two > files are identical. OK, we have some history of problems related to modified wrapper scripts that are difficult to track down for us - so I'm always alerted when people install Ant via dist

Re: AW: Calling task in another xml file from main build file

2009-01-28 Thread Sunils_82
Hi, I have used the following code to access build.xml file present in sample_1 folder from sample_2 folder. Call to another build.xml file is made successfully, but the task in that build file fails with error stating myBuild: [mxmlc] Loading configuration file C:\Program Files\Adobe\F

RE: Strange problem: "Could not find file" - but it's for sure there

2009-01-28 Thread Niklas Johansson
Hello, Thank you for your quick reply! Yes, I am sure about the names of the files and where they are placed. Which version of Ant did you use? Could it be some kind of collision? I have ant 1.6 installed in some kind of sun-directory since before. I also have clipse installed and Ant comes