cvs commit: ant build.xml

2003-04-05 Thread rubys
rubys   2003/04/04 17:28:41

  Modified:.build.xml
  Log:
  Replace unprintable character (x'a0') with a space
  
  Revision  ChangesPath
  1.361 +1 -1  ant/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/ant/build.xml,v
  retrieving revision 1.360
  retrieving revision 1.361
  diff -u -r1.360 -r1.361
  --- build.xml 4 Apr 2003 14:03:15 -   1.360
  +++ build.xml 5 Apr 2003 01:28:41 -   1.361
  @@ -302,7 +302,7 @@
 patternset id=teststhatfail
   exclude name=${optional.package}/BeanShellScriptTest.java/
   exclude name=${ant.package}/taskdefs/ImportTest.java/
  -    exclude name=${ant.package}/TaskContainerTest.java/
  +exclude name=${ant.package}/TaskContainerTest.java/
 /patternset
   
 !--
  
  
  


DO NOT REPLY [Bug 18732] New: - ANT parameter passing has some bugs!

2003-04-05 Thread bugzilla
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=18732.
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=18732

ANT parameter passing has some bugs!

   Summary: ANT parameter passing has some bugs!
   Product: Ant
   Version: 1.1
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I set my ANT_OPTS='-propertyfile ant.properties'.  ANT does not recognize the 
comand-line parameter -propertyfile.  This is an obvious bug.

I suggest that ANT should always accept an optional default property file 
(possibly ant.properties).  ANT should optionally accept also accept ALL 
command-line parameters on the property file.  The ANT_OPTS is difficult to 
change and manipulate.

Also, ANT should accept macro expressions in its property file.  It does not 
accept such expression now.  For instance it should accept such thing as:
  root.path=${basedir}/sources

Regards,
Colbert Philippe


DO NOT REPLY [Bug 18733] New: - Should create a ANT based parameter passing framework.

2003-04-05 Thread bugzilla
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=18733.
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=18733

Should create a ANT based parameter passing framework.

   Summary: Should create a ANT based parameter passing framework.
   Product: Ant
   Version: 1.1
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I want to suggest that you create a separate framework for passing parameters 
to Java application programs based on ANT syntax.  ANT resolved the parameter 
passing to Java applications with tasks. The framework that I am suggesting 
would allow Java programmers to use the same syntax to get complex parameters 
from a text file.  The ANT task syntax would be used in the text file.  

I want to stress that the new framework would be independent of ANT.  It would 
simply give users an additional way to retrieve data from text files.  The path 
like structures would be particularly useful.

The parameter passing framework should complement the Jakarta CLI framework for 
command-line parameter retrieval.

Regards,
Colbert Philippe


DO NOT REPLY [Bug 18736] New: - manifest task will not create Name entry

2003-04-05 Thread bugzilla
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=18736.
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=18736

manifest task will not create Name entry

   Summary: manifest task will not create Name entry
   Product: Ant
   Version: 1.5.1
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Core tasks
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


file:X:/VOBS_developed_DAA/FOBWS/src/build.xml:106: Specify the section name 
using the name attribute of the section element rather than using a Name 
manifest attribute

manifest file=unjar/META-INF/MANIFEST.MF mode=update
  section
attribute name=Name value=APP-INF/lib/FOBSVC.jar/
attribute name=Name value=APP-INF/lib/FOBSVCObjects.jar/
  /section
/manifest 

Leaving section out produces the same error.  Both name and value are required 
by attribute.  Effect is to produce the following manifest:

Manifest-Version: 1.0
Created-By: Apache Ant 1.5

Name: FOBWebSvcEJB.jar

Name: META-INF/application.xml

Name: FOB_WebSvc.war

Name: APP-INF/lib/FOBSVC.jar

Name: APP-INF/lib/FOBSVCObjects.jar


[Patch] trying solve w2k command line length limitations

2003-04-05 Thread Ignacio J. Ortega
Hola a todos:

I'm trying to solve w2k command line length problems for gump.

what i've tried is to create a properties file from gump instead of
passing the classpath in the command line, make a Launcher class that
loads it in a URLclassloader and start ant's main, this approach by
itself doesnt work at all, javac needs real jars in a real classpath not
a CL with all the jars loaded..

Hence this patch, the Launcher in addition to create a UCL, adds a
system property ant.class.path and starts ant's Main.. i've modified ant
Path type to add this property to the classpath like it's done with
java.class.path ( this property is readonly ).., and if using
build.sysclasspath=only, this property contents are added in addition to
java.class.path..

Comments are welcomed..

Saludos, 
Ignacio J. Ortega 

Index: src/main/org/apache/tools/ant/types/Path.java
===
RCS file:
/home/cvspublic/ant/src/main/org/apache/tools/ant/types/Path.java,v
retrieving revision 1.47
diff -u -r1.47 Path.java
--- src/main/org/apache/tools/ant/types/Path.java   11 Mar 2003
10:57:42 -  1.47
+++ src/main/org/apache/tools/ant/types/Path.java   5 Apr 2003
16:28:25 -
@@ -103,6 +103,9 @@
 public static Path systemClasspath = 
 new Path(null, System.getProperty(java.class.path));
 
+public static Path antClasspath = 
+new Path(null, System.getProperty(ant.classpath));
+
 
 /**
  * Helper class, holds the nested codelt;pathelementgt;/code
values.
@@ -556,7 +559,8 @@
 if (order.equals(only)) {
 // only: the developer knows what (s)he is doing
 result.addExisting(Path.systemClasspath, true);
-
+result.addExisting(Path.antClasspath, true);
+
 } else if (order.equals(first)) {
 // first: developer could use a little help
 result.addExisting(Path.systemClasspath, true);