DO NOT REPLY [Bug 11880] - Add '**/.DS_Store' to FileSet's default excludes list
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=11880. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=11880 Add '**/.DS_Store' to FileSet's default excludes list [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|CLOSED - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
using modified
I'm playing with the modifed selector. I'm using it to build the cache, then compile code, then run it again to build a set of files that changed to do hotswap on. Here is how I pre-load the cache. !-- no-op copy to build modified cache -- copy todir=build/classes fileset dir=build/classes modified seldirs=false / /fileset /copy I'd put an if condition around this in the future... Then... javac... Then, my hotswap hotswap verbose=true port=9000 fileset dir=build/classes modified seldirs=false / /fileset /hotswap The hotswap target reports that it wants to swap all of the class files! The thing is, none had changed! It seems like the modified selector isn't using the cache.properties file it already built! Any ideas? David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DateSelector patch
Here is a patch for the DateSelector. It allows it to take a pattern that defines how SimpleDateSelector parses dates. It allows it to deal with finer grained time stamps. I've added a parameter called pattern much like the format for tstamp takes. (In fact, just like it). If the pattern is supplied, it overrides the default date format of the DateSelector. I'd like to have this considered for addition into the next point release. It make the build.xml for the hotswap target much nicer and more straight forward. Matt, what do you think? Thanks, David *** DateSelector.javaTue Apr 6 00:14:35 2004 --- DateSelector.java.dakTue Apr 6 00:12:26 2004 *** *** 19,24 --- 19,25 import java.io.File; import java.text.DateFormat; + import java.text.SimpleDateFormat; import java.text.ParseException; import java.util.Locale; *** *** 40,45 --- 41,47 private boolean includeDirs = false; private int granularity = 0; private int cmp = 2; + private String pattern; /** Key to used for parameterized custom selector */ public static final String MILLIS_KEY = millis; /** Key to used for parameterized custom selector */ *** *** 50,55 --- 52,59 public static final String GRANULARITY_KEY = granularity; /** Key to used for parameterized custom selector */ public static final String WHEN_KEY = when; + /** Key to used for parameterized custom selector */ + public static final String PATTERN_KEY = pattern; /** * Creates a new codeDateSelector/code instance. *** *** 107,132 */ public void setDatetime(String dateTime) { this.dateTime = dateTime; - if (dateTime != null) { - DateFormat df = DateFormat.getDateTimeInstance( - DateFormat.SHORT, - DateFormat.SHORT, - Locale.US); - try { - setMillis(df.parse(dateTime).getTime()); - if (millis 0) { - setError(Date of + dateTime - + results in negative milliseconds value relative - + to epoch (January 1, 1970, 00:00:00 GMT).); - } - } catch (ParseException pe) { - setError(Date of + dateTime - + Cannot be parsed correctly. It should be in - + MM/DD/ HH:MM AM_PM format.); - } - } } /** * Should we be checking dates on directories? * --- 111,119 */ public void setDatetime(String dateTime) { this.dateTime = dateTime; } + /** * Should we be checking dates on directories? * *** *** 156,161 --- 143,157 } /** + * Sets the pattern to be used for the SimpleDateFormat + * + * @param pattern the pattern that defines the date format + */ + public void setPattern(String pattern) { + this.pattern = pattern; + } + + /** * When using this as a custom selector, this method will be called. * It translates each parameter into the appropriate setXXX() call. * *** *** 190,195 --- 186,193 TimeComparisons cmp = new TimeComparisons(); cmp.setValue(parameters[i].getValue()); setWhen(cmp); + } else if (PATTERN_KEY.equalsIgnoreCase(paramname)) { + setPattern(parameters[i].getValue()); } else { setError(Invalid parameter + paramname); } *** *** 222,228 --- 220,253 * @return whether the file should be selected or not */ public boolean isSelected(File basedir, String filename, File file) { + // check millis and only set it once. + if (millis == -1 dateTime != null) { + DateFormat df = null; + if (pattern != null) { + df = new SimpleDateFormat(pattern); + } + else { + df = DateFormat.getDateTimeInstance( + DateFormat.SHORT, + DateFormat.SHORT, + Locale.US); + } + try { + setMillis(df.parse(dateTime).getTime()); + if (millis 0) { + setError(Date of + dateTime + + results in negative milliseconds value relative + + to epoch (January 1, 1970, 00:00:00 GMT).); + } + } catch (ParseException pe) { + setError(Date of + dateTime + + Cannot be parsed correctly. It should be in + + MM/DD/ HH:MM AM_PM format.); + } + } + validate(); + if
using modified
I'm playing with the modifed selector. I'm using it to build the cache, then compile code, then run it again to build a set of files that changed to do hotswap on. Here is how I pre-load the cache. !-- no-op copy to build modified cache -- copy todir=build/classes fileset dir=build/classes modified seldirs=false / /fileset /copy I'd put an if condition around this in the future... Then... javac... Then, my hotswap hotswap verbose=true port=9000 fileset dir=build/classes modified seldirs=false / /fileset /hotswap The hotswap target reports that it wants to swap all of the class files! The thing is, none had changed! It seems like the modified selector isn't using the cache.properties file it already built! Any ideas? David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: using modified
modified should use its cache.properties file (otherwise the testcases should fail :) But you can specify it via modified param name=cache.cachefile value=cache.properties/ /modified Is the file created when using the copy? (Maybe the pathconvert would be better here.) Another (theoretical) point: javac creates new files with different content. Can you place a modified with a different cachefile in the javac? Then look for the keys (must be equal...) Jan -Original Message- From: David Kavanagh [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 3:14 AM To: Ant Developers List Subject: using modified I'm playing with the modifed selector. I'm using it to build the cache, then compile code, then run it again to build a set of files that changed to do hotswap on. Here is how I pre-load the cache. !-- no-op copy to build modified cache -- copy todir=build/classes fileset dir=build/classes modified seldirs=false / /fileset /copy I'd put an if condition around this in the future... Then... javac... Then, my hotswap hotswap verbose=true port=9000 fileset dir=build/classes modified seldirs=false / /fileset /hotswap The hotswap target reports that it wants to swap all of the class files! The thing is, none had changed! It seems like the modified selector isn't using the cache.properties file it already built! Any ideas? David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28223] New: - jspc task fails in Tomcat 5 due to new command syntax
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28223. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28223 jspc task fails in Tomcat 5 due to new command syntax Summary: jspc task fails in Tomcat 5 due to new command syntax Product: Ant Version: 1.6.1 Platform: All OS/Version: All Status: NEW Severity: Blocker Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] jspc tasks generated -v* in coomand line, -v0 by default. Tomcat 5 supports -v only. Hence jspc tasks do not work in Tomcat 5. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ant Task : adding sysproperty
On Mon, 05 Apr 2004, Andy Jefferson [EMAIL PROTECTED] wrote: Is there any reference of how to do this ? No better reference than code. Take a look at the Java or JUnit tasks to see how they do it. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28223] - jspc task fails in Tomcat 5 due to new command syntax
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28223. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28223 jspc task fails in Tomcat 5 due to new command syntax [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 08:11 --- *** This bug has been marked as a duplicate of 27923 *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27923] - JspC fails to compile with Tomcat Jasper 5.0
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=27923. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27923 JspC fails to compile with Tomcat Jasper 5.0 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 08:11 --- *** Bug 28223 has been marked as a duplicate of this bug. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28226] New: - Ant does not start in OS/2
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28226. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28226 Ant does not start in OS/2 Summary: Ant does not start in OS/2 Product: Ant Version: 1.6.1 Platform: PC OS/Version: OS/2 Status: NEW Severity: Critical Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Launching Ant 1.6.1 in OS/2 no longer works. The current launch script ignores all ant-*.jar because their contents were present also in ant.jar and the CLASSPATH would be too long. However, ant.jar now contains only empty directory org/apache/tools/ant/launch. If it is intentional, please replace bin/antenv.cmd with the version available from http://hroch486.icpf.cas.cz/antbugreport/ -- the zip file contains the new version as well as the diff -u file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28226] - Ant does not start in OS/2
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28226. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28226 Ant does not start in OS/2 --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 09:54 --- Created an attachment (id=11150) Diff file mentioned in the bug description - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28228] New: - classloader task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28228. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28228 classloader task Summary: classloader task Product: Ant Version: 1.7Alpha (nightly) Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This is the formal enhancement request for a classloader task. In it's actual form, it has been introduced in the developer's mailing list. (see: http://marc.theaimsgroup.com/?l=ant-devm=108055794609605w=2) I would like to reactivate and extend the current sleeping classloader task with a patch that is able to a) append classpath entries to existing classloaders, b) explicitely create classloaders, c) put the actual path of a classloader into a property and d) log a simple report about the currently classloaders. Currently it supports URLClassLoader and AntClassLoader. It is designed to simply support custom extensions for any arbitrary ClassLoader. Advantages -- As classpathes can completely managed from inside the build.xml, this task can help 1. to avoid the need to either change Ant's default installation by adding or removing jars to or from Ant's lib dir or manage the classpath in the launching script and 2. to avoid classpath-problems with custom tasks (especially if they should - for whatever reason - be used as jars in the same buildfile as they were created). b) and c) can be used to easily sync other task's classpathes and d) might be helpful to debug some classpath problems and understand classloader behaviour ;-) Disadvantages - The most frequent raised objection is, that adding classpathes to existing parent classloaders in a delegation hierarchy may lead to situations where one class is loaded by two different classloaders in a delegation hierarchy at the same time. This will most likely cause linkage errors and mysterious failures. (See: http://marc.theaimsgroup.com/?l=ant-devm=106389211508059w=2 and http://marc.theaimsgroup.com/?l=ant-devm=104080215031773w=2) Another point is the risk of security loopholes if URLs are used as classpath entries. Both objections are reasonable but IMHO, the advantages outweigh them. * The aforesaid potential risks are described in the task documentation. * As this task is new, it can not endanger existing builds. * Advanced users have the possibility to break the above-mentioned requirements. Regards, Rainer P.S. Adding this task to the external task list is dissatisfying IMHO, as it shoots the major advantage (1.) down. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28228] - classloader task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28228. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28228 classloader task --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 11:17 --- Created an attachment (id=11152) new files for proposed patch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28228] - classloader task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28228. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28228 classloader task --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 11:19 --- Created an attachment (id=11153) changes (diff) for proposed patch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28043] - Add '.classpath' and '.project' to '.cvsignore'
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28043. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28043 Add '.classpath' and '.project' to '.cvsignore' [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 11:21 --- That is Eclipse-specific and I don´t think that we should add IDE-specifics. There are some predefined excludes (CVS, SVN, only a few more) that should be enough. Adding additional could break older buildfiles which depends on having these files. And for your usecase you can use the defaultexcludes task. But thanks for contribution :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28228] - classloader task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28228. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28228 classloader task --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 11:40 --- oops, i've seen, that the first attachment can not be opened. it's the patch.tar.gz resulting from the patch.xml. how should i contribute it? what is the correct classification/mine-type? sorry, Rainer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SSH tracking
On Mon, 5 Apr 2004, Rami Ojares [EMAIL PROTECTED] wrote: I was planning a small improvement to SCP task. If you are copying large files they take time. And it would be nice to see that something is happening if a transfer takes long (in quite normal cases a transfer of one file can take minutes sometimes even hours). I'd like to see your patch modified so that you'll only see a progress report when the (new) attribute verbose has been set to true. Just like get does today. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27923] - JspC fails to compile with Tomcat Jasper 5.0
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=27923. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27923 JspC fails to compile with Tomcat Jasper 5.0 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|CLOSED --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 12:17 --- Go ahead and close. LiteWebserver3 compiles JSP files on the fly without restarting the server and requires no special setup or complex build.xml files. Does not require ANT. IT JUST WORKS! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28226] - Ant does not start in OS/2
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28226. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28226 Ant does not start in OS/2 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 12:20 --- Thank you Zdenek, actually, Ant 1.6 should only require ant-launcher.jar on the classpath and nothing else. Can you please verify whether restricting the script to the launcher jar without having ant.jar or optional.jar (which doesn't exist anymore anyway) works? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27735] - antstructure generates wrong dtd
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=27735. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27735 antstructure generates wrong dtd [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 12:27 --- Please see the FAQ, in particular the last bullet in http://ant.apache.org/faq.html#dtd. The manual should probably stress this a little more and I'll modify it shortly. Ant's XML usage can not be correctly captured by a DTD. There are two different test elements (the deprecated task and the child of junit), two fail elements (the task and the child of sound), two manifest elements (the task and the child of jar). The ELEMENT definition for attribute you get is the one of the nested child of a different element, not manifest. BTW, all elements have an id attribute in Ant, it's just not very useful in most cases and omitted in the manual. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28096] - jjtree outputdirectory now required
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28096. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28096 jjtree outputdirectory now required --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 12:40 --- Yes, so my memory was failing on me. Given that the current behavior is documented, I'm a bit reluctant to revert the change. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28043] - Add '.classpath' and '.project' to '.cvsignore'
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28043. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28043 Add '.classpath' and '.project' to '.cvsignore' [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WONTFIX | --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 12:42 --- Jan, you are misunderstanding what Rainer wants 8-) In Ant's CVS module there is a file .cvsignore which lists for example the build directory so that CVS won't say ? build when doing a cvs up. Rainer wants us to add some more files to the list of things that CVS should ignore, because his IDE creates them inside Ant's working copy if he works on Ant. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 11249] - Enable nested mapper element in style task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=11249. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=11249 Enable nested mapper element in style task [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 24955] - Needed processorClassname attribute for style task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=24955. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=24955 Needed processorClassname attribute for style task [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED Target Milestone|--- |1.6 --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 12:50 --- xslt ... factory name=.../ /xslt is what you are looking for. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 7879] - the style task is very useful, but a little too simple
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=7879. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=7879 the style task is very useful, but a little too simple [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 12:54 --- Part 1 will be implemented when I get to bug 11249. I don't see us implementing multiple transforms, so I can as well close this. There is no reason to duplicate styler inside Ant. *** This bug has been marked as a duplicate of 11249 *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 11249] - Enable nested mapper element in style task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=11249. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=11249 Enable nested mapper element in style task [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 12:54 --- *** Bug 7879 has been marked as a duplicate of this bug. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 24802] - The style task and nested classpath
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=24802. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=24802 The style task and nested classpath [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27486] - xslt task should allow a url for the style param
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=27486. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27486 xslt task should allow a url for the style param [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27563] - Jar doesn't support the T option?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=27563. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27563 Jar doesn't support the T option? --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 12:59 --- jar doesn't use jar, it really only creates jar files using Ant's very own zip library. It tries to emulate quite a few of jar's features, but not all of them. Currently exec is the way to go for you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: using modified
Jan, Thanks for the ideas. The cache.properties file was being written, but as far as I could tell, wasn't being re-read. Not sure why. I've given up on that path anyway. (see my note about a patch to DateSelector.java). I liked the idea of creating a single timestamp and checking against that. David Thus Spoke [EMAIL PROTECTED]: modified should use its cache.properties file (otherwise the testcases should fail :) But you can specify it via modified param name=cache.cachefile value=cache.properties/ /modified Is the file created when using the copy? (Maybe the pathconvert would be better here.) Another (theoretical) point: javac creates new files with different content. Can you place a modified with a different cachefile in the javac? Then look for the keys (must be equal...) Jan -Original Message- From: David Kavanagh [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 3:14 AM To: Ant Developers List Subject: using modified I'm playing with the modifed selector. I'm using it to build the cache, then compile code, then run it again to build a set of files that changed to do hotswap on. Here is how I pre-load the cache. !-- no-op copy to build modified cache -- copy todir=build/classes fileset dir=build/classes modified seldirs=false / /fileset /copy I'd put an if condition around this in the future... Then... javac... Then, my hotswap hotswap verbose=true port=9000 fileset dir=build/classes modified seldirs=false / /fileset /hotswap The hotswap target reports that it wants to swap all of the class files! The thing is, none had changed! It seems like the modified selector isn't using the cache.properties file it already built! Any ideas? David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28043] - Add '.classpath' and '.project' to '.cvsignore'
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28043. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28043 Add '.classpath' and '.project' to '.cvsignore' --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 13:11 --- I know, two XML-files from Eclipse (project and classpath settings). But doesn´t defaultexcludes provides the infos to cvs? If not there are many other files - JBuilder: *.jpx, *.jpr, ... - ... And can you ensure that these files must not in repository? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28043] - Add '.classpath' and '.project' to '.cvsignore'
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28043. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28043 Add '.classpath' and '.project' to '.cvsignore' [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] Status|REOPENED|NEW --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 13:17 --- command line CVS doesn't use defaultexcludes. Rainer isn't talking about using Ant, but working with CVS inside Ant's CVS module. *.ipr is in .cvsignore, for example. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant .cvsignore
bodewig 2004/04/06 06:18:47 Modified:..cvsignore Log: Make contributing to Ant easier for Eclipse users Revision ChangesPath 1.11 +2 -0 ant/.cvsignore Index: .cvsignore === RCS file: /home/cvs/ant/.cvsignore,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- .cvsignore2 Sep 2003 14:49:38 - 1.10 +++ .cvsignore6 Apr 2004 13:18:47 - 1.11 @@ -10,3 +10,5 @@ velocity.log* patch.txt patch.tar.gz +.classpath +.project - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28043] - Add '.classpath' and '.project' to '.cvsignore'
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28043. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28043 Add '.classpath' and '.project' to '.cvsignore' [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27923] - JspC fails to compile with Tomcat Jasper 5.0
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=27923. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27923 JspC fails to compile with Tomcat Jasper 5.0 [EMAIL PROTECTED] changed: What|Removed |Added Status|CLOSED |REOPENED Resolution|WONTFIX | --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 13:29 --- I fail to see how LiteWebserver3 solves a Tomcat 5 problem. Jasper can certainly compile JSPs on the fly, that's not the point of this task. Sometimes you will want to know that your JSP is broken before you deploy it, sometimes you don't want to have the original JSPs on your production server at all. There are several reasons for a jspc task. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTasks antstructure.html
bodewig 2004/04/06 06:48:22 Modified:docs/manual/CoreTasks antstructure.html Log: Clarify that antstructure isn't really that useful, PR: 27735 Revision ChangesPath 1.9 +13 -3 ant/docs/manual/CoreTasks/antstructure.html Index: antstructure.html === RCS file: /home/cvs/ant/docs/manual/CoreTasks/antstructure.html,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- antstructure.html 9 Feb 2004 21:50:05 - 1.8 +++ antstructure.html 6 Apr 2004 13:48:22 - 1.9 @@ -9,9 +9,19 @@ h2a name=antstructureAntStructure/a/h2 h3Description/h3 -pGenerates a DTD for Ant buildfiles which contains information -about all tasks currently known to Ant./p -pNote that the DTD generated by this task is incomplete, you can + +pGenerates an DTD for Ant buildfiles which contains information +about all tasks currently known to Ant./p + +pActually the DTD will not be a real DTD for buildfiles since Ant's +usage of XML cannot be captured with a DTD. Several elements in Ant +can have different attribute lists depending on the element that +contains them. quot;failquot; for example can be a +href=fail.htmlthe task/a or the nested child element of the a +href=../OptionalTasks/sound.htmlsound/a task. Don't consider the +generated DTD something to rely upon./p + +pAlso note that the DTD generated by this task is incomplete, you can always add XML entities using a href=taskdef.htmlcodelt;taskdefgt;/code/a or a href=typedef.htmlcodelt;typedefgt;/code/a. See a - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27735] - antstructure generates wrong dtd
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=27735. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27735 antstructure generates wrong dtd [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 13:49 --- Improved the manual. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27735] - antstructure generates wrong dtd
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=27735. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27735 antstructure generates wrong dtd [EMAIL PROTECTED] changed: What|Removed |Added Target Milestone|--- |1.6.2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTasks antstructure.html
bodewig 2004/04/06 06:50:06 Modified:docs/manual/CoreTasks Tag: ANT_16_BRANCH antstructure.html Log: merge Revision ChangesPath No revision No revision 1.7.2.3 +13 -3 ant/docs/manual/CoreTasks/antstructure.html Index: antstructure.html === RCS file: /home/cvs/ant/docs/manual/CoreTasks/antstructure.html,v retrieving revision 1.7.2.2 retrieving revision 1.7.2.3 diff -u -r1.7.2.2 -r1.7.2.3 --- antstructure.html 9 Feb 2004 22:12:06 - 1.7.2.2 +++ antstructure.html 6 Apr 2004 13:50:06 - 1.7.2.3 @@ -10,9 +10,19 @@ h2a name=antstructureAntStructure/a/h2 h3Description/h3 -pGenerates a DTD for Ant buildfiles which contains information -about all tasks currently known to Ant./p -pNote that the DTD generated by this task is incomplete, you can + +pGenerates an DTD for Ant buildfiles which contains information +about all tasks currently known to Ant./p + +pActually the DTD will not be a real DTD for buildfiles since Ant's +usage of XML cannot be captured with a DTD. Several elements in Ant +can have different attribute lists depending on the element that +contains them. quot;failquot; for example can be a +href=fail.htmlthe task/a or the nested child element of the a +href=../OptionalTasks/sound.htmlsound/a task. Don't consider the +generated DTD something to rely upon./p + +pAlso note that the DTD generated by this task is incomplete, you can always add XML entities using a href=taskdef.htmlcodelt;taskdefgt;/code/a or a href=typedef.htmlcodelt;typedefgt;/code/a. See a - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28226] - Ant does not start in OS/2
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28226. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28226 Ant does not start in OS/2 --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 13:52 --- Yes, it works, but it is necessary to use the org.apache.tools.ant.launch.Launcher entry point. Another possibility is to use java -jar $ANT_HOME\lib\ant-launcher.jar and in this case CLASSPATH may be empty. It is only better to include tools.jar. I tried Java 1.4.1 from Golden Code and Java 1.4.2 from Innotek, both can locate tools.jar according to JAVA_HOME. I am not sure about Java from IBM (it is not free). Anyway, it would be necessary to change ant.cmd. Should I rewrite it using the -jar option? Other *.cmd will not be generally needed but they provide some added value. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/OptionalTasks junit.html
bodewig 2004/04/06 07:09:25 Modified:docs/manual conceptstypeslist.html docs/manual/CoreTasks java.html docs/manual/OptionalTasks junit.html Added: docs/manual clonevm.html Log: Document build.clonevm Revision ChangesPath 1.17 +1 -0 ant/docs/manual/conceptstypeslist.html Index: conceptstypeslist.html === RCS file: /home/cvs/ant/docs/manual/conceptstypeslist.html,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- conceptstypeslist.html27 Mar 2004 21:22:58 - 1.16 +++ conceptstypeslist.html6 Apr 2004 14:09:25 - 1.17 @@ -11,6 +11,7 @@ h2a href=toc.html target=navFrameTable of Contents/a/h2 h3Concepts/h3 +a href=clonevm.htmlbuild.clonevm/abr a href=sysclasspath.htmlbuild.sysclasspath/abr a href=CoreTasks/common.htmlCommon Attributes/abr 1.1 ant/docs/manual/clonevm.html Index: clonevm.html === html head meta http-equiv=Content-Language content=en-us titlebuild.clonevm/title /head body h2a name=clonevmbuild.clonevm/a/h2 pemSince Ant 1.7/em/p pThe value of the build.clonevm system property controls how Ant instruments forked Java Virtual Machines. The a href=CoreTasks/java.htmljava/a and a href=OptionalTasks/junit.htmljunit/a tasks support clonevm attributes to control the VMs on a task-by-task basis while the system property applies to all forked Java VMs./p pIf the value of the property is true, then all system properties and the bootclasspath of the forked Java Virtual Machine will be the same as those of the Java VM running Ant./p pNote that this has to be a system property, so it cannot be specified on the Ant command line. Use the ANT_OPTS environment variable instead./p hr p align=centerCopyright copy; 2004 The Apache Software Foundation. All rights Reserved./p /body /html 1.30 +9 -0 ant/docs/manual/CoreTasks/java.html Index: java.html === RCS file: /home/cvs/ant/docs/manual/CoreTasks/java.html,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- java.html 27 Mar 2004 21:22:58 - 1.29 +++ java.html 6 Apr 2004 14:09:25 - 1.30 @@ -178,6 +178,15 @@ recommended to use this feature only if fork is enabled./strong/td td align=center valign=topNo/td /tr + tr +td valign=topclonevm/td +td valign=topIf set to true true, then all system properties + and the bootclasspath of the forked Java Virtual Machine will be + the same as those of the Java VM running Ant. Default is + quot;falsequot; (ignored if fork is disabled). + emsince Ant 1.7/em/td +td align=center valign=topNo/td + /tr /table h3Parameters specified as nested elements/h3 h4arg and jvmarg/h4 1.33 +9 -0 ant/docs/manual/OptionalTasks/junit.html Index: junit.html === RCS file: /home/cvs/ant/docs/manual/OptionalTasks/junit.html,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- junit.html9 Feb 2004 21:50:08 - 1.32 +++ junit.html6 Apr 2004 14:09:25 - 1.33 @@ -156,6 +156,15 @@ emSince Ant 1.6/em./td td align=center valign=topNo; default is codetrue/code./td /tr + tr +td valign=topclonevm/td +td valign=topIf set to true true, then all system properties + and the bootclasspath of the forked Java Virtual Machine will be + the same as those of the Java VM running Ant. Default is + quot;falsequot; (ignored if fork is disabled). + emsince Ant 1.7/em/td +td align=center valign=topNo/td + /tr /table pBy using the codeerrorproperty/code and codefailureproperty/code - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25327] - Forked VMs != forking VM, breaking script portability
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=25327. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=25327 Forked VMs != forking VM, breaking script portability [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 14:10 --- It looks as if the feature has worked quite well for Gump. I've added some documentation for it so that I can now close this report. I don't see any way to make build.clonevm an Ant property without major surgery. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28226] - Ant does not start in OS/2
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28226. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28226 Ant does not start in OS/2 --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 14:13 --- -jar ant-launcher.jar is fine with me, if it works. And you are probably the only one who knows 8-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Ant Wiki] Updated: ExternalResources
Date: 2004-04-06T07:15:18 Editor: 217.69.240.9 Wiki: Ant Wiki Page: ExternalResources URL: http://wiki.apache.org/ant/ExternalResources no comment Change Log: -- @@ -5,6 +5,7 @@ * ''Java Development with Ant'' by ErikHatcher, SteveLoughran published by Manning Publications -http://www.manning.com/hatcher/index.html * ''Ant: The Definitive Guide'' by Jesse E. Tilly and Eric M. Burke published by O'Reilly - http://www.oreilly.com/catalog/anttdg/ * ''Java Tools for Extreme Programming: Mastering Open Source Tools, Including Ant, JUnit, and Cactus'' by Richard Hightower, Nicholas Lesiecki ( ErikHatcher contributed to Ant sections ) published by John Wiley Sons, Inc. - http://www.wiley.com/cda/product/0,,047120708X,00.html + * ''Ant. Das Java Build-Tool in der Praxis'' von Bernd Matzke, Addison-Wesley, http://www.addison-wesley.de/main/main.asp?page=deutsch/bookdetailsproductid=13459SID={18BA3C59-985F-4E1B-8463-4A60D29D2EED}TOKEN={2EA05B80-7976-432C-B8A5-4520CDFB1113} = Documentation = * Appendix E of ''Java Development with Ant'' is included in the Ant 1.5.1 distribution - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Suggested Diff: UnknownElement.java
Stefan Bodewig wrote: On Mon, 05 Apr 2004, Peter Reilly [EMAIL PROTECTED] wrote: I am not sure it is good advice to tell people to recompile ant, in the (already alarming) error message that most ant newbies see. I agree. The statement should be conditional in that it says look whether it actually conatins something, if you have compiled Ant yourself. Okay, how's this? -- Jack J. Woehr # We have gone from the horse and buggy Senior Consultant # to the moon rocket in one lifetime, but Purematrix, Inc. # there has not been a corresponding moral www.purematrix.com # growth in mankind. - Dwight D. Eisenhower Index: src/main/org/apache/tools/ant/UnknownElement.java === RCS file: /home/cvspublic/ant/src/main/org/apache/tools/ant/UnknownElement.java,v retrieving revision 1.78 diff -c -r1.78 UnknownElement.java *** src/main/org/apache/tools/ant/UnknownElement.java 9 Mar 2004 16:47:59 - 1.78 --- src/main/org/apache/tools/ant/UnknownElement.java 6 Apr 2004 14:26:05 - *** *** 458,469 + and this is not found at the right place in the classpath. + lSep +Fix: check the documentation for dependencies. + lSep +Fix: declare the task. + lSep ! + - The task is an Ant optional task and optional.jar is absent + lSep ! +Fix: look for optional.jar in ANT_HOME/lib, download if needed + lSep ! + - The task was not built into optional.jar as dependent + lSep ! + libraries were not found at build time. + lSep ! +Fix: look in the JAR to verify, then rebuild with the needed + lSep ! +libraries, or download a release version from apache.org + lSep + - The build file was written for a later version of Ant + lSep +Fix: upgrade to at least the latest release version of Ant + lSep + - The task is not an Ant core or optional task + lSep --- 458,471 + and this is not found at the right place in the classpath. + lSep +Fix: check the documentation for dependencies. + lSep +Fix: declare the task. + lSep ! + - The task is an Ant optional task and the JAR file and/or libraries + lSep ! + implementing the functionality were not found at the time you + lSep ! + yourself built your installation of Ant from the Ant sources. + lSep ! +Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the + lSep ! + task and make sure it contains more than merely a META-INF/MANIFEST.MF. + lSep ! + If all it contains is the manifest, then rebuild Ant with the needed + lSep ! + libraries present in ${ant.home}/lib/optional/ , or alternatively, + lSep ! + download a pre-built release version from apache.org + lSep + - The build file was written for a later version of Ant + lSep +Fix: upgrade to at least the latest release version of Ant + lSep + - The task is not an Ant core or optional task + lSep - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25327] - Forked VMs != forking VM, breaking script portability
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=25327. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=25327 Forked VMs != forking VM, breaking script portability [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|CLOSED --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 14:34 --- I agree it is working (well). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28226] - Ant does not start in OS/2
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28226. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28226 Ant does not start in OS/2 --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 15:00 --- OK, -jar ant-launcher.jar works in Linux too. Can you guarantee that META-INF/MANIFEST.MF will always contain Main-Class: org.apache.tools.ant.launch.Launcher? I will now thoroughly examine that I do not spoil something and I will send updated scripts tomorrow. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27923] - JspC fails to compile with Tomcat Jasper 5.0
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=27923. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27923 JspC fails to compile with Tomcat Jasper 5.0 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|ASSIGNED --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 15:15 --- I have spent countless hours trying to get Tomcat 5.0 to compile a JSP file. It does not compile or even attempt to compile. No log errors generated. Have gone through all TOMCAT/ANT Documentation to get tomcat to compile JSP's with no luck. Have also found that many other developers have experienced the same problem. Have contacte Tomcat forum and have received no response except RTFM. Been there... Done that... got the T-Shirt! Besides I don't appreciate the nasty responses I receive from the forum. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27923] - JspC fails to compile with Tomcat Jasper 5.0
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=27923. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27923 JspC fails to compile with Tomcat Jasper 5.0 --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 15:22 --- Jeff, I understand your frustration, even if my experience may be different. I haven't used Tomcat-5 myself, all I can say is that neither Tomcat-3 nor Tomcat-4 ever needed any special configuration to compile JSPs, it simply worked. I'm not sure what may be different for you, but then again I'm not a Tomcat expert - this is an Ant bug report, after all. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27923] - JspC fails to compile with Tomcat Jasper 5.0
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=27923. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27923 JspC fails to compile with Tomcat Jasper 5.0 --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 15:28 --- I used Tomcat 4 and had no problem. With Tomcat 5 you have to setup a complete build.xml file with each step to perform (JSPC then JAVAC) using ant and compile manually. I've tried the startup option to compile jsp's when Tomcat starts with no luck. I was unable to compile using ANT which has the -v0 error. I've tried JSPC but Tomcat doesn't ship with Jspc.exe or Jspc.bat so that doesn't work. I've tried everything. I've used Tomcat for years so I'm sorry to change. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SSH tracking
I'd like to see your patch modified so that you'll only see a progress report when the (new) attribute verbose has been set to true. Just like get does today. Have a look at this patch Stefan. (It's patch from the whole directory) I added verbose attribute and rearranged things a little. cvs server: Diffing . Index: AbstractSshMessage.java === RCS file: /home/cvspublic/ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/Abst ractSshMessage.java,v retrieving revision 1.8 diff -B -b -u -r1.8 AbstractSshMessage.java --- AbstractSshMessage.java 9 Feb 2004 21:05:34 - 1.8 +++ AbstractSshMessage.java 6 Apr 2004 15:56:23 - @@ -31,14 +31,17 @@ public abstract class AbstractSshMessage { +protected SSHBase sshBase; private Session session; + private LogListener listener = new LogListener() { public void log(String message) { // do nothing; } }; -public AbstractSshMessage(Session session) { +public AbstractSshMessage(SSHBase sshBase, Session session) { +this.sshBase = sshBase; this.session = session; } @@ -114,4 +117,24 @@ + Average Rate: + format.format(totalLength / duration) + B/s); } + +/* +Track progress every 10% if 100kb filesize 1mb. For larger files trck progress for every percent transmitted. +*/ +protected int trackProgress(int filesize, int totalLength, int percentTransmitted) { + +int percent = (int) Math.round(Math.floor((totalLength / (double)filesize) * 100)); + +if (percent percentTransmitted) { +if ( filesize 1048576 (percent % 10 != 0) ) { +// do not track between tenths +} +else { +log( + percent + %); +} +} + +return percent; +} + } Index: SSHBase.java === RCS file: /home/cvspublic/ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHB ase.java,v retrieving revision 1.10 diff -B -b -u -r1.10 SSHBase.java --- SSHBase.java 9 Mar 2004 16:48:37 - 1.10 +++ SSHBase.java 6 Apr 2004 15:56:24 - @@ -41,6 +41,7 @@ private int port = SSH_PORT; private boolean failOnError = true; private SSHUserInfo userInfo; +private boolean verbose = false; /** * Constructor for SSHBase. @@ -142,6 +143,18 @@ return port; } +/** + * If true, show verbose progress information. + * + * @param v if true then be verbose + */ +public void setVerbose(boolean v) { +verbose = v; +} +public boolean isVerbose() { +return this.verbose; +} + public void init() throws BuildException { super.init(); this.knownHosts = System.getProperty(user.home) + /.ssh/known_hosts; Index: SSHExec.java === RCS file: /home/cvspublic/ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHE xec.java,v retrieving revision 1.15 diff -B -b -u -r1.15 SSHExec.java --- SSHExec.java 9 Mar 2004 16:48:37 - 1.15 +++ SSHExec.java 6 Apr 2004 15:56:24 - @@ -34,7 +34,9 @@ /** * Executes a command on a remote machine via ssh. * - * @version $Revision: 1.15 $ + * @authorRobert Anderson, [EMAIL PROTECTED] + * @authorDale Anson, [EMAIL PROTECTED] + * @version $Revision: 1.9.2.5 $ * @created February 2, 2003 * @since Ant 1.6 */ Index: SSHUserInfo.java === RCS file: /home/cvspublic/ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHU serInfo.java,v retrieving revision 1.8 diff -B -b -u -r1.8 SSHUserInfo.java --- SSHUserInfo.java 9 Mar 2004 16:48:37 - 1.8 +++ SSHUserInfo.java 6 Apr 2004 15:56:24 - @@ -20,6 +20,7 @@ import com.jcraft.jsch.UserInfo; /** + * @author rhanderson */ public class SSHUserInfo implements UserInfo { Index: Scp.java === RCS file: /home/cvspublic/ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp. java,v retrieving revision 1.14 diff -B -b -u -r1.14 Scp.java --- Scp.java 9 Mar 2004 16:48:37 - 1.14 +++ Scp.java 6 Apr 2004 15:56:24 - @@ -36,6 +36,7 @@ /** * Ant task for sending files to remote machine over ssh/scp. * + * @author [EMAIL PROTECTED] * @since Ant 1.6 */ public class Scp extends SSHBase { @@ -140,7 +141,7 @@ try { session = openSession(); ScpFromMessage message = -new ScpFromMessage(session, file, +new ScpFromMessage(this, session, file, getProject().resolveFile(toPath), fromSshUri.endsWith(*)); log(Receiving file: + file); @@ -169,7 +170,7 @@ } if (!list.isEmpty()) {
DO NOT REPLY [Bug 27923] - JspC fails to compile with Tomcat Jasper 5.0
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=27923. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27923 JspC fails to compile with Tomcat Jasper 5.0 --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 16:54 --- This sounds good. I would like to keep the ANT request open. I still have hope for it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28096] - jjtree outputdirectory now required
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28096. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28096 jjtree outputdirectory now required --- Additional Comments From [EMAIL PROTECTED] 2004-04-06 20:20 --- When you have decided what to do just let me know through this bug. Because I will be monitoring the developer mailing for javacc bugs anyway. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]