Re: upper case first letter of a file

2003-02-10 Thread Stefan Bodewig
On Sun, 09 Feb 2003, Bjoern Eger [EMAIL PROTECTED] wrote: Is there a way to capitalize the file names? No built-in way. Can I maybe use move/mapper task? Probably yes, but the regexp mapper isn't smart enough. You would have to write a mapper implementation of your own. Stefan

Re: Using Exec within my own Task, divert stdout to null?

2003-02-10 Thread Stefan Bodewig
On Fri, 7 Feb 2003, David McTavish [EMAIL PROTECTED] wrote: Is there a way that I can divert the standard output of an exec task used within my own custom task to /dev/null? exec.setTask(new File(/dev/null)); Also, any ideas on how to correct the environment variable above (PATH), such that

Re: Classloader problem with rpelaceregexp

2003-02-10 Thread Stefan Bodewig
On Mon, 10 Feb 2003, William Ferguson [EMAIL PROTECTED] wrote: OK, I'll try again with a different subject line. At least for me it hasn't been a problem of the subject line 8-) You obviously have all your facts together, you know why things happen and you know how to fix it in an ugly way.

Re: trying to write custom task wrapping Exec

2003-02-07 Thread Stefan Bodewig
On Thu, 6 Feb 2003, David McTavish [EMAIL PROTECTED] wrote: var.setKey(path); Hmm, at least on Unix, environment variables are case sensitive. I don't know anything about Windows. Stefan - To unsubscribe,

Re: javac classpath issues

2003-02-05 Thread Stefan Bodewig
On Fri, 6 Sep 2002, Martin [EMAIL PROTECTED] wrote: try Ant 1.5Beta2 no reason to use a beta, especially not one that is older than the latest released version of Ant. The build.sysclasspath property is there and works since Ant 1.3 IIRC. This here From: Freier, Rod [EMAIL PROTECTED]

Re: zip Not Adding Files

2003-02-05 Thread Stefan Bodewig
On Wed, 5 Feb 2003, Aidan Monroe [EMAIL PROTECTED] wrote: I am trying to get the zip task to add some files to an existing .jar file. I cannot get it to work with an existing file, but it works just fine when creating a new archive file. Unfortunately, that is not what I want.

Re: attribute/ in xmlvalidate/

2003-02-05 Thread Stefan Bodewig
On Wed, 5 Feb 2003, Dwayne Schultz [EMAIL PROTECTED] wrote: Any comment on the schedule of the next release? 1.5.2 doesn't look to far away IIUC, 1.6 is still months away. Is this fix slated for 1.5.2 or 1.6? 1.6 as it adds new functionality and 1.5.2 is supposed to be a bugfix release.

Re: war task question

2003-02-04 Thread Stefan Bodewig
On Tue, 4 Feb 2003, Yoav Shapira [EMAIL PROTECTED] wrote: I have the following source organization I'd like to get into a war file: /lib/jar1.jar /lib/jar2.jar /lib/jar3.jar /build/myjar1.jar /build/myjar2.jar /images/image1.gif /images/image2.gif /config/web.xml

Re: Problem with formatter tag inside junit

2003-02-03 Thread Stefan Bodewig
On Sat, 1 Feb 2003, Naresh Bhatia [EMAIL PROTECTED] wrote: The wrong version is picked up if I include C:\bea\weblogic700\server\lib\weblogic.jar in my classpath. Now this jar itself does not have any ant classes, but there is an ant directory under C:\bea\weblogic700\server\lib which has

Re: Help with Replace regexp with ant 1.5

2003-01-31 Thread Stefan Bodewig
Sorry for the late reply On Thu, 16 Jan 2003, Bin Chen [EMAIL PROTECTED] wrote: replaceregexp file=${MYDir}/mycommand.cmd regexp pattern=:_insertpathhere/ substitution expression=@rem My path #x0A; set MY_HOME=@ROOT@#x5c;mybindir/ /replaceregexp Here is the output I expect to

Re: properties, ant task and isset

2003-01-31 Thread Stefan Bodewig
On Thu, 30 Jan 2003, David Clements [EMAIL PROTECTED] wrote: If a property is not set, and I pass it to ant with property name=foo value=${foo}/ Will ${foo} then equal the string ${foo}? Yes. Stefan - To unsubscribe,

Re: ReplaceRegExp task, IndexOutOfBoundsException, an I18N problem

2003-01-31 Thread Stefan Bodewig
On Thu, 23 Jan 2003, [EMAIL PROTECTED] wrote: Recently I noticed ReplaceRegExp task has been added at Ant1.5.1. I tried it and soon found it does not work for a file using Japanese characters. Sorry about that. All of us Ant committers are using western style locales, I guess, so we tend to

