RE: Creating a property from construct in another ant file?

2002-12-18 Thread Erlandsson Martin
Thanks! Just what I needed! /Martin -Original Message- From: David McTavish [mailto:[EMAIL PROTECTED]] Sent: den 18 december 2002 17:23 To: 'Ant Users List' Subject: RE: Creating a property from construct in another ant file? The only way that I've seen re-usable "paths" using ref-id is

skeleton project

2002-12-18 Thread Deacon, Garrett (DST-CLT)
I hate to ask this but there is no faq for this list. Does anyone know if there is a sample skeleton build.xml and prop file to build ejbs for weblogic. I am having trouble with my ejbjar task and want a baseline to see if I am using the task incorrectly. Appologies in advance if this info is r

AW: No appenders could be found for logger (org.apache.tools.ant)

2002-12-18 Thread Detlef Brendle
log4j reads your log4j.properties from the classpath starting at '/'. Guess your log4j just cannot be found at all. detlef -Ursprüngliche Nachricht- Von: Marc Stock [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. Dezember 2002 20:13 An: [EMAIL PROTECTED] Betreff: No appenders could b

Re: Ant-Editor Integration

2002-12-18 Thread Steve Loughran
- Original Message - From: "Vilya Harvey" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Wednesday, December 18, 2002 11:48 Subject: Re: Ant-Editor Integration > In the bin directory of your IDEA installation, you'll find a file called > idea.lax. This is a properties

CVSUPDATE ERROR ON COMMAND LINE FAILS USING CC

2002-12-18 Thread Akbar, Wasif
I recieve the following error while trying to do a build using Cruise Control as my scheduler. BUILD FAILED cvs exited with error code 1 Command line was [Executing 'cvs' with arguments:'update''-d' The ' characters around the executable and arguments are not part of the command.] When I try th

Re: Ant-Editor Integration

2002-12-18 Thread Vilya Harvey
In the bin directory of your IDEA installation, you'll find a file called idea.lax. This is a properties file containing all of the arguments used to run IDEA. Any additional command line arguments should be added to the lax.nl.java.option.additional property. Hope that helps, Vil. -- Vilya Harvey

No appenders could be found for logger (org.apache.tools.ant)

2002-12-18 Thread Marc Stock
I'm trying to get ant setup so that it will route it's output through log4j. On the command line I do: ant -listener org.apache.tools.ant.listener.Log4jListener At which point it gives the error shown in the subject line. I tried specifying the DefaultLogger on the command line to no avail.

Re: ClassFileSet method of loading classes

2002-12-18 Thread Frank-Michael Moser
Conor MacNeill wrote: Frank-Michael Moser wrote: Class.forName("package-of-myclass.MyClass"); In fact, in bytecode it is coded much more near to the latter form, such that looking the bytecode can't result in finding any dependencies to MyClass. I'm not sure on what you are basing this in

Re: ClassFileSet method of loading classes

2002-12-18 Thread Frank-Michael Moser
Conor MacNeill wrote: I would think that MyClass should be seen as a dependency (given that this line exists in my rootfileset). This will show up as a dependency (a class reference). It should be picked up. Should...?! -- To unsubscribe, e-mail: For addition

Re: Generic template for software build plan

2002-12-18 Thread Steve Loughran
There is some of this in the "ant in anger" doc you should have with your ant copy. #of builds per week? As many as possible. Certainly every night for the full functional test, load test suite, the stuff that can take a few hours. But with a continous integration tool, such details are handled fo

Re: Ant-Editor Integration

2002-12-18 Thread Steve Loughran
- Original Message - From: "Steve Slatcher" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Wednesday, December 18, 2002 06:31 Subject: Re: Ant-Editor Integration > You can execute Ant targets from NetBeans. NetBeans is however > particulalry annoying in that the edit

how to submit ant tasks?

2002-12-18 Thread Dale Anson
All, I've written a number of Ant tasks that have proven to be quite useful. How does one go about submitting new tasks to the Ant project? The home page for many of these tasks is http://antelope.sourceforge.net, with documentation at http://antelope.sourceforge.net/manual. Thanks, Dale Ans

Re: Patch: SQL

2002-12-18 Thread Steve Loughran
done, docs are now updated. - Original Message - From: "John Lindwall" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Tuesday, December 17, 2002 09:49 Subject: Patch: SQL > The SQL task is missing task documentation for the delimitertype attribute. > > Here is my co

Re: Ant-Editor Integration

2002-12-18 Thread Steve Slatcher
Phillip Lord wrote: >> "Steve" == Steve Slatcher <[EMAIL PROTECTED]> writes: > Steve> What I really would like however is a Java source editor (it > Steve> doesn't have to be a full IDE) that recognises classpaths I > Steve> have set up in my build.xml (presumably linked to a javac > S

Re: Generic template for software build plan

2002-12-18 Thread Nicola Ken Barozzi
Phillip Lord wrote: "Hanman" == Hanman Gajarla <[EMAIL PROTECTED]> writes: Hanman> Looking for a generic template for a software ant build Hanman> plan. Appreciate your help. Hanman> Thanks in advance. Hanman> -Hanman You can try my antmerge tool. Its in it's early days yet, but it

Re: Ant-Editor Integration

2002-12-18 Thread Phillip Lord
> "Steve" == Steve Slatcher <[EMAIL PROTECTED]> writes: Steve> Hi all I have been using Ant for a while now and have Steve> recently been looking at a few editors and IDEs for Java Steve> development. I am perfectly happy to build my Ant files in Steve> an ordinary text editor, and ex

RE: Problem with ClassFileSet

2002-12-18 Thread Aaron Kelley
If I copy all my classes from my rootfileset to the classfileset directory it works. Why is that? I thought that it built all the dependencies from the rootfileset and then looked for them in the classfileset. I must not understand how it works. So is this the correct solution then? Just do a

Re: Deploy an application

2002-12-18 Thread Guy Rouillier
Why not use Ant to do the deployment as well? That's what we do. Have a separate deploy target which does the necessary file copies, etc. - Original Message - From: "MedVisual Image Inc" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Wednesday, December 18, 2002 6:47

RE: Creating a property from construct in another ant file?

2002-12-18 Thread David McTavish
The only way that I've seen re-usable "paths" using ref-id is to import the xml file into the desired build script. ie: have a generic build.xml that contains the re-usable classpath elements, and in your satellite build script, import as follows: ]> &common; d. -Original Mess

VPP - the Velocity Preprocessor

2002-12-18 Thread didge
Folks, I've created a tool called VPP (available now via www.sourceforge.net/projects/vpp) which implements a couple of ant tasks and a FilterReader perform file preprocessing based on the Velocity Template Language. The current version is 1.1.0. didge -- To unsubscribe, e-mail:

Creating a property from construct in another ant file?

2002-12-18 Thread Erlandsson Martin
Hi List!     I know how to reference a path construct in the same file, using something like:                      fileset>    

RE: Generic template for software build plan

2002-12-18 Thread David McTavish
http://wenaus.home.cern.ch/wenaus/peb-app/process.html some interesting notes... you probably won't find this cookie-cut for you, as all build environments will have different requirements. I think you need to first sit down (maybe read the link above first), and determine what the requirements of

RE: Generic template for software build plan

2002-12-18 Thread Hanman Gajarla
I am mainly looking for a plan for the build process in general and not specific to the Ant tool itself. Essentially, I am looking for a template for the build process (mainly from the QA standpoint) in general and not about Ant itself. For example, this template would talk about how many build

RE: Generic template for software build plan

2002-12-18 Thread Dominique Devienne
Also look at an Ant-based build environment called Maven that more and more OpenSource projects are adopting to build themselves. It's quite a bit different than Ant (of which it just uses the tasks I think, not the engine any more I believe), but if you don't want to be in the build business, that

Re: tracing source code in generated build.xml

2002-12-18 Thread Phillip Lord
> "Conor" == Conor MacNeill <[EMAIL PROTECTED]> writes: Conor> What you could try would be to develop your custom Conor> task to spit out the information to the log and then combine Conor> this with a custom build listener to fiddle with error Conor> messages as they come out. >>

Re: Ant-Editor Integration

2002-12-18 Thread Steve Slatcher
Pellier, Marc wrote: > You can execute Ant targets from NetBeans > only with Ant 1.4 According to ant.netbeans.org: "Standard distribution of NetBeans 3.4 contains only support for Ant 1.4.1. The Ant 1.5.1 support can be downloaded from AutoUpdate center." -- To unsubscribe, e-mail:

Re: Generic template for software build plan

2002-12-18 Thread Phillip Lord
> "Hanman" == Hanman Gajarla <[EMAIL PROTECTED]> writes: Hanman> Looking for a generic template for a software ant build Hanman> plan. Appreciate your help. Hanman> Thanks in advance. Hanman> -Hanman You can try my antmerge tool. Its in it's early days yet, but it provides a generi

Generic template for software build plan

2002-12-18 Thread Hanman Gajarla
Looking for a generic template for a software ant build plan. Appreciate your help. Thanks in advance. -Hanman -- To unsubscribe, e-mail: For additional commands, e-mail:

RPM task

2002-12-18 Thread Hanman Gajarla
I am looking for an example for the RPM task. Your help is appreciated. Thanks in advance. -Hanman -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Ant-Editor Integration

2002-12-18 Thread Vilya Harvey
IntelliJ IDEA (http://www.intellij.com/idea) has Ant integration, although again quite as tight as you would like. It still requires you to set up your project classpath from within the IDE rather than from you Ant script. There have been a number of IDEA users asking for this though (it's request

Re: tracing source code in generated build.xml

2002-12-18 Thread Conor MacNeill
Phillip Lord wrote: I was wondering, is there any way to embed source file information into an ant build.xml, so that this gets reported instead? No, there is no way to do this that I know of. If not, I can think of some ways that this could be added:- essentially you want to tag something

Re: Anyone seen this warning?

2002-12-18 Thread Conor MacNeill
Roarke, Partha wrote: I am having the same problem. I have bcel.jar in the lib folder of ant and still get that message. where did you get your bcel.jar from? Was it from jakarta.apache.org? I also did notice that bcel.jar should be after optional.jar in the classpath of Ant. Where did you s

Re: Patch: SQL

2002-12-18 Thread Conor MacNeill
John Lindwall wrote: The SQL task is missing task documentation for the delimitertype attribute. Here is my contribution to that effort: delimitertype The delimiter type indicating whether the delimiter will only be recognized on a line by itself. Default is "normal" which means the delimi

Re: Ant 1.6 and Middlegen interaction problem

2002-12-18 Thread Conor MacNeill
audacious wrote: Hello, I have notice a problem with the newer versions of Ant, As Erik suggested this may be due to a temporary regression introduced into Ant with regard to case sensitivity of the nested elements. If that is the cause, can you please try again now as the issue should be fix

RE: JAR IMPLEMENTATION???

2002-12-18 Thread Luis Andrei Cobo
( I've been known to put index="true" when compiling against 1.3+ ) the jar appears to be generated fine. The jar is signed correctly and the load of the applet prompts with the certificate as we require. Not doing anything I haven't done before a million times with previous versions of ant. H

RE: Platform indepent build environment suggestions

2002-12-18 Thread Keith Hatton
What we're trying to do (so I won't pretend for now that it works perfectly) is to put all the dependencies (libraries, tools, etc.) under SCM, then if you've got the complete set of files all the paths are defined relatively. This gets around developers having different versions of the tools, f

RE: Ant-Editor Integration

2002-12-18 Thread Pellier, Marc
You can execute Ant targets from NetBeans only with Ant 1.4 -Original Message- From: Steve Slatcher [mailto:[EMAIL PROTECTED]] Sent: mercredi 18 décembre 2002 15:32 To: Ant Users List Subject: Re: Ant-Editor Integration You can execute Ant targets from NetBeans. NetBeans is h

Re: Deploy an application

2002-12-18 Thread Conor MacNeill
MedVisual Image Inc wrote: After built using ant, which tool should be used to deploy the application? Depends on what the application is. Deploying a standa alone swing based application would be quite different from a J2EE application running in an app server. In many cases, I find the "cp"

Re: Ant-Editor Integration

2002-12-18 Thread Bud Williams
Steve Oracle JDeveloper has a very good Ant integration, with IDE support. Bud - Original Message - From: "Steve Slatcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 18, 2002 6:41 AM Subject: Ant-Editor Integration > Hi all > > I have been using Ant for a while

RE: Platform indepent build environment suggestions

2002-12-18 Thread David McTavish
We use cygwin/windows cmd/freebsd here and have been using ant for everything. Mind you, most of our team has their tools installed locally (java and ant respectively), but we do provide a means for people to be 'lazy' and just run everything from the server if they choose. In this event, I've fou

Re: JAR IMPLEMENTATION???

2002-12-18 Thread Conor MacNeill
Luis Andrei Cobo wrote: HI all, I am having a difficult issue regarding the use of JAR task. WE jar and sign some applets and deploy them. When we do this we get all sorts of ZIP Closed Exceptions after the jars are loaded with IllegalStateExceptions-Zip Entry Not Found. This is Java Plugin 1.4.1

Re: Problem with ClassFileSet

2002-12-18 Thread Conor MacNeill
Aaron Kelley wrote: I still cannot get the ClassFileSet to work. I am most likely doing something incorrect. Here is how I am using it: includes="**/*.class"> The issue is probably that the rootfileset has a different basedir from the classfileset - why is that? I can't say what c

Re: Ant-Editor Integration

2002-12-18 Thread Steve Slatcher
You can execute Ant targets from NetBeans. NetBeans is however particulalry annoying in that the editor marks as errors attempts to use classes that it does not know about, i.e. classes not "on its classpath", or "mounted" to use NetBean-speak. Even as I write this, I am evaluating JEdit.. Whils

Re: ClassFileSet method of loading classes

2002-12-18 Thread Conor MacNeill
Frank-Michael Moser wrote: When you examine at the bytecode of your (root-)class you will see that writing MyClass.class is totally equivalent to Class.forName("package-of-myclass.MyClass"); In fact, in bytecode it is coded much more near to the latter form, such that looking the byteco

Re: ClassFileSet method of loading classes

2002-12-18 Thread Conor MacNeill
Aaron Kelley wrote: Does anyone know how the ClassFileSet determines a dependency? I do :-) ClassFileSet works as follows. Firstly it determines a set of root classes. This is either the single class specified by a root element or the set classes included in a rootfileset. These root classes

Re: ejbjar Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer

2002-12-18 Thread Conor MacNeill
Glen Cordrey wrote: The ejbjar task under Ant 1.5.1 reports Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer I have bcel-5.0.zip in ant/lib (and so on Ant's classpath). What else do I need for ejbjar to work? If you got that zip from here http://jaka

Re: Filesets for echo and available?

2002-12-18 Thread Joey Gibson
On Tue, 17 Dec 2002 23:05:21 -0500, "Guy Rouillier" <[EMAIL PROTECTED]> wrote: ||| The issue I have is that in order ||| to do this, I've had to list my jar files 3 different times: for the echo, ||| for the condition, and finally for the classpath. Instead of doing available on the individual

Re: BCEL.jar dependency issue

2002-12-18 Thread Conor MacNeill
Kuram, Harish wrote: All, I found this blurb in the WHATSNEW file in the binary distribution of Ant 1.5.1 I didn't use the "dependency" to add new files but the task completed and the jar files looks OK. I am yet to do runtime testing of the jar file. It should be fine unless you have some i

Re: Ant-Editor Integration

2002-12-18 Thread Matt Moran
I use jEdit (www.jedit.org) with the "AntFarm" plugin. When I want to compile, I don't even bother with the "Compile Current Buffer" command, because that would require me to set up my classpath within the editor, etc. Instead, I just invoke the "AntFarm->Run current target" command, which does th

Re: ClassFileSet method of loading classes

2002-12-18 Thread Frank-Michael Moser
Aaron Kelley wrote: So how exactly are dependencies found then? Are dependencies only found when you instantiate something with the keyword "new"? My code is filled with objects that are instantiated from factories or services. If I simply return these objects from a service to my base code will

Platform indepent build environment suggestions

2002-12-18 Thread Lars Chr. Hausmann
Hey, At my work I am in the middle of refactoring the build enviroment/build system (referred to as build environment in the rest of this mail) consiting of ant scripts, shell scripts etc. I was thinking that some of you might have had a similar task or done something, which can be of use to m

RE: ejbjar Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer

2002-12-18 Thread Craig Ciquera
The ejbjar task uses the jakarta-BCEL framework to extract all dependent classes. This means that, in addition to the classes that are mentioned in the deployment descriptor, any classes that these depend on are also automatically included in the jar file. Download and place the classes in your AN

AW: Deploy an application

2002-12-18 Thread Jan . Materne
IMHO for a J2EE application use the tools the container provider provides. For standalone application or java clients - something with JNLP? Jan Matèrne -Ursprüngliche Nachricht- Von: MedVisual Image Inc [mailto:[EMAIL PROTECTED]] Gesendet am: Mittwoch, 18. Dezember 2002 12:47 An: Ant Us

Deploy an application

2002-12-18 Thread MedVisual Image Inc
After built using ant, which tool should be used to deploy the application? Any example ? Thank you. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail:

Deploy an application

2002-12-18 Thread MedVisual Image Inc
After built using ant, which tool should be used to deploy the application? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: For additional co

Ant-Editor Integration

2002-12-18 Thread Steve Slatcher
Hi all I have been using Ant for a while now and have recently been looking at a few editors and IDEs for Java development. I am perfectly happy to build my Ant files in an ordinary text editor, and execute Ant target from the command line. What I really would like however is a Java source edito

Re: ejbjar Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer

2002-12-18 Thread George Spalding
Hi, I think mr Roarke, Partha hs got the same problem... Could it be that you don't have optional.jar in ant/lib ? because thats the jar that contains the AncestorAnalyzer class Roarke- aren't you getting the same problem? BTW- Roarke wrote: > I think I have resolved > the exception bit cuz I c