Re: jspc of tomcat in ant

2004-11-23 Thread Kris Read
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html On Tue, 23 Nov 2004 12:42:36 +0100 (MET), Hans Kaiser <[EMAIL PROTECTED]> wrote: > Hello list, > > how have I to integrate the jsp compiler of tomcat or websphere into my > build.xml? > Maybe someone has experiences with: > - Webs

Re: immutable property

2004-11-03 Thread Kris Read
Properties only exist within the scope of the parent tag (in this case in the target you declared it in). You have to explicitly pass it to a new target. On Wed, 03 Nov 2004 16:50:41 -0800, Zafarano, Marcus <[EMAIL PROTECTED]> wrote: > As stated in the ANT doc: > > Properties are immutable: who

Re: I need a list of filenames

2004-11-01 Thread Kris Read
Capture the list from where, in what format, and store it in what kind of file? This is a very specific problem with no details. There are many ANT tasks that might or might not be helpful... On Mon, 1 Nov 2004 21:48:36 -0500, Riffe, Melvin <[EMAIL PROTECTED]> wrote: > I need to capture a l

Re: Using ant on Z/OS (OMVS)

2004-10-29 Thread Kris Read
I have absolutely no experience here. However, since ant is Java, why do you need to convert anything? On Fri, 29 Oct 2004 12:01:57 -0400, Joyce Li <[EMAIL PROTECTED]> wrote: > Has anyone been able to run Ant successfully on Z/OS (OMVS)? > > I am using a normal Ant 1.6.1 distribution and conv

Re: Cross-Platform Exec Task

2004-10-28 Thread Kris Read
Perhaps you can use this information to help: In the "Condition" task one of the supported conditions is "os". os: Test whether the current operating system is of a given type. Each defined attribute is tested and the result is true only if all the tests succeed. family : The name of the ope

Re: ant contrib broken in ant 1.6.2 ?

2004-10-28 Thread Kris Read
I'm not sure about your specific example, but I do use Ant 1.6.2 with many instances on our build and it still works. On Thu, 28 Oct 2004 14:51:48 -0500, Shackelford, John-Mason <[EMAIL PROTECTED]> wrote: > > I am using ant-contrib-1.0b1 and ant 1.6.2. The if task appears to no longer > work.

Re: "Return values" with Ant?

2004-10-28 Thread Kris Read
TED]> wrote: > Kris Read <mailto:[EMAIL PROTECTED]> wrote: > > Use the tasks in the antcontrib project. They have an antcall task > > that returns a property or set of properties. > > > > Another way is to structure your file with the 'depends' att

Re: Simple manipulation of a property value

2004-10-27 Thread Kris Read
This is a hack, but: PropertyFile to persist the property to a file. Replace or ReplaceRegExp to alter the value. Then reload from the file. On Wed, 27 Oct 2004 10:04:33 -0400, Erik Hatcher <[EMAIL PROTECTED]> wrote: > On Oct 27, 2004, at 8:56 AM, Benoît Lubek wrote: > > Hi, > > > > I hav

Re: "Return values" with Ant?

2004-10-27 Thread Kris Read
Use the tasks in the antcontrib project. They have an antcall task that returns a property or set of properties. Another way is to structure your file with the 'depends' attribute. X does not execute unless Y executed. On Wed, 27 Oct 2004 18:23:01 +0200, Marcel Stör <[EMAIL PROTECTED]> wrote:

Re: Verifying Ant Build Files

2004-10-25 Thread Kris Read
I am not so clear on what you are trying to do but... You can use the classes of ANT from any Java application. They are not as well documented as one might like, but you shouldn't find it too tough. As for verifying a build.xml file, there is no ANT schema or DTD since ANT is flexible and allow

Re: Convert to Ant

2004-10-24 Thread Kris Read
Hello, Ant is not a scripting language! Look in the Ant manual under the and tasks. http://ant.apache.org On Sun, 24 Oct 2004 09:31:22 -0300, André Dantas Rocha <[EMAIL PROTECTED]> wrote: > Hi, > > I'm new in Ant and wold like to convert those lines to Ant script. How can I > do it? >

Re: Any recommended methods for build and deployment in weblogic and jboss servers?

2004-10-19 Thread Kris Read
We use Ant to package and deploy on Jboss. We deploy exclusively WAR and EAR files created with the respective WAR and EAR ant tasks. Jboss can hot-deploy but we have not found it to always be reliable. On Tue, 19 Oct 2004 13:35:59 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi all, >

Re: How to add multiple filesets at once (to a jar target) ?

2004-10-16 Thread Kris Read
I am sure you can do it. However, in our own build file we find its convenient to just copy all of the files we want in our final JAR file into a single directory, then jar the contents of that directory. In our case there are also other reasons to have the files copied to a new directory, but i

Calling another build without failing on error

2004-10-15 Thread Kris Read
Hi! I have not been able to come up with a solution to this problem. Perhaps someone can help? I want to call an ant target in an external build file. I can do this now using However... If the external target fails, I do not want the calling target to fail also. I would like to store the pa