Re: Problem with formatter tag inside junit

2003-01-31 Thread Stefan Bodewig
On Fri, 31 Jan 2003, Naresh Bhatia [EMAIL PROTECTED] wrote: Ant 1.5.1, line 188 in Ant 1.5.1 PlainJUnitResultFormatter is a comment. Are you sure there is no other version of Ant or Ant's optional.jar in your CLASSPATH? Stefan

Re: make ant beep

2003-01-24 Thread Stefan Bodewig
On Fri, 24 Jan 2003, Tom Runnacles [EMAIL PROTECTED] wrote: The java.awt.Toolkit class has a beep() method. You could wrap a call to that up in a new Task and make it the last thing called by your buildfile. script will do just fine. Be careful to detect headless systems (Unix without X for

Re: Which task

2003-01-24 Thread Stefan Bodewig
On Fri, 24 Jan 2003, Dominique Devienne [EMAIL PROTECTED] wrote: but if fact it would, since JWhich attempts to find the class file *resource*, not load it. Sounds a lot like what JUnitTask#addClasspathEntry does internally. But I assume that JWich uses something more like

Re: Which task

2003-01-24 Thread Stefan Bodewig
On Fri, 24 Jan 2003, Dominique Devienne [EMAIL PROTECTED] wrote: What I've seen is that JWhich simply does a JWhich.class.getResource(classresourcename), converting com.acme.SomeClass into /com/acme/SomeClass.java. JUnitTask#addClasspathEntry starts out with URL url =

Re: Which task

2003-01-24 Thread Stefan Bodewig
On Fri, 24 Jan 2003, Dominique Devienne [EMAIL PROTECTED] wrote: Sure. What I don't understand is that you would pass an arg like /junit/framework/TestCase.class to a method called addClasspathEntry() addClasspathEntry is the code that automagically add junit.jar, ant.jar and optional.jar to

Re: Which task

2003-01-23 Thread Stefan Bodewig
On Thu, 23 Jan 2003, Dominique Devienne [EMAIL PROTECTED] wrote: I saw some of them too, but I still haven't found anything resembling an Ant task. It's been planed to create an Ant task, but this has never been done, AFAIK. which gets built by Gump, if you want it (xml-commons-which IIRC).

Re: Ant must really be broken...

2003-01-23 Thread Stefan Bodewig
On Thu, 23 Jan 2003, Edward Ciramella [EMAIL PROTECTED] wrote: Right, that's what I found. Looks like developers are importing more than they should... So your developers must really be broken... Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: How to extract a file from a jar.

2003-01-23 Thread Stefan Bodewig
On Fri, 24 Jan 2003, [EMAIL PROTECTED] wrote: Is there a way to extract a file from a jar using ant jar task, similarly for ear and war tasks. unzip if you really mean extract. If you mean extract and add it to another jar, see zipfileset. Stefan -- To unsubscribe, e-mail: mailto:[EMAIL

Re: Ant Quiz!

2003-01-22 Thread Stefan Bodewig
On Tue, 21 Jan 2003, Erik Hatcher [EMAIL PROTECTED] wrote: Test your knowledge of Ant! Are Ant committers allowed to participate? We could make some answer incorrect, you know 8-) Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: Ant and paths

2003-01-22 Thread Stefan Bodewig
On Wed, 22 Jan 2003, Dominique Devienne [EMAIL PROTECTED] wrote: Stefan posts a link to it often enough Really? 8-) http://gump.covalent.net/jars/ and then most of the time latest/ant-contrib/... On some days you may be forced to go to an older snapshot as something may have failed to build.

Re: ant as a workflow engine

2003-01-19 Thread Stefan Bodewig
There is a workflow subproject in jakarta-commons sandbox that may be of interest to you ... On Fri, 17 Jan 2003, Scott Walters [EMAIL PROTECTED] wrote: 1) Can I pipe the xml output of one task into the next task without using a file? Not easily without touching the tasks, but if you are

Re: Synchronize task

2003-01-17 Thread Stefan Bodewig
On Thu, 16 Jan 2003, Dominique Devienne [EMAIL PROTECTED] wrote: Yes, your delete combined with the previous copy is mostly equivalent to lsync, Except that lsync is faster as it doesn't have to scan the source directory twice. 8-) I'm planning to add it to the 1.6 codebase sometime soon

Re: Style: java.lang.UnsupportedClassVersionError

