AW: Logging problem using Ant

2010-02-23 Thread Knuplesch, Juergen
Hello, I dont know what the problem is, but I know this kind of problems. I would try the following things: 1.Check the different classpaths (e.g. there might be a different version of a jar in ANT than on the classpath of your program etc...) 2.Increase the loglevel to verbose and see what AN

AW: Variables available to Beanshell scripts within Ant

2010-02-23 Thread Jan.Materne
>From the

Re: Nested import task problem / anttask problem

2010-02-23 Thread Brian Repko
Gopal, What do you mean by "execute target-a using ProjectHelper"? I get "execute target-a using Launcher or Main" but not ProjectHelper. Do you mean with a custom ProjectHelper? That won't necessarily work, as per the documentation for import (that the import functionality is built into Proje

Re: AW: Nested import task problem / anttask problem

2010-02-23 Thread Brian Repko
Just want to correct this... The execution of Ant is always 1. parse 2. execute-implicit-targets (which includes the include/import) When the import target is executed, it uses the same ProjectHelper but not the same Handlers. And the Project information is the same. It calls parse on that han

Variables available to Beanshell scripts within Ant

2010-02-23 Thread Scot P. Floess
I did some google-ing and haven't yet found what information I am looking for... At some point, I figured out in Beanshell (can't remember how I got this information) I can access the project variable - to do things like set properties, etc. I am trying to find some documentation that stat

Logging problem using Ant

2010-02-23 Thread Rhino
Hi, I am having an odd problem using Ant. Whenever my Java program tries to create a new instance of java.util.logging.FileHandler, I get a java.io.IOException that says "Couldn't get lock for log2\baz.log.xml". The weird part of this problem is that I get this error when I am running Ant bu

Ivy repository strategies for Javascript artifact

2010-02-23 Thread Arcozen
Hi everybody. In our company we need to share some javascript libraries. At this moment, we have some zip files containing a lot of js, css, images and resources. Well, we know that it's not just right: 1) download zip from our repository with ivy 2) extract from zip archive every file needed and

Re: AW: Nested import task problem / anttask problem

2010-02-23 Thread Brian Repko
I'm in the process of fixing a similar bug related to imports and extensionOf/extension-point. The import mechanism creates a ProjectHelper for each import and the ProjectHelper holds the list of targets so that the design of Ant import looks to be that you can only depend on targets "below" you

AW: Nested import task problem / anttask problem

2010-02-23 Thread Jan.Materne
Not sure about the in b.xml ... Jan >-Ursprüngliche Nachricht- >Von: Gopala Krishna [mailto:gopalakrishna.tani...@applabs.com] >Gesendet: Dienstag, 23. Februar 2010 13:18 >An: user@ant.apache.org >Betreff: Nested import task problem / anttask problem > >Hi, > > > >I am trying to exec

Nested import task problem / anttask problem

2010-02-23 Thread Gopala Krishna
Hi, I am trying to execute an ant target through program. I have used import task and those are nested in each build file. This is working fine when executed via command line and throwing error when I execute target-a using ProjectHelper. The below are my ant build files. Has anyone tried t