cvs commit: ant/docs/manual/OptionalTasks csc.html ilasm.html ildasm.html importtypelib.html jsharp.html vbc.html wsdltodotnet.html dotnet.html
stevel 2003/09/23 17:56:45 Modified:docs/manual/OptionalTasks dotnet.html Added: docs/manual/OptionalTasks csc.html ilasm.html ildasm.html importtypelib.html jsharp.html vbc.html wsdltodotnet.html Log: fuller docs of the tasks, with examples. If someone were to fiddle with the xdocs templates, having pre make it through without being coalesced onto a single line would be nice, as all the examples are ruined. Revision ChangesPath 1.13 +175 -575 ant/docs/manual/OptionalTasks/dotnet.html http://cvs.apache.org/viewcvs/ant/docs/manual/OptionalTasks/dotnet.html.diff?r1=1.12r2=1.13 1.1 ant/docs/manual/OptionalTasks/csc.html http://cvs.apache.org/viewcvs/ant/docs/manual/OptionalTasks/csc.html?rev=1.1 1.1 ant/docs/manual/OptionalTasks/ilasm.html http://cvs.apache.org/viewcvs/ant/docs/manual/OptionalTasks/ilasm.html?rev=1.1 1.1 ant/docs/manual/OptionalTasks/ildasm.html http://cvs.apache.org/viewcvs/ant/docs/manual/OptionalTasks/ildasm.html?rev=1.1 1.1 ant/docs/manual/OptionalTasks/importtypelib.html http://cvs.apache.org/viewcvs/ant/docs/manual/OptionalTasks/importtypelib.html?rev=1.1 1.1 ant/docs/manual/OptionalTasks/jsharp.html http://cvs.apache.org/viewcvs/ant/docs/manual/OptionalTasks/jsharp.html?rev=1.1 1.1 ant/docs/manual/OptionalTasks/vbc.html http://cvs.apache.org/viewcvs/ant/docs/manual/OptionalTasks/vbc.html?rev=1.1 1.1 ant/docs/manual/OptionalTasks/wsdltodotnet.html http://cvs.apache.org/viewcvs/ant/docs/manual/OptionalTasks/wsdltodotnet.html?rev=1.1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet CSharp.java Ilasm.java Ildasm.java ImportTypelib.java JSharp.java VisualBasicCompile.java WsdlToDotnet.java
stevel 2003/09/23 17:58:29 Modified:src/main/org/apache/tools/ant/taskdefs/optional/dotnet CSharp.java Ilasm.java Ildasm.java ImportTypelib.java JSharp.java VisualBasicCompile.java WsdlToDotnet.java Log: doc updates in the tasks, for autogenerated docs Revision ChangesPath 1.37 +43 -67 ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/CSharp.java Index: CSharp.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/CSharp.java,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- CSharp.java 20 Sep 2003 16:40:42 - 1.36 +++ CSharp.java 24 Sep 2003 00:58:29 - 1.37 @@ -75,81 +75,57 @@ /** * Compiles C# source into executables or modules. * - * The task will only work on win2K until other platforms support - * csc.exe or an equivalent. CSC.exe must be on the execute path too. p - * - * All parameters are optional: lt;csc/gt; should suffice to produce a debug - * build of all *.cs files. References to external files do require explicit - * enumeration, so are one of the first attributes to consider adding. p - * + * csc.exe must be on the execute path, unless another executable + * or the full path to that executable is specified in the ttexecutable/tt + * parameter + * p + * All parameters are optional: lt;csc/gt; should suffice to produce a debug + * build of all *.cs files. However, naming an ttdestFile/ttstops the + * csc compiler from choosing an output name from random, and + * allows the dependency checker to determine if the file is out of date. + * p * The task is a directory based task, so attributes like bincludes=*.cs * /b and bexcludes=broken.cs/b can be used to control the files pulled * in. By default, all *.cs files from the project folder down are included in * the command. When this happens the output file -if not specified- is taken * as the first file in the list, which may be somewhat hard to control. - * Specifying the output file with b'outfile'/b seems prudent. p - * - * p - * - * TODO - * ol - *li is incremental build still broken in beta-1? - *li is Win32Icon broken? - *li all the missing options - * /ol - * p - * - * History - * Table - * - *tr - * - * td - *0.3 - * /td - * - * td - *Beta 1 edition - * /td - * - * td - *To avoid having to remember which assemblies to include, the task - *automatically refers to the main dotnet libraries in Beta1. - * /tr - * - * tr - * - *td - * 0.2 - */td - * - *td - * Slightly different - */td - * - *td - * Split command execution to a separate class; - */tr - * - *tr - * - * td - *0.1 - * /td - * - * td - *I can't believe it's so rudimentary - * /td - * - * td - *First pass; minimal builds only support; - * /tr + * Specifying the output file with ttdestFile/tt seems prudent. p * - */table + * p + * For more complex source trees, nested ttsrc/tt elemements can be + * supplied. When such an element is present, the implicit fileset is ignored. + * This makes sense, when you think about it :) + * p + * + * References to external files can be made through the references attribute, + * or (since Ant1.6), via nested lt;referencegt; filesets. With the latter, + * the timestamps of the references are also used in the dependency + * checking algorithm. + * p + * + * Example + * + * prelt;csc + * optimize=quot;truequot; + * debug=quot;falsequot; + * docFile=quot;documentation.xmlquot; + * warnLevel=quot;4quot; + * unsafe=quot;falsequot; + * targetType=quot;exequot; + * incremental=quot;falsequot; + * mainClass = quot;MainAppquot; + * destFile=quot;NetApp.exequot; + * gt; + *lt;src dir=src includes=*.cs /gt; + * lt;reference file=${testCSC.dll} /gt; + * lt;define name=RELEASE /gt; + * lt;define name=DEBUG if=debug.property/gt; + * lt;define name=def3 unless=def3.property/gt; + *lt;/cscgt; + * /pre * * - * @author Steve Loughran [EMAIL PROTECTED] - * @version 0.5 + * @author Steve Loughran * @ant.taskname=csc category=dotnet * @since Ant 1.3 */ 1.32 +8 -6 ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java Index: Ilasm.java === RCS file:
Re: cvs commit: ant build.xml
[EMAIL PROTECTED] wrote: bodewig 2003/09/23 06:14:41 Modified:.build.xml Log: AssertionsTest needs a javac that supports assert sorry, I had patched my build.xml but forgot to commit that change. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DO NOT REPLY [Bug 20618] - class org.apache.tools.ant.util.regexp.Jdk14RegexpMatcher
[EMAIL PROTECTED] wrote: --- Additional Comments From [EMAIL PROTECTED] 2003-09-23 15:16 --- I've always been bad with names and Ant's sources tell a lot of stories about this (even Erik and Steve tell them in their book, thankfully without pointing fingers). -only because I couldnt be bothered to go through CVS to work out who to point the fingers at :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23358] - dist/bin/ant complains of nonexistant -lib option
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23358. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23358 dist/bin/ant complains of nonexistant -lib option --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 04:40 --- It's fixed in the 1.6 branch and will be coming to a HEAD branch near you, real soon :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: ant/src/script ant
On Wed, 24 Sep 2003 06:06 am, Knut Wannheden wrote: These changes expand on Antoine's -lib code to support multiple -lib options. In addition, the -lib option can now name a directory containing jars and all jars in that directory will be added to Ant's launch classpath. So I suppose it isn't possible to add a directory with classes in it as a -lib option. The classes need to be packed up in a jar, right? No. It adds any jars in the directory and the directory itself. So, a directory with classes in it should be OK. Conor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Bug 3304
I wanted to lobby for bug 3304 as an enhancement. I have an ant script which calls subordinate ant scripts using the ant task. I would like to pass the build target to the subordinate scripts so they can execute the same target as the parent (ie. 'ant compile' calls the compile target on the subordinate projects). Without a means of accessing the target name, I would have to hardcode the target and therefore need to place ant tasks within every single target in the parent build file. Am I missing something? Is there another way to accomplish this without a standard ant.target.name property? Thanks, Sean Rohead
RE: Antidote TODO (WAS:RE: antidote diff)
Um, 29Mb of source is not small on a 56K modem! I did not mean the code, for it is c++ anyways! The Application itself should to to look at the prefs-dialog :-) This would be overkill IMO. We should be fine with a (maximum) two level hirachy! And remember: Let's keep the baby small and fast :-) Good idea Have fun :-)! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 20215] - System.getProperties()
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20215. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20215 System.getProperties() --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 05:38 --- there no i18n.jar in JDK 1.4, there is lib\charset.jar, lib\ext\localedata.jar and lib\zi(directory) for locale and timezone info. it should be still correct in JDK 1.4 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Bug 3304
Workaround: ?xml version=1.0 encoding=ISO-8859-1? project name=test basedir=. default=main target name=main script language=javascript ![CDATA[ name = self.getOwningTarget().getName(); project.setProperty(target.name,name); ]]/script echotarget.name=${target.name}/echo antcall target=script/ /target target name=script script language=javascript ![CDATA[ name = self.getOwningTarget().getName(); project.setProperty(target.name,name); ]]/script echotarget.name=${target.name}/echo /target /project But it´s not the fine way to overwrite the property ... I think it is no problem to implement. But then we will brake to golden rule properties are immutable (see example). If you have to specify the property in which the target name should be stored, you can code that in a normal property/. (... I got an idea ...) If you want to have a global property (like ant.project.name) the value has to overwritten in each target (otherwise it wouldn´t be really useful). Back to my idea: A task which gets the current target name and tries to store it into a property. Maybe it should fail if that property is already set (to a different value). target name=helloWorld getTargetName property=tname/ echo${tname}/echo /target would print helloWorld getTargetName property=tname fail=never|differ|isset/ control the behaviour if the property tname is already set - never: don´t throw a BuildException (log in verbose); don´t set the property -- properties are immutable - differ: throw a BE if the value differs from the current target name; don´t set the property (useless, has the right value :-) - isset: throw a BE if the property is set; set the property Would that help? Jan -Original Message- From: Sean Rohead [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 1:42 AM To: [EMAIL PROTECTED] Subject: Bug 3304 I wanted to lobby for bug 3304 as an enhancement. I have an ant script which calls subordinate ant scripts using the ant task. I would like to pass the build target to the subordinate scripts so they can execute the same target as the parent (ie. 'ant compile' calls the compile target on the subordinate projects). Without a means of accessing the target name, I would have to hardcode the target and therefore need to place ant tasks within every single target in the parent build file. Am I missing something? Is there another way to accomplish this without a standard ant.target.name property? Thanks, Sean Rohead
DO NOT REPLY [Bug 20053] - Method required to clear down the recorderEntries Hashtable in the ANT 1.5.3 Recorder Class
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20053. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20053 Method required to clear down the recorderEntries Hashtable in the ANT 1.5.3 Recorder Class --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 07:27 --- Auto-clearing the cache on the buildFinished event will work fine. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23272] - CVS task over ssh blocks execution
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23272. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23272 CVS task over ssh blocks execution --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 07:48 --- A final note: The problem appears to be a CVS problem, in the end. With WinCVS 1.3.13.1 (which includes CVSNT), the child ssh process terminates correctly when the cvs process is finished, at least with plink. There still appears to be a problem when using :extssh:, however, which is strange since in theory that just uses putty. Cheers, Dave. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Bug 3304
Maybe the subant task could be modified to use the current target (the target in which the subant task is contained) as the default, instead of the called project's default target. That's how my own subant works and I think it is a reasonable default. -- knut Sean Rohead [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I wanted to lobby for bug 3304 as an enhancement. I have an ant script which calls subordinate ant scripts using the ant task. I would like to pass the build target to the subordinate scripts so they can execute the same target as the parent (ie. 'ant compile' calls the compile target on the subordinate projects). Without a means of accessing the target name, I would have to hardcode the target and therefore need to place ant tasks within every single target in the parent build file. Am I missing something? Is there another way to accomplish this without a standard ant.target.name property? Thanks, Sean Rohead - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23380] New: - jspc echo
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23380. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23380 jspc echo Summary: jspc echo Product: Ant Version: 1.5.4 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When I use the optional task jspc ant echoes the following text; [jspc] Compiling 2 source filesC:\Projects\ASYNJA\asynja\build\WEB-INF\jspc I think the output should include white space like this: [jspc] Compiling 2 source files to C:\Projects\ASYNJA\asynja\build\WEB-INF\jspc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23380] - jspc echo
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23380. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23380 jspc echo --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 10:00 --- Actually it would be even better if the output was something like this; [jspc] Creating 2 source files in C:\Projects\ASYNJA\asynja\build\WEB-INF\jspc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23382] New: - invalid javadoc command line on win32
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23382. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23382 invalid javadoc command line on win32 Summary: invalid javadoc command line on win32 Product: Ant Version: 1.5.4 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] A simple javadoc task with header: javadoc destdir=doc/hacking/javadoc sourcepath=classes packagenames=org.makumba classpathref=project.class.path header EVEYTHING IS OK 'SO'FAR' ... BUT THESE WORDS WILL BE UNDERSTOOD AS PACKAGE NAMES /header /javadoc fails on Windows with: [javadoc] Generating Javadoc [javadoc] Javadoc execution [javadoc] javadoc: Illegal package name: NAMES [javadoc] [javadoc] Loading source files for package THESE... [javadoc] Loading source files for package WORDS... [javadoc] javadoc: Illegal package name: -classpath J:\util-java\lib\antlr.jar;J:\util-java\lib\cvsc.jar;J:\util-jav a\lib\junit.jar;J:\util-java\lib\mysql.jar;J:\util-java\lib\postgresql.jar;J:\util-java\lib\postgresql2.jar;J:\util-java \lib\swing.jar;J:\util-java\tomcat-4.1\common\lib\servlet.jar -sourcepath J:\sources\makumba\classes -version -author or g.makumba [javadoc] javadoc: warning - No source files for package THESE [javadoc] Loading source files for package WILL... [javadoc] javadoc: warning - No source files for package WORDS [javadoc] javadoc: warning - No source files for package WILL [javadoc] Loading source files for package BE... [javadoc] javadoc: warning - No source files for package BE [javadoc] Loading source files for package UNDERSTOOD... [javadoc] javadoc: warning - No source files for package UNDERSTOOD [javadoc] Loading source files for package AS... [javadoc] javadoc: warning - No source files for package AS [javadoc] Loading source files for package PACKAGE... [javadoc] javadoc: warning - No source files for package PACKAGE [javadoc] 2 errors [javadoc] 7 warnings Relevant part of ant -debug output is: ... [javadoc] scanning J:\sources\makumba\classes for packages. DirSet: Setup scanner in dir J:\sources\makumba\classes with patternSet{ includes: [org/makumba] excludes: [] } [javadoc] Generating Javadoc fileset: Setup scanner in dir J:\util-java\lib with patternSet{ includes: [**/*.jar] excludes: [**/makumba.jar] } fileset: Setup scanner in dir J:\util-java\tomcat-4.1\common\lib with patternSet{ includes: [**/servlet.jar] excludes: [ ] } [javadoc] Executing 'J:\j2sdk1.4.2_01\bin\javadoc.exe' with arguments: [javadoc] '-d' [javadoc] 'J:\sources\makumba\doc\hacking\javadoc' [javadoc] '-header' [javadoc] ' [javadoc]EVEYTHING IS OK 'SO'FAR' ... BUT [javadoc] [javadoc]THESE WORDS WILL BE UNDERSTOOD AS PACKAGE NAMES [javadoc] ' [javadoc] '-classpath' [javadoc] 'J:\util-java\lib\antlr.jar;J:\util-java\lib\cvsc.jar;J:\util-java\lib\junit.jar;J:\util-java\lib\mysql.jar; J:\util-java\lib\postgresql.jar;J:\util-java\lib\postgresql2.jar;J:\util-java\lib\swing.jar;J:\util-java\tomcat-4.1\comm on\lib\servlet.jar' [javadoc] '-sourcepath' [javadoc] 'J:\sources\makumba\classes' [javadoc] '-version' [javadoc] '-author' [javadoc] 'org.makumba' [javadoc] [javadoc] The ' characters around the executable and arguments are [javadoc] not part of the command. [javadoc] Javadoc execution Execute:Java13CommandLauncher: Executing 'J:\j2sdk1.4.2_01\bin\javadoc.exe' with arguments: '-d' 'J:\sources\makumba\doc\hacking\javadoc' '-header' ' EVEYTHING IS OK 'SO'FAR' ... BUT THESE WORDS WILL BE UNDERSTOOD AS PACKAGE NAMES ' '-classpath' 'J:\util-java\lib\antlr.jar;J:\util-java\lib\cvsc.jar;J:\util-java\lib\junit.jar;J:\util-java\lib\mysql.jar;J:\util-java \lib\postgresql.jar;J:\util-java\lib\postgresql2.jar;J:\util-java\lib\swing.jar;J:\util-java\tomcat-4.1\common\lib\servl et.jar' '-sourcepath' 'J:\sources\makumba\classes' '-version' '-author' 'org.makumba' The ' characters around the executable and arguments are not part of the command. [javadoc] javadoc: Illegal package name: NAMES [javadoc] [javadoc] Loading source files for package THESE... [javadoc] Loading source files for package WORDS... [javadoc] javadoc: Illegal package name: -classpath J:\util-java\lib\antlr.jar;J:\util-java\lib\cvsc.jar;J:\util-jav
DO NOT REPLY [Bug 23382] - invalid javadoc command line on win32
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23382. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23382 invalid javadoc command line on win32 --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 11:11 --- some more details: -specifying whole header as CDATA has the same result -in some cases double quotes () in header are _missing_ from resulting HTML files, while single quotes are always present. -there are no such problems on linux The full (real life) problematic buildfile is at http://cvs.makumba.org/build.xml , with bug described at http://bugzilla.makumba.org/show_bug.cgi?id=593 The diff of the bugfix is available at: http://cvs.makumba.org/build.xml.diff?r1=2.14r2=2.15f=h - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/script ant.bat
conor 2003/09/24 07:32:11 Modified:.Tag: ANT_16_BRANCH build.bat src/main/org/apache/tools/ant/launch Tag: ANT_16_BRANCH Launcher.java src/script Tag: ANT_16_BRANCH ant.bat Log: Update Windows scripts to support multiple -lib option Revision ChangesPath No revision No revision 1.38.2.1 +3 -10 ant/build.bat Index: build.bat === RCS file: /home/cvs/ant/build.bat,v retrieving revision 1.38 retrieving revision 1.38.2.1 diff -u -w -u -r1.38 -r1.38.2.1 --- build.bat 11 Aug 2003 13:18:19 - 1.38 +++ build.bat 24 Sep 2003 14:32:10 - 1.38.2.1 @@ -3,7 +3,6 @@ REM Copyright (c) 2000-2002 The Apache Software Foundation. All rights REM reserved. -set OLDCLASSPATH=%CLASSPATH% set REAL_ANT_HOME=%ANT_HOME% set ANT_HOME=bootstrap if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap\bin\lcp.bat if exist bootstrap\bin\antRun.bat goto runAnt @@ -13,21 +12,15 @@ goto cleanup :runAnt -set LOCALCLASSPATH= -for %%i in (lib\optional\*.jar) do call bootstrap\bin\lcp.bat %%i -set CLASSPATH=lib\optional\xalanj1compat.jar;%LOCALCLASSPATH%;%CLASSPATH% -set LOCALCLASSPATH= - if not %REAL_ANT_HOME% == goto install_ant -call bootstrap\bin\ant.bat -emacs %1 %2 %3 %4 %5 %6 %7 %8 %9 +call bootstrap\bin\ant.bat -lib lib/optional %1 %2 %3 %4 %5 %6 %7 %8 %9 goto cleanup :install_ant -call bootstrap\bin\ant.bat -emacs -Dant.install=%REAL_ANT_HOME% %1 %2 %3 %4 %5 %6 %7 %8 %9 +call bootstrap\bin\ant.bat -lib lib/optional -Dant.install=%REAL_ANT_HOME% %1 %2 %3 %4 %5 %6 %7 %8 %9 rem clean up :cleanup set ANT_HOME=%REAL_ANT_HOME% set REAL_ANT_HOME= -set CLASSPATH=%OLDCLASSPATH% -set OLDCLASSPATH= + No revision No revision 1.5.2.3 +4 -0 ant/src/main/org/apache/tools/ant/launch/Launcher.java Index: Launcher.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/launch/Launcher.java,v retrieving revision 1.5.2.2 retrieving revision 1.5.2.3 diff -u -w -u -r1.5.2.2 -r1.5.2.3 --- Launcher.java 23 Sep 2003 15:40:36 - 1.5.2.2 +++ Launcher.java 24 Sep 2003 14:32:10 - 1.5.2.3 @@ -193,6 +193,10 @@ // now update the class.path property StringBuffer baseClassPath = new StringBuffer(System.getProperty(java.class.path)); +if (baseClassPath.charAt(baseClassPath.length() - 1) +== File.pathSeparatorChar) { +baseClassPath.setLength(baseClassPath.length() - 1); +} for (int i = 0; i jars.length; ++i) { baseClassPath.append(File.pathSeparatorChar); No revision No revision 1.32.2.2 +4 -6 ant/src/script/ant.bat Index: ant.bat === RCS file: /home/cvs/ant/src/script/ant.bat,v retrieving revision 1.32.2.1 retrieving revision 1.32.2.2 diff -u -w -u -r1.32.2.1 -r1.32.2.2 --- ant.bat 22 Sep 2003 21:15:41 - 1.32.2.1 +++ ant.bat 24 Sep 2003 14:32:10 - 1.32.2.2 @@ -54,7 +54,6 @@ :checkJava set _JAVACMD=%JAVACMD% -set LOCALCLASSPATH=%ANT_HOME%\lib\ant-launcher.jar if %JAVA_HOME% == goto noJavaHome if not exist %JAVA_HOME%\bin\java.exe goto noJavaHome @@ -69,24 +68,23 @@ :runAnt if not %CLASSPATH%== goto runAntWithClasspath -%_JAVACMD% %ANT_OPTS% -classpath %LOCALCLASSPATH% -Dant.home=%ANT_HOME% org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS% +%_JAVACMD% %ANT_OPTS% -classpath %ANT_HOME%\lib\ant-launcher.jar -Dant.home=%ANT_HOME% org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS% goto end :runAntWithClasspath -%_JAVACMD% %ANT_OPTS% -classpath %LOCALCLASSPATH% -Dant.home=%ANT_HOME% org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS% -lib %CLASSPATH% +%_JAVACMD% %ANT_OPTS% -classpath %ANT_HOME%\lib\ant-launcher.jar -Dant.home=%ANT_HOME% org.apache.tools.ant.launch.Launcher %ANT_ARGS% -lib %CLASSPATH% %ANT_CMD_LINE_ARGS% goto end :runAntWithJikes if not %CLASSPATH%== goto runAntWithJikesAndClasspath -%_JAVACMD% %ANT_OPTS% -classpath %LOCALCLASSPATH% -Dant.home=%ANT_HOME% -Djikes.class.path=%JIKESPATH% org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS% +%_JAVACMD% %ANT_OPTS% -classpath %ANT_HOME%\lib\ant-launcher.jar -Dant.home=%ANT_HOME% -Djikes.class.path=%JIKESPATH% org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS% goto end :runAntWithJikesAndClasspath -%_JAVACMD% %ANT_OPTS% -classpath
cvs commit: ant/src/script ant ant.bat
conor 2003/09/24 07:52:47 Modified:.build.bat build.sh src/main/org/apache/tools/ant/launch Launcher.java src/script ant ant.bat Log: merge Revision ChangesPath 1.39 +3 -10 ant/build.bat Index: build.bat === RCS file: /home/cvs/ant/build.bat,v retrieving revision 1.38 retrieving revision 1.39 diff -u -w -u -r1.38 -r1.39 --- build.bat 11 Aug 2003 13:18:19 - 1.38 +++ build.bat 24 Sep 2003 14:52:47 - 1.39 @@ -3,7 +3,6 @@ REM Copyright (c) 2000-2002 The Apache Software Foundation. All rights REM reserved. -set OLDCLASSPATH=%CLASSPATH% set REAL_ANT_HOME=%ANT_HOME% set ANT_HOME=bootstrap if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap\bin\lcp.bat if exist bootstrap\bin\antRun.bat goto runAnt @@ -13,21 +12,15 @@ goto cleanup :runAnt -set LOCALCLASSPATH= -for %%i in (lib\optional\*.jar) do call bootstrap\bin\lcp.bat %%i -set CLASSPATH=lib\optional\xalanj1compat.jar;%LOCALCLASSPATH%;%CLASSPATH% -set LOCALCLASSPATH= - if not %REAL_ANT_HOME% == goto install_ant -call bootstrap\bin\ant.bat -emacs %1 %2 %3 %4 %5 %6 %7 %8 %9 +call bootstrap\bin\ant.bat -lib lib/optional %1 %2 %3 %4 %5 %6 %7 %8 %9 goto cleanup :install_ant -call bootstrap\bin\ant.bat -emacs -Dant.install=%REAL_ANT_HOME% %1 %2 %3 %4 %5 %6 %7 %8 %9 +call bootstrap\bin\ant.bat -lib lib/optional -Dant.install=%REAL_ANT_HOME% %1 %2 %3 %4 %5 %6 %7 %8 %9 rem clean up :cleanup set ANT_HOME=%REAL_ANT_HOME% set REAL_ANT_HOME= -set CLASSPATH=%OLDCLASSPATH% -set OLDCLASSPATH= + 1.36 +1 -26 ant/build.sh Index: build.sh === RCS file: /home/cvs/ant/build.sh,v retrieving revision 1.35 retrieving revision 1.36 diff -u -w -u -r1.35 -r1.36 --- build.sh 11 Aug 2003 13:18:19 - 1.35 +++ build.sh 24 Sep 2003 14:52:47 - 1.36 @@ -28,31 +28,6 @@ exit fi -LOCALCLASSPATH= -# add in the dependency .jar files -DIRLIBS=lib/optional/*.jar -for i in ${DIRLIBS} -do -if [ $i != ${DIRLIBS} ] ; then -LOCALCLASSPATH=$LOCALCLASSPATH:$i -fi -done - -# make sure the classpath is in unix format -if $cygwin ; then -CLASSPATH=`cygpath --path --unix $CLASSPATH` -fi - -CLASSPATH=$LOCALCLASSPATH:$CLASSPATH - -# switch back to Windows format -if $cygwin ; then -CLASSPATH=`cygpath --path --windows $CLASSPATH` -fi - -export CLASSPATH - - if [ $REALANTHOME != ] ; then if $cygwin; then REALANTHOME=`cygpath --path --windows $REALANTHOME` @@ -62,5 +37,5 @@ ANT_INSTALL=-emacs fi -bootstrap/bin/ant $ANT_INSTALL $* +bootstrap/bin/ant -lib lib/optional $ANT_INSTALL $* 1.8 +50 -37ant/src/main/org/apache/tools/ant/launch/Launcher.java Index: Launcher.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/launch/Launcher.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -w -u -r1.7 -r1.8 --- Launcher.java 23 Sep 2003 22:42:23 - 1.7 +++ Launcher.java 24 Sep 2003 14:52:47 - 1.8 @@ -58,6 +58,10 @@ import java.net.MalformedURLException; import java.io.File; import java.util.StringTokenizer; +import java.util.List; +import java.util.ArrayList; +import java.util.Iterator; + /** * This is a launcher for Ant. @@ -118,43 +122,48 @@ throw new IllegalStateException(Ant home is set incorrectly or + ant could not be located); } -String libPath = ; -String[] newargs = null; -int argcount = -1; -for (argcount = 0; argcount args.length -1; argcount++) { -if (args[argcount].equals(-lib)) { -libPath = args[argcount + 1]; -break; -} -} -if (args.length 0 args[args.length -1].equals(-lib)) { -// if the last argument is -lib -// remove it from the arguments passed to Launcher -// -newargs = new String[args.length - 1]; -System.arraycopy(args, 0, newargs, 0, args.length -1); -} else if (libPath.equals()) { - newargs = new String[args.length]; - System.arraycopy(args, 0, newargs, 0, args.length); + +List libPaths = new ArrayList(); +List argList = new ArrayList(); +String[] newArgs; + +for (int i = 0; i args.length; ++i) { +if (args[i].equals(-lib)) { +if (i == args.length - 1) { +throw new IllegalStateException(The -lib argument must +
DO NOT REPLY [Bug 23358] - dist/bin/ant complains of nonexistant -lib option
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23358. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23358 dist/bin/ant complains of nonexistant -lib option [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 14:56 --- Please try now - should be available on both the 1.6 branch and HEAD. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23278] - Project.setName() does not replaceProperties()
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23278. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23278 Project.setName() does not replaceProperties() --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 15:08 --- I'd day it is intended for project as well. I don't think the project name should be controlled through a property. What would be the usecase for that? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Manifest.java
conor 2003/09/24 08:11:13 Modified:src/main/org/apache/tools/ant/taskdefs Manifest.java Log: Add warning for multiple classpaths Revision ChangesPath 1.49 +4 -0 ant/src/main/org/apache/tools/ant/taskdefs/Manifest.java Index: Manifest.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Manifest.java,v retrieving revision 1.48 retrieving revision 1.49 diff -u -w -u -r1.48 -r1.49 --- Manifest.java 15 Sep 2003 16:55:01 - 1.48 +++ Manifest.java 24 Sep 2003 15:11:13 - 1.49 @@ -619,6 +619,10 @@ if (classpathAttribute == null) { storeAttribute(attribute); } else { +warnings.addElement(Multiple Class-Path attributes ++ are supported but violate the Jar ++ specification and may not be correctly ++ processed in all environments); Enumeration e = attribute.getValues(); while (e.hasMoreElements()) { String value = (String) e.nextElement(); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Manifest.java
conor 2003/09/24 08:12:50 Modified:src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH Manifest.java Log: Add warning for multiple classpaths Revision ChangesPath No revision No revision 1.48.2.1 +4 -0 ant/src/main/org/apache/tools/ant/taskdefs/Manifest.java Index: Manifest.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Manifest.java,v retrieving revision 1.48 retrieving revision 1.48.2.1 diff -u -w -u -r1.48 -r1.48.2.1 --- Manifest.java 15 Sep 2003 16:55:01 - 1.48 +++ Manifest.java 24 Sep 2003 15:12:49 - 1.48.2.1 @@ -619,6 +619,10 @@ if (classpathAttribute == null) { storeAttribute(attribute); } else { +warnings.addElement(Multiple Class-Path attributes ++ are supported but violate the Jar ++ specification and may not be correctly ++ processed in all environments); Enumeration e = attribute.getValues(); while (e.hasMoreElements()) { String value = (String) e.nextElement(); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23358] - dist/bin/ant complains of nonexistant -lib option
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23358. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23358 dist/bin/ant complains of nonexistant -lib option [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 15:29 --- Yup works for me now. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/ant/taskdefs LoadProperties.java
peterreilly2003/09/24 08:51:27 Modified:src/main/org/apache/tools/ant/taskdefs LoadProperties.java Log: get loadproperties to check the size of the file before attemting to read it Revision ChangesPath 1.17 +5 -0 ant/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java Index: LoadProperties.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- LoadProperties.java 19 Jul 2003 11:20:12 - 1.16 +++ LoadProperties.java 24 Sep 2003 15:51:27 - 1.17 @@ -137,6 +137,11 @@ throw new BuildException(Source file is not a file.); } +// Check if the source file is empty +if (srcFile.length() == 0) { +return; +} + FileInputStream fis = null; BufferedInputStream bis = null; Reader instream = null; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/ant/taskdefs LoadProperties.java
peterreilly2003/09/24 08:51:59 Modified:src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH LoadProperties.java Log: get loadproperties to check the size of the file before attemting to read it Revision ChangesPath No revision No revision 1.16.2.1 +5 -0 ant/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java Index: LoadProperties.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java,v retrieving revision 1.16 retrieving revision 1.16.2.1 diff -u -r1.16 -r1.16.2.1 --- LoadProperties.java 19 Jul 2003 11:20:12 - 1.16 +++ LoadProperties.java 24 Sep 2003 15:51:59 - 1.16.2.1 @@ -137,6 +137,11 @@ throw new BuildException(Source file is not a file.); } +// Check if the source file is empty +if (srcFile.length() == 0) { +return; +} + FileInputStream fis = null; BufferedInputStream bis = null; Reader instream = null; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/ant/taskdefs LoadProperties.java
peterreilly2003/09/24 08:58:13 Modified:src/main/org/apache/tools/ant/taskdefs LoadProperties.java Log: Roll back check on size of file as it does not deal with a prepend/append filter. Just use the default size in ChainReaderHelper rather that the filesize as the file could be very big. Revision ChangesPath 1.18 +0 -7 ant/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java Index: LoadProperties.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- LoadProperties.java 24 Sep 2003 15:51:27 - 1.17 +++ LoadProperties.java 24 Sep 2003 15:58:13 - 1.18 @@ -137,18 +137,12 @@ throw new BuildException(Source file is not a file.); } -// Check if the source file is empty -if (srcFile.length() == 0) { -return; -} - FileInputStream fis = null; BufferedInputStream bis = null; Reader instream = null; try { final long len = srcFile.length(); -final int size = (int) len; //open up the file fis = new FileInputStream(srcFile); @@ -160,7 +154,6 @@ } ChainReaderHelper crh = new ChainReaderHelper(); -crh.setBufferSize(size); crh.setPrimaryReader(instream); crh.setFilterChains(filterChains); crh.setProject(getProject()); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/ant/taskdefs LoadProperties.java
peterreilly2003/09/24 08:59:36 Modified:src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH LoadProperties.java Log: Redo file size = 0 fix for loadproperties use the default buffer size in ChainReaderHelper rather than the file size. Revision ChangesPath No revision No revision 1.16.2.2 +0 -7 ant/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java Index: LoadProperties.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java,v retrieving revision 1.16.2.1 retrieving revision 1.16.2.2 diff -u -r1.16.2.1 -r1.16.2.2 --- LoadProperties.java 24 Sep 2003 15:51:59 - 1.16.2.1 +++ LoadProperties.java 24 Sep 2003 15:59:36 - 1.16.2.2 @@ -137,18 +137,12 @@ throw new BuildException(Source file is not a file.); } -// Check if the source file is empty -if (srcFile.length() == 0) { -return; -} - FileInputStream fis = null; BufferedInputStream bis = null; Reader instream = null; try { final long len = srcFile.length(); -final int size = (int) len; //open up the file fis = new FileInputStream(srcFile); @@ -160,7 +154,6 @@ } ChainReaderHelper crh = new ChainReaderHelper(); -crh.setBufferSize(size); crh.setPrimaryReader(instream); crh.setFilterChains(filterChains); crh.setProject(getProject()); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 18391] - RFE : ignoreMissingBuildFiles option for subant
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18391. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18391 RFE : ignoreMissingBuildFiles option for subant --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 16:21 --- Created an attachment (id=8333) Since I had to re-add this for my build to work with 1.7alpha, here is the patch recreated vs the latest CVS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Ant 1.6 - Exception while declaring path
Hi, I am seeing the following message: Caught exception (org.apache.tools.ant.BuildException) while expanding jboss.classpath: C:\views\klavergn_synergy_1.0\Public\${jboss.baseserver.dir}\lib not found. In my buildfile, I am declaring a path element inside a target. This target is called (through depends) from the init target. I see this same message several times before the target that actually declares the path gets executed. When the target does get executed, I see the following: Overriding previous definition of reference to jboss.classpath According to my understanding, the reference should not exist until the target that declares the path is executed. Any help would be appreciated. Thanks, Kevin LaVergne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Ant 1.6 - ejbjar task logging warning with JBoss deployment tool
Hi, In Ant 1.6 there is a change to the JBoss deployment tool to pick up the CMP deployment descriptor if the cmpversion attribute is 2.0. If the deployment descriptor (jbosscmp-jdbc.xml) is not there, it logs the following warning: [ejbjar] Unable to locate jboss cmp descriptor. It was expected to be in C:\views\klavergn_synergy_1.0\Public\build\tmp\ejbjars\duplicateprocess\jbosscmp-jdbc.xml The problem is that there are no CMP beans that will go in this jar file so this warning is not valid. We are using the directory naming strategy for our EJBs and we have some that have CMP beans and others that do not. ejbjar descriptordir=${ejbjars.tmp.dir} srcdir=${classes.dir} destdir=${ejb-jars.dir} naming=directory dependency=full cmpversion=2.0 JBoss does not require that the jbosscmp-jdbc.xml file exist in the EJB jar file if there are no CMP beans. Because of this, I don't think that the warning should be written to the log if there are no CMP beans for the jar file. This is just a warning so I can live with it, but I'm sure that it will get annoying after a while of seeing it. Thanks, Kevin LaVergne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ant 1.6 - Exception while declaring path
Can you give an example of the build file where this happens? Peter On Wednesday 24 September 2003 17:39, Kevin LaVergne wrote: Hi, I am seeing the following message: Caught exception (org.apache.tools.ant.BuildException) while expanding jboss.classpath: C:\views\klavergn_synergy_1.0\Public\${jboss.baseserver.dir}\lib not found. In my buildfile, I am declaring a path element inside a target. This target is called (through depends) from the init target. I see this same message several times before the target that actually declares the path gets executed. When the target does get executed, I see the following: Overriding previous definition of reference to jboss.classpath According to my understanding, the reference should not exist until the target that declares the path is executed. Any help would be appreciated. Thanks, Kevin LaVergne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ReplaceTest failing under cygwin
...Regarding the last section about the XML-parser sending af single '\n' - I belive that from at least XML 1.1 it is mandatory for XML-parsers to send a single '\n' up to applications disregarding platform and actual EOL-marker within input-files parsed (with the purpose of simplifying processing within applications, I believe) - perhaps the existing parser already does this... Just a thought, have no idea if it applies here. Regards, Morten Sabroe Mortensen -Original Message- From: Antoine Lévy-Lambert [mailto:[EMAIL PROTECTED] Sent: 23. september 2003 12:23 To: Ant Developers List Subject: ReplaceTest failing under cygwin ReplaceTest fails under cygwin. [junit] Testcase: test9 took 0,13 sec [junit]FAILED [junit] expected:10 but was:13 [junit] junit.framework.AssertionFailedError: expected:10 but was:13 This has to do with the fact that the Replace task changes the line endings of tokens and values to System.getProperty(line.separator), but that the files used for the tests are terminated with \n only when one uses the cvs.exe of cygwin. I can think of several ways of fixing this : - the easiest would be to change the Replace task, not to touch the line endings of tokens and values at all. After all, I do not know why they get such a special treatment. But this would also be a backward incompatible change, - adding an enumerated attribute eol (like in the fixcrlf task) to the nested elements replacetoken/, replacevalue/, replacefilter/. Like in the fixcrlf task, the platform's line separator would be the default there, and asis would be used to run the test(s) with predictable results. Is the reason why line endings of tokens and values in replace/ are manipulated that, when they are read from ![CDATA[, the xml parser sends to ant \n as line separator also on Windows, which is generally not what is desired ? When on the contrary the replacetoken or replacevalue come from a property, the build file writer is fully in control of the flavour of the line endings of the tokens and values and would not need any special manipulation. Cheers, Antoine - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ant 1.6 - Exception while declaring path
Peter, It took me a little while, but I figured it out. I had another path declaration that was not in a target that depended on one that was in the target. Because of this I was getting the error message whenever the buildfile was loaded. I saw it several times because I had some antcall tasks that loaded the buildfile each time it was executed. Thank you for your time. Kevin At 12:00 PM 9/24/2003, you wrote: Can you give an example of the build file where this happens? Peter On Wednesday 24 September 2003 17:39, Kevin LaVergne wrote: Hi, I am seeing the following message: Caught exception (org.apache.tools.ant.BuildException) while expanding jboss.classpath: C:\views\klavergn_synergy_1.0\Public\${jboss.baseserver.dir}\lib not found. In my buildfile, I am declaring a path element inside a target. This target is called (through depends) from the init target. I see this same message several times before the target that actually declares the path gets executed. When the target does get executed, I see the following: Overriding previous definition of reference to jboss.classpath According to my understanding, the reference should not exist until the target that declares the path is executed. Any help would be appreciated. Thanks, Kevin LaVergne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JUnit task - forking only once for a batch
On Tue, 23 Sep 2003, Philip Aston wrote: I finally got fed up with the cost of forking a new process for every test (~1 second in my environment). I've hacked junit/ to support a new type of batchtest/ where where all of the tests are executed in a single sub-process. *Much* faster. I'm quite willing to clean this up and submit it as a patch; but first I have some questions: 1. Is there planned support for this already? 2. If not, who maintains the JUnit task, and would they like batchtest fork=single/ 3. If they would, which version of ANT should I base the patch on? How is this different from just specifying fork=no? If you have more than one batchtest, does each set get forked separately? -- Jim Dixon [EMAIL PROTECTED] tel +44 117 982 0786 mobile +44 797 373 7881 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: ant/src/main/org/apache/tools/ant Main.java
The attached patch should make the python script work. --knut Yes, I do not know python, so please do !!! I did not change the os/2 script either. begin 666 runant-python-launcher-patch.txt [EMAIL PROTECTED](')U;F%N=YP0T*/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/0T*4D-3 M(9I;4Z(]H;VUE+V-VW!U8FQI8R]A;G0OW)C+W-CFEP=]R=6YA;G0N M'[EMAIL PROTECTED]F5TFEE=FEN9R!R979IVEO;B Q+C0-[EMAIL PROTECTED]@+7(Q+C0@ MG5N86YT+G!Y#0HM+2T@G5N86YT+G!Y3(U($%U9R R,# S(# W.C,V.C$Y M(TP,# P3$N- T**RLK(')U;F%N=YP0DR-!397 @,C P,R R,3HU-SHT M,2 M,# P, T*0$ @+3$W+#@[EMAIL PROTECTED] -B @07-S=6UP=EO;G,Z#0H@ M#0H@([EMAIL PROTECTED]AE()J879A(B!E5C=71A8FQE+W-CFEP=!IR!O;B!T:4@ M8V]M;6%N9!P871H#0HM([EMAIL PROTECTED]/344@:%S()E96X@V5T#0H@(B(B M#0H@:6UP;W)T(]S+!ORYP871H+!S=')I;FL('-YPT*( T*0$ @+3(U M+#4R(LR-PV,B! 0 T*(1E8G5G(#T@, T*( T*(,C(R,C(R,C(R,C(R,C M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C M(R,C(R,C(R,C(R,C#0HM(PT*+2,@[EMAIL PROTECTED]\@;6%K92!S=7)E(5N=FER M;VYM96YT(ES('-E='5P#0HM(PT**PT**R,@[EMAIL PROTECTED]/344@:7,@;F]T M('-E=!D969A=6QT('1O('-CFEP==S('!AF5N=!D:7)E8W1OGD-B!I M9B!ORYE;G9IF]N+FAAU]K97DH)T%.5%](3TU%)RDZ#0H@( @($%.5%]( M3TU%(#T@;W,N96YV:7)O;ELG04Y47TA/344G70T*(5LV4Z#0H@( @($%. M5%](3TU%(#T@;W,N%T:YD:7)N86UE*]S+G!A=@N9ER;F%M92AORYP M871H+F%BW!A=@HWES+F%R9W9;,%TI*2D-B -BTC($%D9!J87(@9FEL M97,-BLC('-E=!!3E1?3$E(QO8V%T:[EMAIL PROTECTED])0B ](]S+G!A M=@N:F]I;BA!3E1?2$]-12P@)VQI8B[EMAIL PROTECTED]([EMAIL PROTECTED] H [EMAIL PROTECTED]:6%B;5S([EMAIL PROTECTED]($I!5D%?2$]-12D-BM*059! M0TU$([EMAIL PROTECTED](EF(YO=!ORYE;G9IF]N+FAAU]K97DH)TI!5D%# M340G*3H-BT@( @2D%604--1 ](=J879A)PT**R @(!I9B!ORYE;G9I MF]N+FAAU]K97DH)TI!5D%?2$]-12[EMAIL PROTECTED] @( @( @:68@;F]T(]S M+G!A=@N97AIW1S*]S+F5N=FER;VY;)TI!5D%?2$]-12==*3H-BL@( @ M( @( @(!PFEN= B5V%R;[EMAIL PROTECTED](3TU%(ES(YO=!D969I M;F5D(-OG)E8W1L2XB#0HK( @( @(!E;'[EMAIL PROTECTED] @( @( @( @ M($I!5D%#340@/2!ORYP871H+FIO:6XH;W,N96YV:7)O;ELG2D%605](3TU% M)UTL(=B:6XG+ G:F%V82I#0HK( @(5LV4Z#0HK( @( @(!PFEN M= B5V%R;[EMAIL PROTECTED](3TU%(YO=!S970N(@T*(5LV4Z#0H@( @ M($I!5D%#340@/2!ORYE;G9IF]N6R=*059!0TU$)UT-BT-BTC($)U:6QD M('5P('-T86YD87)D(-L87-S%T: T*+6QO8V%L%T: ](G#0HM:68@ M;W,N96YV:7)O;BYH87-?:V5Y*[EMAIL PROTECTED]BT@( @;]C86QP M871H(#T@;W,N96YV:7)O;ELG0TQ!4U-0051()UT-BUE;'[EMAIL PROTECTED] @(!I M9B!D96)U9SH-BT@( @( @('!R:6YT(=787)N:6YG.B!N;R!I;FET:6%L M(-L87-S%T:%QN)PT**VEF(YO=[EMAIL PROTECTED] @(!*059!0TU$ M(#T@)[EMAIL PROTECTED]@;%U;F-H97)?:F%R(#T@;W,N%T:YJ;VEN*$%. M5%],24(L(=A;G0M;%U;F-H97(N:F%R)RD-B!I9B!N;W0@;W,N%T:YE MES=',H;%U;F-H97)?:F%R*3H-B @( @')I;G0@)U5N86)L92!T;R!L M;V-A=[EMAIL PROTECTED]:5R+FIA[EMAIL PROTECTED]@=[EMAIL PROTECTED]!I=!I M;B ER@)2!#0H@( @( @(!!3E1?3$E#0HM:68@;[EMAIL PROTECTED] M+2 @(!L;V-A;'!A=@@/2!L875N8VAEE]J87(@*R!ORYP871HV5P(L@ M;]C86QP871H#0HM96QS93H-BT@( @;]C86QP871H(#T@;%U;F-H97)? M:[EMAIL PROTECTED],@/2!;70T**R,@0G5I;[EMAIL PROTECTED] @W1A;F1AF0@ M8VQAW-P871H(A,3T-!3$-,05-34$%42D-BM,3T-!3$-,05-34$%42 ] M(QA=6YC:5R7VIA@T**VEF(]S+F5N=FER;VXN:%S7VME[EMAIL PROTECTED] [EMAIL PROTECTED]BL@( @3$]#04Q#3$%34U!!5$@@*ST@;W,N%T:'-E M K(]S+F5N=FER;VY;)TQ/0T%,0TQ!4U-0051()UT-BL-BM!3E1?3U!4 M4R ]((B#0H@:68@;W,N96YV:7)O;BYH87-?:V5Y*=!3E1?3U!44R[EMAIL PROTECTED] M+2 @(!!3E1?3U!44R ]('-TFEN9RYSQI=AORYE;G9IF]N6R=!3E1? M3U!44R==*0T**R @(!!3E1?3U!44R ](]S+F5N=FER;VY;)T%.5%]/4%13 M)UT-B -BU/4%13([EMAIL PROTECTED]BM/4%13(#T@(B(-B!I9B!ORYE;G9IF]N M+FAAU]K97DH)TI)2T534$%42[EMAIL PROTECTED] @(!/4%13+F%P5N9@G+41J M:6MERYC;%SRYP871H/2@*R!ORYE;G9I[EMAIL PROTECTED] MBL@( @3U!44R ](M1II:V5S+F-L87-S+G!A=@]7(EUPB)R E(]S M+F5N=FER;VY;)TI)2T534$%42==#0HK#0HK04Y47T%21U,@/2 B(@T**VEF M(]S+F5N=FER;VXN:%S7VME[EMAIL PROTECTED],G*3H-BL@( @04Y47T%2 M1U,@/2!ORYE;G9IF]N6R=!3E1?05)'4R==#0HK#0HK0TQ!4U-0051((#T@ M(B(-BMI9B!ORYE;G9IF]N+FAAU]K97DH)T-,05-34$%42[EMAIL PROTECTED] @ M(!#3$%34U!!5$@@/2!ORYE;G9I[EMAIL PROTECTED]( T*(,@ M0G5I;1S('1H92!C;VUM86YD;EN90T*+6-M9QI;F4@/2 H)R5S(5S(UC M;%SW!A=@@)7,@+41A;G0N:]M93U(B5S7(@)7,@)R K(%P-BT@( @ M)V]R9RYA%C:4N=]O;',N86YT+FQA=6YC:Y,875N8VAEB ERI(%P- MBT@( @([EMAIL PROTECTED]('-TFEN9RYJ;VEN*$%.5%]/4%13+@)RDL M(QO8V%L%T:[EMAIL PROTECTED]/344L(%P-BT@( @( @('-TFEN9RYJ;VEN M*$]05%,L)R G*2P@W1R:6YG+FIO:6XHWES+F%R9W9;,3I=+ G(I*0T* M*V-M9QI;F4@/2 H)R5S(5S(UC;%SW!A=@@7(EUPB(%PB+41A;G0N M:]M93TEUPB(5S(@*R!#0HK( @(=OFN87!A8VAE+G1O;VQS+F%N M=[EMAIL PROTECTED]%U;F-H97(@)7,@+6QI8B!(B5S7(@7(EUPB)[EMAIL PROTECTED] T* M*R @( @)2 H2D%604--1[EMAIL PROTECTED],L($Q/0T%,0TQ!4U-0051(+!! [EMAIL PROTECTED]@04Y47T%21U,L(%P-BL@( @( @($-,05-34$%4 M2P@W1R:6YG+FIO:6XHWES+F%R9W9;,3I=+ G(I*0T*( T*(EF(1E [EMAIL PROTECTED]( @(!PFEN= G7XEUQN7XG([EMAIL PROTECTED]-M9QI;F4I#0H` ` end - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23395] New: - Adding property element to xmlvalidate
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23395. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23395 Adding property element to xmlvalidate Summary: Adding property element to xmlvalidate Product: Ant Version: 1.7Alpha (nightly) Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I needed a way to set properties on the XMLReader used for validation, by calling the method XMLReader.setProperty(String, Object). My need for this was to specify an external schema to validate an XML file with. Setting attributes can't get the job done since it only accepts booleans. It's a fairly simple patch. It includes a few new methods and an inner classes in XmlValidateTask which mimic the logic for setAttribute. I also added some test cases, and 2 test xml files, one which passes the schema and one which doesn't. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23395] - Adding property element to xmlvalidate
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23395. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23395 Adding property element to xmlvalidate --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 22:19 --- Created an attachment (id=8338) patch for XmlValidateTask - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23395] - Adding property element to xmlvalidate
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23395. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23395 Adding property element to xmlvalidate --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 22:20 --- Created an attachment (id=8339) XMLValidateTest patch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23395] - Adding property element to xmlvalidate
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23395. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23395 Adding property element to xmlvalidate --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 22:20 --- Created an attachment (id=8340) xmlvalidate.xml - patch for test build file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23395] - Adding property element to xmlvalidate
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23395. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23395 Adding property element to xmlvalidate --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 22:21 --- Created an attachment (id=8341) Test XML file which passes schema validation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23395] - Adding property element to xmlvalidate
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23395. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23395 Adding property element to xmlvalidate --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 22:21 --- Created an attachment (id=8342) Test XML file which fails schema validation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23396] New: - New optional task ejbclientjar added
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23396. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23396 New optional task ejbclientjar added Summary: New optional task ejbclientjar added Product: Ant Version: 1.7Alpha (nightly) Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] As I've been mailing a bit about on the dev-list, I've been working on a new optional task for generating ejb client jars. I now believe this task is ready for its first use, so I've produced at patch for you committers. I've also written testcases, javadoc and documentation! The testcase needs j2ee.jar in lib/optional for building and running (it builds a bean for testinput, which requires javax.ejb), but a condition in build.xml is controlling that. I'm a bit uncertain about what happens now. The patch I've made is against HEAD, which currently is 1.7alpha. Naturally, if it gets accepted by some committer, I would like to see it in the 1.6 branch too. I can produce a patch against that one too, if it is needed? Hmmm ... cannot find an attach button here in bugzilla. Maybe it is first possible when I've submitted - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23396] - New optional task ejbclientjar added
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23396. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23396 New optional task ejbclientjar added --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 22:29 --- Created an attachment (id=8343) ejbclientjar task patch against HEAD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23396] - New optional task ejbclientjar added
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23396. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23396 New optional task ejbclientjar added --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 22:30 --- Created an attachment (id=8344) ejbclientjar new files to go with patch against HEAD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23397] New: - Need attribute for target tag to indicate hidden/internal target
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23397. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23397 Need attribute for target tag to indicate hidden/internal target Summary: Need attribute for target tag to indicate hidden/internal target Product: Ant Version: 1.5.4 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I use my IDE (NetBeans) for most ant work. There are times when I need to create intermediate targets for the sake of modularity and code reuse. Unfortunately, all these extra targets show up as first-rate targets to be executed in my IDE. I've tried various target naming conventions to help highlight/lowlight primary/intermediate targets, but it's not great. If there were an attribute flag to indicate intermediate/private targets, then IDEs could optionally hide these targets. For example: target name=foo private=true This might also be useful if you ever add a list targets feature to the ant CLI. For example: ant -list [file] (list all primary targets) ant -list -all [file] (list private targets too) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 21543] - ejbjar should also produce EJB client files
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21543. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21543 ejbjar should also produce EJB client files --- Additional Comments From [EMAIL PROTECTED] 2003-09-24 22:41 --- As promised in the previous comment, I'm giving a small post here now, to note that I've just submitted a patch which adds a ejbclientjar task to ant. The patch can be found on bug 23396. Can you try it out Karsten? I would like any input on how it works for you (or anyone else :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]