2003-01-17 Thread Stefan Bodewig
On Thu, 16 Jan 2003, Ninad Shah [EMAIL PROTECTED] wrote: java.lang.UnsupportedClassVersionError: org/xmLP/ant/taskdefs/xslt/XSLTProcess (Unsupported major.minor version 48.0) The class you are trying to load has been compiled for JDK 1.4 while you are running an older VM. Contact the people

Re: Referencing a path id in another build file

2003-01-17 Thread Stefan Bodewig
On Fri, 17 Jan 2003, Michael Nau [EMAIL PROTECTED] wrote: Is there a way to reference a path id setup in foo.xml in bar.xml? Take a look at ant's inheritrefs attribute as well as the nested reference element. Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: Putting an image on the bottom of every Javadoc page

2003-01-17 Thread Stefan Bodewig
On Fri, 17 Jan 2003, Jan Materne [EMAIL PROTECTED] wrote: I generate a hint of the date of generation at the buttom. 1. Let Ant introduce a special text I can search for javadoc ... bottom![CDATA[Generated: ]] @DATE@ ![CDATA[/i bottom]]/bottom 2. Let Ant replace all

Re: Putting an image on the bottom of every Javadoc page

2003-01-17 Thread Stefan Bodewig
On Fri, 17 Jan 2003, Jan Materne [EMAIL PROTECTED] wrote: That was my first try. But i didn´t worked. Ant does it in its own build file (a slightly modified version). No CDATA, but that shouldn't make a difference. IIRC we've added property expansion to bottom elements more than a year ago.

Re: JUnit and bootclasspath

2003-01-17 Thread Stefan Bodewig
On Fri, 17 Jan 2003, William E. Kempf [EMAIL PROTECTED] wrote: If you are forking junit, you could specify the -bootclasspath option as jvmarg. Adding bootclasspath to side classpath to the JUnit task could be a very valid enhancement request. Part of my question is how to use a

Re: Depracated use of Available Task

2003-01-17 Thread Stefan Bodewig
On Fri, 17 Jan 2003, Mark Cooper [EMAIL PROTECTED] wrote: if it weren't for the fact that property file= and xmlproperty file = behave differently. You will love this commit:

Re: Where to find ant-contrib tasks

2003-01-16 Thread Stefan Bodewig
On Thu, 16 Jan 2003, Stefan Schulz [EMAIL PROTECTED] wrote: following the instructions you receive by the CVS Repository link. Unfortunately SourceForge's anoncvs is down ATM, until then, I'll keep snapshots http://cvs.apache.org/~bodewig/ant-contrib-20030116.jar and

Re: Where to find ant-contrib tasks

2003-01-16 Thread Stefan Bodewig
On Thu, 16 Jan 2003, EXT [EMAIL PROTECTED] wrote: are there any plans to create packages for the logic tasks of ant-contrib, not exactly the correct list here ;-) I've kept planning to propose a release after I think we have enough test coverage, but almost always it gets pushed back by

Re: pulling .jars from a path?

2003-01-15 Thread Stefan Bodewig
On Tue, 14 Jan 2003, [EMAIL PROTECTED] wrote: is it possible to pull all the .jars listed in a path as a fileset (for inclusion in the lib nested element of the war task)? filesets in Ant (currently) have to be rooted in a common base directory. This is generally not true for an arbitrary

Re: passing of properties from a child ant task to its parent

2003-01-15 Thread Stefan Bodewig
On Tue, 14 Jan 2003, Dave Draper [EMAIL PROTECTED] wrote: I can't see a lot of difference between the ant and antcall tags. Me neither. antcall is nothing else than ant dir=${basedir} antfile=${ant.file} with property translated to param. This may change in the future to avoid the

Re: Ant's exec command example

2003-01-15 Thread Stefan Bodewig
On Wed, 15 Jan 2003, David McTavish [EMAIL PROTECTED] wrote: you could also put all of these on a single line as follows: exec executable=cp arg line=-p -R ${srcDir} ${destDir}/ /exec but run into trouble if either ${srcDir} or ${destDir} expands to something with spaces in

Re: Help with Replace regexp with ant 1.5

2003-01-15 Thread Stefan Bodewig
On Tue, 14 Jan 2003, Bin Chen [EMAIL PROTECTED] wrote: Here \n is supposed to be a newline, use #x0A; or better ${line.separator} instead. \n doesn't mean anything special to XML or the regexp engine. when the substitution occured, all back slashes were taken out, doubling them should help

Re: Chmod usage in exec command

2003-01-15 Thread Stefan Bodewig
On Wed, 15 Jan 2003, Alexey Solofnenko [EMAIL PROTECTED] wrote: There is chmod task in ANT 1.6+. You mean Ant 1.1+ Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Help with Replace regexp with ant 1.5

