Can you pl help me

2005-06-10 Thread Srinivas
Hi All, I am new to ant build. My requirement is like this. 1. Once .ear is built I should be able to edit the .xml file inside the .ear. I want to edit trans-timeout-seconds/trans-timeout-seconds field for all the ejbs in weblogic-ejb-jar.xml inside

RE: putting cmd args in ant.bat

2005-06-10 Thread Rebhan, Gilbert
Hi, finally i got it, simply putting the line set ANT_ARGS=-lib c:\ant_extralibs into ant_installdir/bin/ant.bat Gilbert -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 12:14 PM To: Ant Users List Subject: RE: putting cmd args in

Launching ant programatically from a Servlet Application...

2005-06-10 Thread Eric Tchepannou
Hi all, I have a .jar application containing my custom ant Tasks implementation. This works fine when I use it from the (linux) console. Now my goal is to write a Servlet which enables me to select a buildfile (with my custom tasks) and run it. My .jar is located in the WEB-INF/lib but when the

RE: AntHill Question

2005-06-10 Thread Murali Polanthan
- Stop Anthill. - Look in the ANTHILL_HOME/projects directory. There should be a file called 'AB Project.anthill'. Rename that file (or you can just delete it). I suggest not to use spaces either if you rename. - Restart Anthill and you should be good. You may also want to look at the

Re: Ant for non-java development

2005-06-10 Thread Bevan Arps
[EMAIL PROTECTED] wrote: Can ant be used to build non-java applications? Absolutely. A few years ago, I used Ant to build an entire suite of Delphi applications - it was the core of our repeatable build process. I forget the exact details, but a fair summary would be: -- Start from a set

Re: valid characters for target names

2005-06-10 Thread Eric Tchepannou
Hi, I will personally not use spaces, but I can remember a couple of times where I have used dots (.) in my target names. May be from the command line you may have to run your target like this: ant -f build_file install server (I have never tested this, but it could work) On 6/10/05, [EMAIL

Re: What is the difference between a nested element and a nested type?

2005-06-10 Thread Eric Tchepannou
Thanks guys for your support, its been a great help. Peter, I was able to view my code and I had it right from the begining. The main problem was, as you guessed, that the loaderref attribute was missing. I can now run ant FROM THE CONSOLE against my buildfile and it looks much better. On

RemoteAnt / AntServer

2005-06-10 Thread lists
Hi Group, I'm very pleased to find the AntServer / RemoteAnt implementation in the cobtrib package and I think it's impressively easy to use. One question: Why does it always shut down the server after a single remoteAnt-task has been run? I would like to run multiple remoteAnt-tasks. Moreover

Re: valid characters for target names

2005-06-10 Thread Mark Lybarger
hyphens work quite well for target names. I would guess underscores will also work. one trick to having a target that you don't want to be called directly is to name it with double hyphens. for example: target name=--dont.call.me /target target name=call.me depends=--dont.call.me /target i

Errors while trying to compile ant 1.6.5 with gcj 4.0

2005-06-10 Thread Bernhard Rosenkraenzer
Hi, when trying to compile ant from source using gcj 4.0 (no non-free JDKs installed), hundreds of deprecation warnings and 2 fatal errors: src/main/org/apache/tools/ant/IntrospectionHelper.java:495: error: No constructor matching

How to change read only permission to read/write

2005-06-10 Thread George Dibi
Hello, Is there any tag I can use to change my permissions from read only to read/write on all files and directories. Thanks George This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it

Re: How to change read only permission to read/write

2005-06-10 Thread Matt Benson
look at the chmod and attrib tasks (depending on your OS; safe to use both if you need cross-platform-ness). HTH, Matt --- George Dibi [EMAIL PROTECTED] wrote: Hello, Is there any tag I can use to change my permissions from read only to read/write on all files and directories. Thanks

Re: valid characters for target names

2005-06-10 Thread Ivan Ivanov
--- Mark Lybarger [EMAIL PROTECTED] wrote: hyphens work quite well for target names. I would guess underscores will also work. one trick to having a target that you don't want to be called directly is to name it with double hyphens. Actually one hyphen will do it also: target

Re: Errors while trying to compile ant 1.6.5 with gcj 4.0

2005-06-10 Thread Alexey N. Solofnenko
It is an interesting exercise... Tools.jar is required, if you want to run javac/ in process, otherwise you can specify javac fork=true.../ and external compiler will be used (for example, jikes). Another possibility is to compile tools.jar into native code (not sure whether gcj can do it and

How to use multiple filesets with classpath AND copy

2005-06-10 Thread Rick Mann
Hi. I'm building a handful of Struts webapps, and would like to do this in my build scripts: I want to specify a collection of .jar files from several different directories, and I want to refer to the entire collection with a single id. Now, I can make a fileset or filelist for a

Removing Comments During Build

2005-06-10 Thread Tom Frantz
I want to be able to have comments in my code for JSP, HTML, JavaScript, ect., but I don't want those comments to show up on the user's browser when they use View Source. I recently found out (the hard way) that excessive use of comments ends up slowing the response time for the pages. Our web