AW: pathconvert map isn't working

2007-03-01 Thread Jan.Materne
I did a small test. Ant 1.6.5 and 1.7.0 support s. My path has files like c:\temp\dir\file. The map in 1.7.0 is independent of the fileseparator and work. In Ant 1.6.5 this is not the case. The from-attribute has to match the correct (os-specific) syntax. Jan >-Ursprüngliche Nach

Help on PVCS using ANT

2007-03-01 Thread bhikhyat.bhandari
Hi, can anyone of you post how to get projects/files from pvcs using ANT script. A sample will be helpful. Regards The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary,

Problem with pathconvert and map

2007-03-01 Thread John G. Lussmyer
I've found a construct in our build.xml that just isn't working. Example: The "map" entry isn't doing anything. The generated path has many occurrences of the install.local.dir in it. Suggestions? -- John G. Lussmyer mailto:[EMAIL PROTECTED] Dragons soar an

pathconvert map isn't working

2007-03-01 Thread John Lussmyer
I’ve found a construct in our build.xml that just isn’t working. Example: . . . The “map” entry isn’t doing anything. The generated path has many occurrences of the install.local.dir in it. Suggestions? --

RE: Specifying additonal classpath elements when calling the task

2007-03-01 Thread Rainer Noack
Maybe http://enitsys.sourceforge.net/ant-classloadertask/ what you are looking for. It allows you to add jars to the project-classloader. cheers Rainer > -Original Message- > From: David Corley (AT/LMI) [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 01, 2007 2:48 PM > To: user@ant.

RE: Invoking Ant Procedures from tomcat ?

2007-03-01 Thread Marcus Zafarano
Or Anthill -Original Message- From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 11:34 AM To: Ant Users List Subject: RE: Invoking Ant Procedures from tomcat ? Hello, What you are describing sounds a lot like continuous integration. Have you considered Cru

Re: Ant 1.7 MacroDef documentaton marked BETA

2007-03-01 Thread Matt Benson
Ouch. Looks like several tasks are marked this way; a stylesheet did not have "BETA" removed as it should have. :( Rest assured that this is a mistake, and that macrodef, nor apply, etc. are considered "beta" tasks. -Matt --- Michael Giroux <[EMAIL PROTECTED]> wrote: > The MacroDef documentat

Ant 1.7 MacroDef documentaton marked BETA

2007-03-01 Thread Michael Giroux
The MacroDef documentation for ANT 1.7 is marked BETA. Is the MacroDef functionality really beta? It has been available since Ant 1.6. Michael Giroux

RE: Ant filterset doesnot work

2007-03-01 Thread jake_ryan
I came to know that I need to declare tokens as follows: [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ It worked fine now. Keith Hatton wrote: > > A favourite that trips me up is that the destination files are newer > than the source files, so no copy actually happens. Maybe you need to > add overwrit

RE: Invoking Ant Procedures from tomcat ?

2007-03-01 Thread RADEMAKERS Tanguy
Hello, What you are describing sounds a lot like continuous integration. Have you considered CruiseControl? It can be used to build and test your application each time code is committed to scm, and sends all kinds of mails as well as having a web interface with results, etc. Regs, /t >-Orig

Re: Invoking Ant Procedures from tomcat ?

2007-03-01 Thread Omry Yadan
1. developers can use junit standlone test runner. 2. developers can use the junit ide integration (Eclispe has fantastic support, and I am sure othere IDE`s also supports junit). 3. you can create an build file that will invoke the junit task for the automated testing. Chun Ji wrote: > We hav

Invoking Ant Procedures from tomcat ?

2007-03-01 Thread Chun Ji
We have a project going on, which involves 20 developers, 2000+ java files, 3,000+ junit test cases and ORACLE database. Every morning, there will be a cron job running ant to do the build and run these junit test cases. It also sends the results to everyone. Our manager is looking for 0% f

Re: [SEC=UNCLASSIFIED] Ant filterset doesnot work

2007-03-01 Thread Wayne Cannon
... or use 's "preservelastmodified" on the original so the copied file has the same time-stamp as the original. To my way of thinking, this allows a more 'honest" appraisal of files. --Wayne Keith Hatton wrote: A favourite that trips me up is that the destination files are newer than the

RE: [SEC=UNCLASSIFIED] Ant filterset doesnot work

2007-03-01 Thread Keith Hatton
A favourite that trips me up is that the destination files are newer than the source files, so no copy actually happens. Maybe you need to add overwrite="true" to the ? Hope this helps, Keith -Original Message- From: jake_ryan [mailto:[EMAIL PROTECTED] Sent: 01 March 2007 16:14 To: user

Re: How to best create environment specific properties in an applications property file using ANT

2007-03-01 Thread Stephen Nesbitt
I consider it best practice to *never* incorporate runtime configuration information into a build. When asked to do so I also request that I be given a "way forward machine" that will peer into the future and tell me where it will be deployed. Less flippantly, relying on "targeted" builds - bui

reporting @TransactionAttribute is an unknown tag

2007-03-01 Thread Michael Giroux
I'm attempting to generate javadocs for code containing JDK 1.5 annotations. I have specified source='1.5' but this does not eliminate the warnings. What am I overlooking? Thanks Michael Giroux

Re: [SEC=UNCLASSIFIED] Ant filterset doesnot work

2007-03-01 Thread jake_ryan
Forgot to mention.. Here are the files: file-1: cc.db.username=itsme cc.db.password=itsme file-2 DbUser=shared DbPassword=shared After running ant, still I see DbUser and DbPassword as shared/shared. I expected they wouldbe itsme/itsme. I tried to use begintoken="%" endtoken="*" aswell, but of

Ant filterset doesnot work

2007-03-01 Thread jake_ryan
I have a property file-1 where cc.db.username and cc.db.password are defined. There is property file-2 with tokens DbUser and DbPassword with some default values, that will be copied to a directory. My task is to replace values of DbUser and DbPassword in file-2 with values of cc.db.username and

Re: [Junit] How to handle TestSuites correctly

2007-03-01 Thread Steve Loughran
Anton Vodonosov wrote: From what I understand from documentation, it is impossible to create Resource Collection based on classpath. Am I right? that's right, because there is nothing in the Java API to enum all classes in a package. Yes, but it is possible to analyze classpath programmatic

Specifying additonal classpath elements when calling the task

2007-03-01 Thread David Corley \(AT/LMI\)
I'm wondering if anyone knows a way to specify additional jars for use by an task within an ant buildfile. My current setup involves 2 build files, builda.xml and buildb.xml. Builda.xml runs an task to kick-off buildb.xml. This a multiproject setup. There are many users having their own custom