2003-01-15 Thread Stefan Bodewig
On Wed, 15 Jan 2003, Bin Chen [EMAIL PROTECTED] wrote: Running with -debug flag, ant did give the message of substituted pattern \ as expected, but the output still did have \ shown. Is this a bug? Could you give us the complete replaceregexp task you use, a sample of what you want to

Re: keeping file permission in warfile

2003-01-14 Thread Stefan Bodewig
On Tue, 14 Jan 2003, Laurence Mastrorillo [EMAIL PROTECTED] wrote: But after I extract the war-file, they loose the '+x' permission, as if 'waring' files resets permissions. There are a couple of problems coming together here: (1) Java doesn't know about file permissions - Ant cannot read

Re: ant apply and file.separator

2003-01-14 Thread Stefan Bodewig
On Tue, 14 Jan 2003, Craig Goss [EMAIL PROTECTED] wrote: In case that hint was aimed at me ;^) ... Nah 8-) PS. Sitting here in blissful ignorance it occurs to me that it might be easy to add support for an existing task pathconvert to apply and cvs. I happen to think the opposite is true,

Re: ant apply and file.separator

2003-01-13 Thread Stefan Bodewig
On Mon, 13 Jan 2003, Craig Goss [EMAIL PROTECTED] wrote: The following invokes an executable compiled under Cygwin on Windows XP. Java knows I'm a Windows user and always returns a backslash in the sourcefile and targetfile parameters which isn't OK with Cygwin which expects unix format

Re: Problem with istrue element

2003-01-13 Thread Stefan Bodewig
On Mon, 13 Jan 2003, Paul Gardella [EMAIL PROTECTED] wrote: Yet the documentation I have (and other mailing list items I've read) indicate that istrue is a valid nested element of the condition element. What am I missing here? Ant 1.5? istrue has been introduce in 1.5 and is not present in

Re: Accessing information from a manifest

2003-01-13 Thread Stefan Bodewig
On Mon, 13 Jan 2003, Michael Nau [EMAIL PROTECTED] wrote: I want to present the current Specification Version of a jar file to the person running my build.xml. Take a look at the optional jarlib-* tasks. I've never used them myself, but they may provide a starting point to you. Stefan -- To

Re: AntHill vs. CruiseControl vs. Gump

2003-01-10 Thread Stefan Bodewig
On Fri, 10 Jan 2003, Rosendahl Sten [EMAIL PROTECTED] wrote: Note that the AntHill enhancements are in the upcoming Pro (non-open source, commercial) version. The link I've posted is, I realized that after posting, thanks. But this one here http://www.urbancode.com/projects/anthill/faq.jsp is

Re: Spaces in the path, XSLT, and Java

2003-01-10 Thread Stefan Bodewig
On Fri, 10 Jan 2003, Kyle Adams [EMAIL PROTECTED] wrote: I have a buildfile that's dynamically generates via XSLT. Within that buildfile, I make a java call; one of the args passed into that java call (via jvmarg) contains the property ${user.home}. Don't use the line attribute, use value

Re: Stripping extensions without file operation

2003-01-09 Thread Stefan Bodewig
On Thu, 9 Jan 2003, Stefan Schulz [EMAIL PROTECTED] wrote: Unfortunately, fileset does not support a nested mapper. It sort of does, take a look at the present selector. Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Stripping extensions without file operation

2003-01-09 Thread Stefan Bodewig
On Thu, 9 Jan 2003, Stefan Schulz [EMAIL PROTECTED] wrote: Stefan Bodewig [mailto:[EMAIL PROTECTED]] wrote On Thu, 9 Jan 2003, Stefan Schulz [EMAIL PROTECTED] wrote: Unfortunately, fileset does not support a nested mapper. It sort of does, take a look at the present selector. If I am

Re: Stripping extensions without file operation

2003-01-09 Thread Stefan Bodewig
On Thu, 9 Jan 2003, Stefan Schulz [EMAIL PROTECTED] wrote: My request seems mistakable :) Or I've not been focussed, sorry. fileset's are always a set of existing files, so your but fileset doesn't support nested mappers somehow triggered the misunderstanding. You don't want a fileset but a

Re: Xalan/Junitreport

2003-01-09 Thread Stefan Bodewig
On Tue, 7 Jan 2003, Markus Dettori [EMAIL PROTECTED] wrote: The xml is created by junitreport, the only thing that changes in contrast to older versions is the CDATA section, for system.err or system.out. Can you open a bug report and attach the XML file in question as attachement? Unless it

Re: One-to-many dependency mapping?

