AW: DOCTYPE XML include

2003-03-04 Thread Jan . Materne
If the xml parser should do the job (here you are using xml entity), the path has to be hardcoded, because no other program is running which can resolve variables. The task is in the CVS head of Ant 1.6. Because Ant 1.5.2 is for several bugfixes and NO enhancements, it isn´t there. But you can do

RE: Emailing Build results

2003-03-04 Thread Benoit Voisin
Sorry to interrupt, but the main reason I find in receiving a mail upon build completion is when the building process is launched in an automated manner (cron or similar). But then, why not using a continuus integration tool like AntHill ? It does launch build (schedule or on request) and sends a m

RE: Ant and Eclipse - more clear

2003-03-04 Thread Thorselius Göran
I'm running Eclipse 2.0 [eclipse executable] -application antRunner gives: "Problems during startup. See .log file in your .metadata directory" The .log - file doesn't contain any log for this when I check it -Original Message- From: Jim Allers [mailto:[EMAIL PROTECTED] Sent: den

why to use fork Attribute in java task

2003-03-04 Thread Pritesh saharey
i would like to know the following 3 things 1)when i run my build.xml file by using ant -v command i see this error in my konsole ?? [java] 'com.ora.ITS.SDK.Tools.ConsoleDistribBuilder' [java] '-f' [java] 'SRC/org/net/carmel/services/ptts/PTTService.distribdef' [java] '

Re: Limit on FileSet matches.

2003-03-04 Thread Mike McNally
> Is there a way to limit the search by depth? Look at the "Selectors" section of the Ant manual, in the "Concepts and Types" part. There are all sorts of neat things you can do to construct file search predicates. I don't know of any way to short-circuit a search, however. -- [ you are my ma

Re: another unit-test question

2003-03-04 Thread Erik Hatcher
On Tuesday, March 4, 2003, at 07:42 PM, Erik Price wrote: Great. ${ant.home} was exactly what I needed. (Actually, it didn't work at first, and I wondered if I had done something wrong but my build file seemed to be right. It turns out that junit.jar doesn't work if it's a symlink [at least

another unit-test question

2003-03-04 Thread Erik Price
I have one other question (where I am uncertain of the "best practice"). Following along in "Java Development with Ant", in the context of using JUnit for unit testing. It is recommended to keep test code separate from production code in the filesystem, using unique directory trees. This make

unit testing with ant

2003-03-04 Thread Erik Price
I'm using ant to compile my project, I really like it a lot. I'm learning to use ant from "Java Development with Ant", it's a great book. I notice that it gets mentioned here often, so I was wondering if anyone could clarify something for me. Please bear in mind that I'm new to ant when it c

RE: Ant and Eclipse - more clear

2003-03-04 Thread Robert Paterson
But unless they're doing something very unusual they wouldn't have to change the build.xml file everytime something changes. Once you've configured your javac task with the correct filesets to describe you're root level source code directories, everything under them will be compiled everytime, no

RE: Ant and Eclipse - more clear

2003-03-04 Thread Thorselius Göran
That could have been nice, but the situation isn't that easy. I'm not writing the code, the developers in our project are. The don't want to update the build.xml file everytime they change something in eclipse and they want to use the Java Builder. >From my point of view, I don't want to use Ecli

Re: ANT best practices

2003-03-04 Thread Erik Hatcher
On Tuesday, March 4, 2003, at 04:33 AM, Matthew Oatham wrote: Hi, OK I've ordered Java Development with Ant book Thank you! I create a base jar which will be used for deployment on different App servers so this base jar needs different deployment descriptors added to it depending on the target

RE: Ant and Eclipse - more clear

2003-03-04 Thread Beth Linker
If your goal is to get the same build whether you're in Eclipse or not, it's easier to do it the other way around because Eclipse already knows how to use Ant. Write an Ant build file that uses the standard javac task and a regular JDK on your system. So you'll have a build.xml that contains a

RE: Ant and Eclipse - more clear

2003-03-04 Thread Thorselius Göran
The benefit is that I now that the code get's compiled in the exact same way regardless of the build was preformed from the propmpt (or bat-file) or from eclipse. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: den 4 mars 2003 13:29 To: Ant Users List Subject: R

Re: Ant and Eclipse - more clear

2003-03-04 Thread mmay
Hello, I wander where the benefit of this solution would be? Why are you not just using a .bat file to run ant in the same manner like you run it on the command line. If you are using ant for your build I suppose, that all the configuration for ANT is done in the build-file, right? (like CLASSPATH,

Ant and Eclipse - more clear

2003-03-04 Thread Thorselius Göran
I'm a total newbie in XML, ant and eclipse I guess I was a little unclear about what I would like to do, so I'll try and explain it again. I would like ant to compile Java code written in Eclipse every night (scheduled job). In other words I don't want the build to be done from within Eclipse. Th

RE: Java source summary

2003-03-04 Thread Bob Hays, Computer Geek
Take a look at the JDepend task - that will get you some design metrics. JCSC creates a JavaDoc-like set of pages with the metrics you desire - actual data is in XML files so you could parse them and load them into whatever you wanted. JDCX is a doclet interface that can also build statistics (it

Re: AW: AW: How to use java attrib in build.xml

2003-03-04 Thread Pritesh saharey
Yes i had already done that i had breaked it up into two tagets, but now it is giving me error like this [java] 'com.ora.ITS.SDK.Tools.ConsoleDistribBuilder' [java] '-f' [java] 'SRC/org/net/carmel/services/ptts/PTTService.distribdef' [java] '-o' [java] 'SRC/org/net/carmel/serv

RE: RE : Ant calls from JSP

2003-03-04 Thread Benoit Voisin
Yes it can. But I am not sure it would be the most efficient thing. I was talking about another anthill project : go to http://www.urbancode.com/projects/anthill/default.jsp If building your project is what you are looking for, AntHill and other similar projects are the solution. They take some