2003-01-09 Thread Stefan Bodewig
On Thu, 09 Jan 2003, Mike Summers [EMAIL PROTECTED] wrote: If not I'll look at modifying uptodate to handle this. I'd rather look into writing a mapper to do something like this, that way more than just uptodate could benefit from it. Stefan -- To unsubscribe, e-mail: mailto:[EMAIL

Re: AntHill vs. CruiseControl vs. Gump

2003-01-09 Thread Stefan Bodewig
On Fri, 10 Jan 2003, Jan Materne [EMAIL PROTECTED] wrote: After reading the chapter in Eriks and Steves book Java Development with Ant I had chosen CruiseControl. They have written their views of the pro´s and con´s to each continous-integration-tool so you could make your own decision. But

Re: AntHill vs. CruiseControl vs. Gump

2003-01-09 Thread Stefan Bodewig
On Thu, 9 Jan 2003, Michael Nau [EMAIL PROTECTED] wrote: Does anyone have any recommendations as to which one is better? I'm afraid you'll have to evaluate yourself. Note that Gump on the one side and CruiseControl and AntHill on the other cover different scenarios to a certain degree. Gump

Re: ANN: Java+ Precompiler as an Ant Task

2003-01-08 Thread Stefan Bodewig
On Tue, 07 Jan 2003, Brad Cox [EMAIL PROTECTED] wrote: I hope this is the right protocol for getting Ant tools added to the external resources website. It is, thanks. Now if you had subscribed to the list before posting, it would have been even better ;-) I've added an entry but I'm not sure

Re: junit task - do not show stacktrace?

2003-01-07 Thread Stefan Bodewig
On Mon, 6 Jan 2003, Andy Kriger [EMAIL PROTECTED] wrote: When I get a JUnit test failure in Ant, the output includes a stacktrace. This depends on the formatter you use. Is there any way to suppress that? Write a formatter of your own (probably extending the BriefFormatter). Stefan -- To

Re: Xalan/Junitreport

2003-01-07 Thread Stefan Bodewig
On Tue, 7 Jan 2003, Markus Dettori [EMAIL PROTECTED] [junitreport] Using Xalan version: Xalan Java 2.2.D11 can anyone give me a hint ! Upgrading to a more recent version of Xalan-J might help (2.4.1 is the latest released version). Stefan -- To unsubscribe, e-mail: mailto:[EMAIL

Re: HTML validation

2003-01-07 Thread Stefan Bodewig
On Tue, 7 Jan 2003, Eric Jain [EMAIL PROTECTED] wrote: Is there an Ant task for retrieving and validating HTML from a server? Something like a combination of HttpUnit and JTidy... http://jakarta.apache.org/ant/external.html#Anteater http://jakarta.apache.org/commons/latka/index.html

Re: Xalan/Junitreport

2003-01-07 Thread Stefan Bodewig
On Tue, 7 Jan 2003, Markus Dettori [EMAIL PROTECTED] wrote: [junitreport] the file \phxrepository\projects\databasetest\created\lido\database\pbzlx006-sybase\r eports\TESTS-TestSuites.xml is not a valid testsuite XML document this looks suspicious. Are there any non UTF-8 characters that

Re: file difference

2003-01-06 Thread Stefan Bodewig
On Tue, 31 Dec 2002, David McTavish [EMAIL PROTECTED] wrote: The contents of the zip files are exactly the same, but they are not equivalent on a byte-for-byte level. Time to resort back to checksum. :) I'd be surprised if the zip files would produce the same checksums if they are not

Re: Fop Task

2003-01-06 Thread Stefan Bodewig
On Fri, 3 Jan 2003, Joerg Pietschmann [EMAIL PROTECTED] wrote: There is a FOP task for Ant 1.4 in the FOP distribution. And this is where it should be IMHO. Should we point to it from our external tasks section? I almost think it shouldn't be necessary as people who want a FOP task will have

Re: library dependencies question

2003-01-06 Thread Stefan Bodewig
On Mon, 06 Jan 2003, Erik Price [EMAIL PROTECTED] wrote: Does this mean that instead of having to put catalina-ant.jar in the ant distribution's lib directory, I can simply make put this JAR file in my $CLASSPATH? Yes. The wrapper script that runs Ant will put everything that is in

Re: Fop Task

2003-01-06 Thread Stefan Bodewig
On Mon, 6 Jan 2003, Joerg Pietschmann [EMAIL PROTECTED] wrote: Does it get compiled by the nightly Gump runs? I'd say yes, but I wouldn't back this if asked officially. [bodewig@bodewig gump]$ ls xml-fop/build/classes/org/apache/fop/tools/anttasks/ Compare.class FOPTaskStarter.class

Re: Ant: asking again - Javadoc command getting more source than I am pointing it to

2003-01-06 Thread Stefan Bodewig
On Mon, 6 Jan 2003, David Thielen [EMAIL PROTECTED] wrote: I am trying to generate javadocs for just the files that are the public api of my program. Wouldn't javadoc public=true .../ do what you want without copying around any files? Stefan -- To unsubscribe, e-mail: mailto:[EMAIL

Re: file difference

2002-12-31 Thread Stefan Bodewig
On Mon, 30 Dec 2002, Erik Hatcher [EMAIL PROTECTED] wrote: Sure, use a checksum condition: Or even the filesmatch condition ... Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Jar/Zip: Ambiguity in the doc

2002-12-20 Thread Stefan Bodewig
On Sat, 21 Dec 2002, Kenneth Lee [EMAIL PROTECTED] wrote: ...The extended fileset and groupfileset attributes from the zip task are also available in the jar task... But I don't see these two attributes in the Zip manpage. This should be element, not attribute. It referes to

Re: Patternsets and Filesets

2002-12-13 Thread Stefan Bodewig
On Thu, 12 Dec 2002, Nathan Christiansen [EMAIL PROTECTED] wrote: For those who are interested, here is the final code: I think you could have used a present selector in your delete task instead. delete fileset dir=${web.deploy.dir} present targetdir=${web.src.dir}/images/ /fileset

Re: Patternsets and Filesets

2002-12-13 Thread Stefan Bodewig
On Thu, 12 Dec 2002, Nathan Christiansen [EMAIL PROTECTED] wrote: Was the property's location attribute a part of ant 4.0.x? Ant 4.0.x??? property's location attribute has been introduced in Ant 1.2 (been there, committed the patch ;-) Stefan -- To unsubscribe, e-mail: mailto:[EMAIL

Re: Jar size differs..

2002-12-12 Thread Stefan Bodewig
On Thu, 12 Dec 2002, Ram Krish [EMAIL PROTECTED] wrote: Why is it so?.. Because Ant doesn't use the jar command but a home-made implementation of java.util.zip.ZipOutputStream to create jars. Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: uptodate question

2002-12-12 Thread Stefan Bodewig
On Thu, 12 Dec 2002, Michael Nascimento Santos [EMAIL PROTECTED] wrote: Could anyone suggest a more portable solution that works no matter where ${src} and ${bkp} points to? Otherwise, I'll have to live with that... :-) Make ${bkp} an absolute path to start with (using property's location

Re: Jar size differs..

2002-12-12 Thread Stefan Bodewig
On Thu, 12 Dec 2002, Ram Krish [EMAIL PROTECTED] wrote: I want to use jar command line utility inside the build file. Out of curiosity, why? When i tried, i dont know how to specify the fileset in the following code. Add a fileset with the dir attribute pointing to whatever would be the

Re: Jar size differs..

2002-12-12 Thread Stefan Bodewig
On Thu, 12 Dec 2002, Ram Krish [EMAIL PROTECTED] wrote: The class files differ in size when i use jar task(i compared these class files with those madw with the dos batch file). And the difference in size is a problem? For production builds, i don't want to create the manifest

Re: uptodate question

2002-12-12 Thread Stefan Bodewig
On Thu, 12 Dec 2002, Dominique Devienne [EMAIL PROTECTED] wrote: The mapper is fed a relative path to the fileset's 'dir' (which is indeed ${basedir} in this case ;-), and turns it into an absolute one? This would fail with code like new File(dir, mapper.map(relativePath))... So the result

Re: Problem with junit in ant with jdk 1.4.1

2002-12-11 Thread Stefan Bodewig
On 09 Dec 2002, Stefan Bodewig [EMAIL PROTECTED] wrote: 1.5.2 might be a different issue. I'll look into porting this specific fix over to the 1.5 branch - unless it is too big, we may get it out faster that way. I've done so. A current build of the 1.5 branch can be found at http

Re: Problem with junit in ant with jdk 1.4.1

2002-12-11 Thread Stefan Bodewig
On Wed, 11 Dec 2002, Dominique Devienne [EMAIL PROTECTED] wrote: When I follow that link, the HTML page that lists the directory truncates all filenames so they all end up with the same prefix. True. I don't think I know enough .htaccess magic to fix it, though. Stefan -- To unsubscribe,

Re: Efficient method to build JARs

2002-12-11 Thread Stefan Bodewig
On Wed, 11 Dec 2002, Dominique Devienne [EMAIL PROTECTED] wrote: Off topic, but is it OK to include part of projects classes in your own JARs, when these other projects are Open Source released under various licenses? Depends on the license. Does the Apache or Jakarta license prevent that?

Re: uptodate question

2002-12-11 Thread Stefan Bodewig
On Wed, 11 Dec 2002, Dominique Devienne [EMAIL PROTECTED] wrote: Mappers are fed relative paths compared to your ${basedir} I think. No, to the dir attribute of the fileset. Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: uptodate question

2002-12-11 Thread Stefan Bodewig
On Wed, 11 Dec 2002, Michael Nascimento Santos [EMAIL PROTECTED] wrote: srcfiles dir=${basedir} / mapper type=glob from=${src}\*.java to=${bkp}\*.java / Does srcfiles dir=${src} / mapper type=glob from=*.java to=${bkp}\*.java / work? Stefan -- To unsubscribe,

Re: uptodate question

2002-12-11 Thread Stefan Bodewig
On 12 Dec 2002, Stefan Bodewig [EMAIL PROTECTED] wrote: On Wed, 11 Dec 2002, Dominique Devienne [EMAIL PROTECTED] wrote: Mappers are fed relative paths compared to your ${basedir} I think. No, to the dir attribute of the fileset. which has been ${basedir} in the case at hand, sorry

Re: FilterChains - grep and sed

2002-12-10 Thread Stefan Bodewig
On Tue, 10 Dec 2002, Michael Koegel [EMAIL PROTECTED] wrote: perhaps you could use the Java Regexp Plugin API to avoid dependeny on ORO and give the user a chance to choose his favorit regex package. Or even better, use Ant's own version of a regexp plugin API, that is already in use for the

Re: Failed building ant-1.5.1 on Tru64 V5.1 system

2002-12-10 Thread Stefan Bodewig
On Tue, 10 Dec 2002, Jin Zhou [EMAIL PROTECTED] wrote: Finally I found the tar ball jakarta-ant-1.5.1-src.tar.gz I downloaded from http://www.apache.org/dist/ant/source is corrupted. A lot of file names have been truncated, http://jakarta.apache.org/ant/faq.html#no-gnu-tar This

Re: file-set in zip has a lowercase bug?

2002-12-10 Thread Stefan Bodewig
Probably http://jakarta.apache.org/ant/faq.html#winzip-lies Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: ReplaceRegExp does not work (ANT 1.5.1)

2002-12-09 Thread Stefan Bodewig
On Mon, 9 Dec 2002, Andreas Fluegge [EMAIL PROTECTED] wrote: Does this mean that 'ReplaceRegExp' in ANT 1.5.1 only works with JDK 1.4 ??? No, it means it will only work with one of the supported regexp engines, JDK 1.4 ships with one of three supported libraries. See the manual for the other

Re: [BULK] - Re: ReplaceRegExp does not work (ANT 1.5.1)

2002-12-09 Thread Stefan Bodewig
On Mon, 9 Dec 2002, Andreas Fluegge [EMAIL PROTECTED] wrote: this is how I have defined the task in my build.xml: If optional.jar can also be found on the system classloader, this won't work http://jakarta.apache.org/ant/faq.html#delegating-classloader. Any chance to try with ORO on the system

Re: Order of files within a fileset

2002-12-09 Thread Stefan Bodewig
On Mon, 9 Dec 2002, Michael Nau [EMAIL PROTECTED] wrote: How is the order files are loaded from a fileset determined? Completely undefined. Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: jar update problem

2002-12-09 Thread Stefan Bodewig
On Mon, 9 Dec 2002, Dominique Devienne [EMAIL PROTECTED] wrote: I think the 1.5.2 branch has the fix, No, not fixed (yet). Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Empty xml file when test case times out

2002-12-09 Thread Stefan Bodewig
On Mon, 09 Dec 2002, Gordon Vidaver [EMAIL PROTECTED] wrote: If I actually have a test case that times out, the junit target produces an empty xml file as a result, http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2499 fixed in both CVS branches for 1.6 and 1.5.2. Stefan

Re: Problem with junit in ant with jdk 1.4.1

2002-12-08 Thread Stefan Bodewig
On Fri, 6 Dec 2002, Steve Schlaifer [EMAIL PROTECTED] wrote: Is there an estimate of the release date for ant 1.6? No date we could put forward in good faith. Just now we are starting to experiment with some stuff and it may take some time until we settle on an implementation. 1.5.2 might be

Re: Selecting a file

2002-12-05 Thread Stefan Bodewig
http://jakarta.apache.org/ant/manual/CoreTypes/selectors.html http://jakarta.apache.org/ant/manual/CoreTypes/selectors.html#filenameselect http://jakarta.apache.org/ant/manual/CoreTypes/selectors.html#dateselect http://jakarta.apache.org/ant/manual/CoreTypes/selectors.html#andselect and maybe

Re: Selecting a file

2002-12-05 Thread Stefan Bodewig
On Thu, 5 Dec 2002, Oscar Farga [EMAIL PROTECTED] wrote: Is it the only way to create a custom selector? I think so - alternatively you can do it with script. There has been some discussion on a similar issue on this list that lead to the purge task linked from Ant's External Tools page. You

Re: Problem with junit in ant with jdk 1.4.1

2002-12-05 Thread Stefan Bodewig
On Sat, 16 Nov 2002, Steve Schlaifer [EMAIL PROTECTED] wrote: When I run it under ant with fork=false, it generates a [java] java.lang.NoClassDefFoundError: sun/reflect/ConstructorAccessorImpl Could you try a recent nightly build please? This is supposed to be fixed in 1.6alpha

Re: How do deal with copy and unix permissions on Unix?

2002-12-04 Thread Stefan Bodewig
On Tue, 3 Dec 2002, Alexey Solofnenko [EMAIL PROTECTED] wrote: Without keeping executable bit ANT becomes not very useful on Unix. Maybe. Java doesn't provide access to permissions so there is nothing much Ant can do. How do you replace copy to work correctly on Unix? apply executable=cp

Re: Creating CallTarget in BSH to make a antcall

2002-12-02 Thread Stefan Bodewig
On Mon, 2 Dec 2002, Andersson Jan [EMAIL PROTECTED] wrote: xyz = project.createTask(CallTarget); xyz.setTarget(apply.patch_file); //xyz seems to be null here... Sure it is. createTask takes the name of the task, not the name of the class implementing the task. xyz =

Re: extra CRLF when copying file with filtering

2002-11-28 Thread Stefan Bodewig
On Thu, 28 Nov 2002, Eric Fesler [EMAIL PROTECTED] wrote: Using ant 1.5, I just discover that ant is systematically adding an extra CRLF at the end of the file when I used that copy task with filtering set to true. Quite possible, we have similar bugs in concat in CVS and in replaceregexp for

Re: Naming build files

2002-11-27 Thread Stefan Bodewig
On Tue, 26 Nov 2002, Patricia Watt [EMAIL PROTECTED] wrote: When Dominique said there's usually a single build file per project, I take that project to mean a component. The historic build file I've been talking about builds at least seven different applications, they share some classes, but

Re: xslt task Xalan2

2002-11-27 Thread Stefan Bodewig
On Tue, 26 Nov 2002, Emmanuel Fouch [EMAIL PROTECTED] wrote: I found out that the build process of the 1.5.1 release excludes the compilation of XalanLiaison unless you have Xalan1 installed and accessible to ant, i.e. in the ${ant.home}/lib directory). Correct. XalanLiaison is only used for

Re: Include definitions like filesets, paths, ...

2002-11-27 Thread Stefan Bodewig
http://jakarta.apache.org/ant/faq.html#xml-entity-include -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: condition for exec task

2002-11-27 Thread Stefan Bodewig
On Tue, 26 Nov 2002, Oliver Wulff [EMAIL PROTECTED] wrote: Are the names of the .class files predictable - at least so that you know one of them per IDL file? Unfortunately not. The content of the IDL (interface name, ...) maps to the Java classes. and I guess it is impossible to enforce a

Re: Conditional execution

2002-11-27 Thread Stefan Bodewig
On Wed, 27 Nov 2002, Janusz Dalecki [EMAIL PROTECTED] wrote: Is there a way of executing few tasks in a group based on the certain condition? Sure. Put them together into a single target and use the target's if/unless attributes. Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

Re: RE : xslt task Xalan2

2002-11-27 Thread Stefan Bodewig
On Wed, 27 Nov 2002, Emmanuel Fouch [EMAIL PROTECTED] wrote: Do I have to specify a 'taskdef' to use this syntax? Even more than that http://jakarta.apache.org/ant/faq.html#delegating-classloader. Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: revisitng: JavaDoc task, how to specify all packages

2002-11-27 Thread Stefan Bodewig
On Wed, 27 Nov 2002, Andrew Forward [EMAIL PROTECTED] wrote: 1. How do we use the javadoc task if we do not have a package? Use a nested fileset. 2. How do we javadoc all packages under a particular src directory? Use a nested packageset. Stefan -- To unsubscribe, e-mail: mailto:[EMAIL

Re: task exec, iteration

2002-11-26 Thread Stefan Bodewig
http://jakarta.apache.org/ant/manual/CoreTasks/apply.html -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

  1   2   3   4   5   6   7   8   9   10   >