Classpath problem inside a JUnit task

2003-12-05 Thread Peter
I’m hoping someone can help me with a problem.  This may be a bug but more
likely my ignorance.  I have the following task in an ant build file:

 



  



  



 

 

   

 

   

 



  



 

Here are my path definitions:

 

  



  



  

  

   

  



  

  

 

All of my variables are set with proper values.  

 

The problem I’m having is this:  Ant spawns JUnit to run the tests which DO
get loaded and begin executing.  The classes I’m testing need to open a file
somewhere on the classpath so they start looking for it:

 

  String classPath  = System.getProperty("java.class.path");

  // walk the classpath and look for data files here

 

My classes can NOT find my data files anywhere in the classpath so I added 

 

  System.out.println("java.class.path: " +
System.getProperty("java.class.path"));

 

in order to see what I’d done wrong.  Much to my surprise my class doesn’t
get much of a classpath at all.  This is the output:

 

  java.class.path:
e:\j2sdk142\lib\tools.jar;e:\ant\lib\optional.jar;e:\ant\lib\junit.jar;e:\an
t\lib\ant.jar;

 

It appears that

  





  

does not get sent to the test class in the “java.class.path” system
property.

 

I’m curious how java could have even loaded the test that is running as the
test itself is in one directory and the class its testing is in another,
neither of which are seen on the classpath.  Obviously there must be another
mechanism for specifying a classpath that the classloader uses.  I’ve worked
around this problem by setting fork=”true” but I’d like a better solution
due to performance issues.  Note that removing the line  when fork=”false” doesn’t seem to have an
effect.

 

Thanks for your time.

Peter

 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003
 


DO NOT REPLY [Bug 25255] New: - gets manifest wrong so classpath doesnt work for "java -jar my.jar"

2003-12-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=25255

 gets manifest wrong so classpath doesnt work for "java -jar my.jar"

   Summary:  gets manifest wrong so classpath doesnt work for
"java -jar my.jar"
   Product: Ant
   Version: 1.5.4
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Core tasks
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


this is broken in 1.5.1, 1.5.4 and 1.6beta3

if i use ant's  task to create a manifest (internal or external), then 
java 1.4.2 (probably others) doesnt allow java -jar my.jar

i get this error

+ java -Xmx512m -jar netcdfAll.jar
Exception in thread "main" java.lang.NoClassDefFoundError: 
ucar/util/prefs/XMLStore
at ucar.nc2.ui.ToolsUI.main(ToolsUI.java:761)

but with no other changes this works:

+ java -Xmx512m -classpath 
netcdfAll.jar;prefsAll.jar;units.jar;HTTPClient.jar;jdom.jar 
ucar.nc2.ui.ToolsUI

i can use the  command with jdk's jar to get around this, so this works: 


  


but this doesnt:


  
  


the only thing i can see different is where the Created-By: line gets placed 
in the manifest, which seems to be rearranged by  (ive extracted the 
manifests from the jars):

$ cat manifest.bad
Manifest-Version: 1.0
Created-By: Apache Ant 1.5.1
Main-Class: ucar.nc2.ui.ToolsUI
Class-Path: prefsAll.jar HTTPClient.jar units.jar jdom.jar

$ cat manifest.good
Manifest-Version: 1.0
Class-Path: prefsAll.jar HTTPClient.jar units.jar jdom.jar
Created-By: Apache Ant 1.5.1
Main-Class: ucar.nc2.ui.ToolsUI

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Namespace support in Ant 1.6

2003-12-05 Thread Christopher Lenz
Am 05.12.2003 um 18:53 schrieb Peter Reilly:
Brilliant,
With your blessing, I will copy this into the official
ant manual.
Sure. I want to add some more detail to the page over the weekend, and 
especially annotate some areas where I'm personally not quite happy 
with the namespace support yet.

Cheers,
  Chris
--
Christopher Lenz
/=/ cmlenz at gmx.de
Christopher Lenz wrote:
Hi everyone,
just a quick note that I've added some documentation to the Ant Wiki  
concerning the new namespace support. If I got the facts wrong  
somewhere, please correct it. Additions welcome, too, of course :-)

http://nagoya.apache.org/wiki/apachewiki.cgi?NewAntFeaturesInDetail/ 
XmlNamespaceSupport

Cheers,
  Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Corrupt jars in beta3 distribution ? [was : ant 1.6beta3 released]

2003-12-05 Thread Antoine Lévy-Lambert
Hi Jose,

a way to check is :
#!/bin/sh
exec >/tmp/alljars.txt 2>&1
cd $ANT_HOME/lib
for a in *.jar
do
echo $a
jar tvf $a
echo '-'
done

I have done that on the ant 1.6beta3 distribution, and I did not notice
anything suspicious.
Can it be that a jar of one the custom tasks which you are using, or of an
ant dependency is corrupt ?
I have also installed on my PC the beta3 after having downloaded it from
cvs.apache.org, and I can run
your example with the xmlvalidate task for instance.

Cheers from Frankfurt am Main,

Antoine


-Ursprüngliche Nachricht-
Von: Jose Alberto Fernandez [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 5. Dezember 2003 18:59
An: Ant Developers List
Betreff: RE: ant 1.6beta3 released


Hi,

Just installed 1.6b3 in my environment, and I am getting the following
output
when running on Debug mode. It seems that some jars are bad but I cannot
identify
which one could be. Any ideas how to find which one may be broken (or what
else
can be wrong)?

Thanks in advance,

Jose Alberto

E:\projects\ant1_6-branch-20031018\pita\build.bat -Dbuild.nocheck=true -debu
g clean
Apache Ant version 1.6beta3 compiled on December 5 2003
Buildfile: newbuild.xml
Adding reference: ant.PropertyHelper ->
[EMAIL PROTECTED]
Detected Java version: 1.3 in: C:\java\ibm1.3.1\jre
Detected OS: Windows XP
Adding reference: ant.ComponentHelper ->
[EMAIL PROTECTED]
Setting ro project property: ant.version -> Apache Ant version 1.6beta3
compiled on December 5 2003
Setting ro project property: build.nocheck -> true
Setting ro project property: ant.file ->
E:\projects\ant1_6-branch-20031018\pita\newbuild.xml
Adding reference: ant.projectHelper ->
[EMAIL PROTECTED]
Adding reference: ant.parsing.context ->
[EMAIL PROTECTED]
Adding reference: ant.targets -> []
parsing buildfile E:\projects\ant1_6-branch-20031018\pita\newbuild.xml with
URI = file:///E:/projects/ant1_6-branch-20031018/pita/newbuild.xml
Setting ro project property: ant.project.name -> newbuild
Adding reference: newbuild -> [EMAIL PROTECTED]
Setting ro project property: ant.file.newbuild ->
E:\projects\ant1_6-branch-20031018\pita\newbuild.xml
Project base dir set to: E:\projects\ant1_6-branch-20031018\pita
 +Target:
Adding reference: global.testclasspath ->
[EMAIL PROTECTED]
Adding reference: lib.pattern ->
[EMAIL PROTECTED]
Adding reference: lib.short.pattern ->
[EMAIL PROTECTED]
Adding reference: lib.test.pattern ->
[EMAIL PROTECTED]
Adding reference: lib.serial.pattern ->
[EMAIL PROTECTED]
Adding reference: core.ejb.required ->
[EMAIL PROTECTED]
Adding reference: core.ejb.notrequired ->
[EMAIL PROTECTED]
Adding reference: lib.include ->
[EMAIL PROTECTED]
Adding reference: lib.test.include ->
[EMAIL PROTECTED]
Adding reference: weblogic.path ->
[EMAIL PROTECTED]
Adding reference: weblogic.and.libs ->
[EMAIL PROTECTED]
Adding reference: global.classpath ->
[EMAIL PROTECTED]
Adding reference: devtool.src ->
[EMAIL PROTECTED]
Adding reference: devtool.classpath ->
[EMAIL PROTECTED]
Adding reference: gen.classpath ->
[EMAIL PROTECTED]
Adding reference: all.src -> [EMAIL PROTECTED]
Adding reference: all.xcomp -> [EMAIL PROTECTED]
Adding reference: all.xcomp.dirs ->
[EMAIL PROTECTED]
Adding reference: core.src -> [EMAIL PROTECTED]
Adding reference: app.src -> [EMAIL PROTECTED]
Adding reference: core.test -> [EMAIL PROTECTED]
Adding reference: app.test -> [EMAIL PROTECTED]
Adding reference: all.test -> [EMAIL PROTECTED]
Adding reference: xcompc.src.core ->
[EMAIL PROTECTED]
Adding reference: xcompc.src.app ->
[EMAIL PROTECTED]
Adding reference: xcompc.src.test ->
[EMAIL PROTECTED]
Adding reference: xslt.generic ->
[EMAIL PROTECTED]
Adding reference: xslt.weblogic ->
[EMAIL PROTECTED]
Adding reference: xslt.core.generic ->
[EMAIL PROTECTED]
Adding reference: xslt.core.weblogic ->
[EMAIL PROTECTED]
Adding reference: CellectivityDTDs ->
[EMAIL PROTECTED]
Adding reference: allDTDs -> [EMAIL PROTECTED]
 +Target: clean
 +Target: cleanjars
 +Target: cleanstage
 +Target: all
 +Target: most
 +Target: min
 +Target: testall
 +Target: testmost
 +Target: testmin
 +Target: releaseall
 +Target: release
 +Target: install
 +Target: create
 +Target: containers
 +Target: testcontainers
 +Target: core
 +Target: appscore
 +Target: packears
 +Target: appsears
 +Target: xcomp
 +Target: compile
 +Target: generate
 +Target: validate
 +Target: stage
 +Target: xcomp.all.init
 +Target: xcomp.all
 +Target: xcomp.first
 +Target: init.global
 +Target: init
Adding reference: task-libs -> [EMAIL PROTECTED]
 +Target: compile.devtools
 +Target: pack.devtools
 +Target: build.devtools
 +Target: init.install
 +Target: bundle.install
 +Target: tag.install
 +Target: xcomp.core
 +Target: compile.core
 +Target: xcomp.test
 +Target: validate.core
 +Target: test.core
 +Target: manifest.core
 +Target: stage.init
 +Target: stage.core
 +Target: deploy.staging
 +Target: core.vm
 +Target: core.lib.files
Adding reference: core.lib.most ->
[EMAIL PROTECTED]
Adding reference: core.lib.util ->
[EMAIL P

DO NOT REPLY [Bug 23913] - Style task does not use XMLCatalog as required

2003-12-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=23913

Style task does not use XMLCatalog as required





--- Additional Comments From [EMAIL PROTECTED]  2003-12-05 18:54 ---
Ok, I think I have found the problem. When I run my build with -debug I get 
the following errors when trying to resolve with the catalogue:

[style] Using class org.apache.tools.ant.taskdefs.optional.TraXLiaison
[style] In file E:\projects\ant1_6-branch-20031018
\pita\apps\travel\airport-codes-nations.xml time: 1066520355410
[style] Out file E:\projects\ant1_6-branch-20031018
\pita\apps\travel\conf\name-
identities\com.cellectivity.app.travel.data.flight.Airport.xml time: 0
[style] Style file E:\projects\ant1_6-branch-20031018
\pita\apps\travel\airports.xsl time: 1065621175000
[style] Processing E:\projects\ant1_6-branch-20031018
\pita\apps\travel\airport-codes-nations.xml to E:\projects\ant1_6-branch-
20031018\pita\apps\travel\conf\name-
identities\com.cellectivity.app.travel.data.flight.Airport.xml
[style] Loading stylesheet E:\projects\ant1_6-branch-20031018
\pita\apps\travel\airports.xsl
resolveEntity: '-//W3C//ENTITIES Latin 
1//EN//HTML': 'http://dtds.cellectivity.com/cellectivity/HTMLEntities.dtd'
Apache resolver library not found, internal resolver will be used
Failed to load Apache resolver: java.lang.NoClassDefFoundError: 
org/apache/xml/resolver/tools/CatalogResolver
Matching catalog entry found for publicId: '-//W3C//ENTITIES Latin 
1//EN//HTML' location: 'E:\projects\ant1_6-branch-20031018
\pita\conf\cellectivity/HTMLEntities.dtd'
Couldn't load ResourceStream for E:\projects\ant1_6-branch-20031018
\pita\conf\cellectivity/HTMLEntities.dtd
No matching catalog entry found, parser will 
use: 'http://dtds.cellectivity.com/cellectivity/HTMLEntities.dtd'
[style] : Fatal Error! Failure reading file:///E:/projects/ant1_6-branch-
20031018/pita/apps/travel/airport-codes-nations.xml Cause: 
java.net.UnknownHostException: dtds.cellectivity.com
[style] Failed to process E:\projects\ant1_6-branch-20031018
\pita\apps\travel\airport-codes-nations.xml


The file E:\projects\ant1_6-branch-20031018
\pita\conf\cellectivity/HTMLEntities.dtd is there, so aparently the resolver 
does not understand about accessing files (at least in windows) correctly.

Notice I am specifying a "location" in the catalogue entry.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: ant 1.6beta3 released

2003-12-05 Thread Jose Alberto Fernandez
Hi,

Just installed 1.6b3 in my environment, and I am getting the following output
when running on Debug mode. It seems that some jars are bad but I cannot 
identify 
which one could be. Any ideas how to find which one may be broken (or what else 
can be wrong)?

Thanks in advance,

Jose Alberto

E:\projects\ant1_6-branch-20031018\pita\build.bat -Dbuild.nocheck=true -debug 
clean
Apache Ant version 1.6beta3 compiled on December 5 2003
Buildfile: newbuild.xml
Adding reference: ant.PropertyHelper -> [EMAIL PROTECTED]
Detected Java version: 1.3 in: C:\java\ibm1.3.1\jre
Detected OS: Windows XP
Adding reference: ant.ComponentHelper -> [EMAIL PROTECTED]
Setting ro project property: ant.version -> Apache Ant version 1.6beta3 
compiled on December 5 2003
Setting ro project property: build.nocheck -> true
Setting ro project property: ant.file -> 
E:\projects\ant1_6-branch-20031018\pita\newbuild.xml
Adding reference: ant.projectHelper -> [EMAIL PROTECTED]
Adding reference: ant.parsing.context -> [EMAIL PROTECTED]
Adding reference: ant.targets -> []
parsing buildfile E:\projects\ant1_6-branch-20031018\pita\newbuild.xml with URI 
= file:///E:/projects/ant1_6-branch-20031018/pita/newbuild.xml
Setting ro project property: ant.project.name -> newbuild
Adding reference: newbuild -> [EMAIL PROTECTED]
Setting ro project property: ant.file.newbuild -> 
E:\projects\ant1_6-branch-20031018\pita\newbuild.xml
Project base dir set to: E:\projects\ant1_6-branch-20031018\pita
 +Target: 
Adding reference: global.testclasspath -> [EMAIL PROTECTED]
Adding reference: lib.pattern -> [EMAIL PROTECTED]
Adding reference: lib.short.pattern -> [EMAIL PROTECTED]
Adding reference: lib.test.pattern -> [EMAIL PROTECTED]
Adding reference: lib.serial.pattern -> [EMAIL PROTECTED]
Adding reference: core.ejb.required -> [EMAIL PROTECTED]
Adding reference: core.ejb.notrequired -> [EMAIL PROTECTED]
Adding reference: lib.include -> [EMAIL PROTECTED]
Adding reference: lib.test.include -> [EMAIL PROTECTED]
Adding reference: weblogic.path -> [EMAIL PROTECTED]
Adding reference: weblogic.and.libs -> [EMAIL PROTECTED]
Adding reference: global.classpath -> [EMAIL PROTECTED]
Adding reference: devtool.src -> [EMAIL PROTECTED]
Adding reference: devtool.classpath -> [EMAIL PROTECTED]
Adding reference: gen.classpath -> [EMAIL PROTECTED]
Adding reference: all.src -> [EMAIL PROTECTED]
Adding reference: all.xcomp -> [EMAIL PROTECTED]
Adding reference: all.xcomp.dirs -> [EMAIL PROTECTED]
Adding reference: core.src -> [EMAIL PROTECTED]
Adding reference: app.src -> [EMAIL PROTECTED]
Adding reference: core.test -> [EMAIL PROTECTED]
Adding reference: app.test -> [EMAIL PROTECTED]
Adding reference: all.test -> [EMAIL PROTECTED]
Adding reference: xcompc.src.core -> [EMAIL PROTECTED]
Adding reference: xcompc.src.app -> [EMAIL PROTECTED]
Adding reference: xcompc.src.test -> [EMAIL PROTECTED]
Adding reference: xslt.generic -> [EMAIL PROTECTED]
Adding reference: xslt.weblogic -> [EMAIL PROTECTED]
Adding reference: xslt.core.generic -> [EMAIL PROTECTED]
Adding reference: xslt.core.weblogic -> [EMAIL PROTECTED]
Adding reference: CellectivityDTDs -> [EMAIL PROTECTED]
Adding reference: allDTDs -> [EMAIL PROTECTED]
 +Target: clean
 +Target: cleanjars
 +Target: cleanstage
 +Target: all
 +Target: most
 +Target: min
 +Target: testall
 +Target: testmost
 +Target: testmin
 +Target: releaseall
 +Target: release
 +Target: install
 +Target: create
 +Target: containers
 +Target: testcontainers
 +Target: core
 +Target: appscore
 +Target: packears
 +Target: appsears
 +Target: xcomp
 +Target: compile
 +Target: generate
 +Target: validate
 +Target: stage
 +Target: xcomp.all.init
 +Target: xcomp.all
 +Target: xcomp.first
 +Target: init.global
 +Target: init
Adding reference: task-libs -> [EMAIL PROTECTED]
 +Target: compile.devtools
 +Target: pack.devtools
 +Target: build.devtools
 +Target: init.install
 +Target: bundle.install
 +Target: tag.install
 +Target: xcomp.core
 +Target: compile.core
 +Target: xcomp.test
 +Target: validate.core
 +Target: test.core
 +Target: manifest.core
 +Target: stage.init
 +Target: stage.core
 +Target: deploy.staging
 +Target: core.vm
 +Target: core.lib.files
Adding reference: core.lib.most -> [EMAIL PROTECTED]
Adding reference: core.lib.util -> [EMAIL PROTECTED]
 +Target: core.lib
 +Target: core.client
 +Target: core.vault
 +Target: core.ejb
 +Target: buildlibs.core
 +Target: do.containers
 +Target: build.container
 +Target: init.container
 +Target: compile.container
 +Target: test.container
 +Target: manifest.container
 +Target: generate-only.container
 +Target: generate.container
 +Target: pack.container
 +Target: containersear
 +Target: validate.container
 +Target: stage.container
 +Target: do.apps
 +Target: do.reqapps
 +Target: appscore.app
 +Target: init.appscore
 +Target: xcomp.app
 +Target: precompile.app
 +Target: compile.appscore
 +Target: test.appscore
 +Target: pack.appscore
 +Target: appsears.app
 +Target: generate.appscore
 +Target: build.app
 +Target: init

Re: Namespace support in Ant 1.6

2003-12-05 Thread Peter Reilly
Brilliant,
With your blessing, I will copy this into the official
ant manual.
Peter
Christopher Lenz wrote:
Hi everyone,
just a quick note that I've added some documentation to the Ant Wiki  
concerning the new namespace support. If I got the facts wrong  
somewhere, please correct it. Additions welcome, too, of course :-)

http://nagoya.apache.org/wiki/apachewiki.cgi?NewAntFeaturesInDetail/ 
XmlNamespaceSupport

Cheers,
  Chris
--
Christopher Lenz
/=/ cmlenz at gmx.de
-
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]


Namespace support in Ant 1.6

2003-12-05 Thread Christopher Lenz
Hi everyone,
just a quick note that I've added some documentation to the Ant Wiki  
concerning the new namespace support. If I got the facts wrong  
somewhere, please correct it. Additions welcome, too, of course :-)

http://nagoya.apache.org/wiki/apachewiki.cgi?NewAntFeaturesInDetail/ 
XmlNamespaceSupport

Cheers,
  Chris
--
Christopher Lenz
/=/ cmlenz at gmx.de
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 25226] - antlib availability

2003-12-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=25226

antlib availability





--- Additional Comments From [EMAIL PROTECTED]  2003-12-05 15:58 ---
I know you can put the antlib in a jar without classes.  That's actually what I 
meant below; I didn't specify that the jar wouldn't have classes, but I also 
didn't say it would.  Generally speaking, in the case of Ant, I'm not sure I 
see what purpose is served by actively preventing a user from making his or her 
own decision (good or bad, and for whatever reason) whether to use classes 
and/or resources stored in directories rather than jar files, at least in 
$HOME/.ant/lib .

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 25228] - subant.html...

2003-12-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=25228

subant.html...





--- Additional Comments From [EMAIL PROTECTED]  2003-12-05 15:47 ---
Created an attachment (id=9418)
screenshot example

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 25228] - subant.html...

2003-12-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=25228

subant.html...





--- Additional Comments From [EMAIL PROTECTED]  2003-12-05 15:38 ---
looks like all the short-description CDATA stuff is getting "repeated."  I will 
try to attach a screenshot.  I get this in MSIE 5.0 & 6.0.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 25163] - Unzip: java.io.IOException: Negative seek offset

2003-12-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=25163

Unzip: java.io.IOException: Negative seek offset





--- Additional Comments From [EMAIL PROTECTED]  2003-12-05 11:18 ---
Hoera, it works !

Thanks a lot !!!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/xdocs external.xml

2003-12-05 Thread jhm
jhm 2003/12/05 02:17:19

  Modified:xdocsexternal.xml
  Log:
  New external tasks: wsdl-validator + pct (progress)
  
  Revision  ChangesPath
  1.109 +73 -20ant/xdocs/external.xml
  
  Index: external.xml
  ===
  RCS file: /home/cvs/ant/xdocs/external.xml,v
  retrieving revision 1.108
  retrieving revision 1.109
  diff -u -r1.108 -r1.109
  --- external.xml  27 Nov 2003 15:18:39 -  1.108
  +++ external.xml  5 Dec 2003 10:17:19 -   1.109
  @@ -394,16 +394,16 @@
   
 
   Dependency Finder extracts dependencies and OO metrics from
  - Java class files produced by most Java compilers. It can compute
  - API differences between versions;  no sources needed. It includes
  - Ant tasks, web, Swing, and command-line interfaces, with XSL
  - stylesheets for formatting output.
  -
  - You can use it to extract dependencies between packages, classes,
  - or even methods, or any combination thereof.  You can use Perl
  - regular expressions to filter the information and pinpoint only
  - what you need.  There is even a Web Application version (WAR file)
  - so a whole group of developers can share a common view.
  +Java class files produced by most Java compilers. It can compute
  +API differences between versions;  no sources needed. It includes
  +Ant tasks, web, Swing, and command-line interfaces, with XSL
  +stylesheets for formatting output.
  +
  +You can use it to extract dependencies between packages, classes,
  +or even methods, or any combination thereof.  You can use Perl
  +regular expressions to filter the information and pinpoint only
  +what you need.  There is even a Web Application version (WAR file)
  +so a whole group of developers can share a common view.
   
   
 
  @@ -1402,32 +1402,32 @@
   stays OS independent (because Kanaputs uses Java) and is
   completely integrated with Ant as you can give Ant properties
   to the Kanaputs code and get back the results in other
  -properties. 
  +properties.
   
   Moreover, as you can invoke any kind of Java code with
   Kanaputs, you can popup windows from your Ant file to ask the
   user to do a choice.
   
 
  -Compatibility: 
  -Ant 1.2 and above 
  +Compatibility:
  +Ant 1.2 and above
 
 
  -URL: 
  +URL:
   
  -  http://www.kanaputs.org/";>http://www.kanaputs.org/ 
  -  http://www.kanaputs.org/ant.html";>http://www.kanaputs.org/ant.html 
  +  http://www.kanaputs.org/";>http://www.kanaputs.org/
  +  http://www.kanaputs.org/ant.html";>http://www.kanaputs.org/ant.html
   
 
 
  -Contact: 
  +Contact:
   
  -  mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] 
  +  mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]
   
 
 
  -License: 
  -Freeware 
  +License:
  +Freeware
 
   
 
  @@ -1488,6 +1488,29 @@
   
 
   
  +  
  +PCT is a task to compile Progress code, and in a more general
  +way, to deal with Progress procedures and databases.
  +
  +  
  +Compatibility:
  +Ant 1.5
  +  
  +  
  +URL:
  +http://pct.sourceforge.net";>http://pct.sourceforge.net
  +  
  +  
  +Contact:
  +mailto:[EMAIL PROTECTED]">Gilles QUERRET
  +  
  +  
  +Licence:
  +Apache Software Foundation License
  +  
  +
  +  
  +
 
   
   PMD checks Java source code for unused variables,
  @@ -1980,6 +2003,36 @@
 
   License:
   Apache license
  +  
  +
  +  
  +
  +  
  +WSDLValidate is, as it sounds, a tool to validate WSDL files.
  +http://dev.eclipse.org/viewcvs/indextech.cgi/~checkout~/wsvt-home/docs/articles/wsdl20Validator/wsdlvalidateant.html";>WSDLValidate
  +is similar in configuration to the optional Ant task http://ant.apache.org/manual/OptionalTasks/xmlvalidate.html";>XMLValidate.
  +WSDLValidate can optionally validate a WSDL document against the http://www.ws-i.org";>WS-I Basic Profile.
  +
  +WSDLValidate is available as an Ant task, an Eclipse plug-in and a
  +command line utility.
  +
  +  
  +Compatibility:
  +Ant 1.5 or later
  +  
  +  
  +URL:
  +http://www.ecl

DO NOT REPLY [Bug 25163] - Unzip: java.io.IOException: Negative seek offset

2003-12-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=25163

Unzip: java.io.IOException: Negative seek offset





--- Additional Comments From [EMAIL PROTECTED]  2003-12-05 08:56 ---
First for the  task, you need ant 1.6 beta3, just released.
Then you need a cvs version of ant-contrib, or take the lastest
gump compiled jar at http://gump.covalent.net/jars/latest/ant-contrib.
Place the ant-contrib.jar into the $ANT_HOME/lib directory.
You can then use the antlib namespace shortcut:

  

or use a 
or  to access the
tasks without using namespaces.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Newsletter

2003-12-05 Thread Stefan Bodewig
Hi,

I've just added a (small) blurb to the Apache Newsletter draft
.

Please go ahead and modify it as you see fit.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 25226] - antlib availability

2003-12-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=25226

antlib availability

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2003-12-05 08:47 ---
The antlib.xml file just needs to be placed in a jar file at
the correct location.
The jar file does not need to contain class files for the
antlib: namespace uri short-cut to work.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 25228] - subant.html...

2003-12-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=25228

subant.html...





--- Additional Comments From [EMAIL PROTECTED]  2003-12-05 08:45 ---
In what way?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 25211] - ant ftp task does not use ascii transfer to send files to host with Suse Linux 9.0

2003-12-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=25211

ant ftp task does not use ascii transfer to send files to host with Suse Linux 
9.0

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |1.6



--- Additional Comments From [EMAIL PROTECTED]  2003-12-05 08:26 ---
Hi,
I would suspect that your FTP server has binary as default transfer mode instead
of ASCII.
This problem is fixed in ant 1.6, exactly since
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java revision 1.39
(29-07-2003). You can download ant1.6beta3 to check that.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/docs contributors.html

2003-12-05 Thread antoine
antoine 2003/12/04 16:16:06

  Modified:xdocscontributors.xml
   docs contributors.html
  Log:
  Update my email address
  
  Revision  ChangesPath
  1.19  +1 -1  ant/xdocs/contributors.xml
  
  Index: contributors.xml
  ===
  RCS file: /home/cvs/ant/xdocs/contributors.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- contributors.xml  24 Nov 2003 23:50:41 -  1.18
  +++ contributors.xml  5 Dec 2003 00:16:06 -   1.19
  @@ -42,7 +42,7 @@
   
   
   
  -Antoine Levy-Lambert (levylambert at tiscali-dsl.de)
  +Antoine Levy-Lambert (antoine at apache.org)
   
   Antoine is an IT consultant specialized in financial IT and
   in application management/configuration management. He has experience with
  
  
  
  1.36  +1 -1  ant/docs/contributors.html
  
  Index: contributors.html
  ===
  RCS file: /home/cvs/ant/docs/contributors.html,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- contributors.html 2 Dec 2003 11:51:11 -   1.35
  +++ contributors.html 5 Dec 2003 00:16:06 -   1.36
  @@ -204,7 +204,7 @@
   http://www.ehatchersolutions.com";>eHatcher Solutions, Inc.
   
   
  -Antoine Levy-Lambert (levylambert at tiscali-dsl.de)
  +Antoine Levy-Lambert (antoine at apache.org)
   
   Antoine is an IT consultant specialized in financial IT and
   in application management/configuration management. He has experience with
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/xdocs antnews.xml

2003-12-05 Thread antoine
antoine 2003/12/04 16:12:40

  Modified:xdocsTag: ANT_16_BRANCH antnews.xml
  Log:
  Merge from HEAD
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.48.2.1  +26 -0 ant/xdocs/antnews.xml
  
  Index: antnews.xml
  ===
  RCS file: /home/cvs/ant/xdocs/antnews.xml,v
  retrieving revision 1.48
  retrieving revision 1.48.2.1
  diff -u -r1.48 -r1.48.2.1
  --- antnews.xml   20 Aug 2003 23:28:59 -  1.48
  +++ antnews.xml   5 Dec 2003 00:12:40 -   1.48.2.1
  @@ -9,6 +9,32 @@
 
   
   
  +   
  +December 5, 2003 - Ant 1.6beta3 Available
  +Apache Ant 1.6beta3 is now available for http://cvs.apache.org/dist/ant/v1.6beta3/";>download.  As
  +we've already said in the announcements of Ant 1.5.4, this release
  +requires JDK 1.2 or later to run.
  +
  +We encourage user to give this beta a release a try and report
  +any bugs found so that we get a chance to fix them before we make
  +the final release of Ant 1.6.
  +
  +Ant 1.6 adds a lot of new features, most prominently support
  +for XML namespaces as well as a new concept of Ant libraries that
  +makes use of namespaces to avoid name clashes of custom tasks.
  +For a longer list of fixed bugs and new features see the release
  +notes.
  +
  +The manual of Ant 1.6 is available on line 
  + here.
  +
  +If you find anything that hasn't been covered in the manual (I bet you
  +did) or could be explained better, feel free to help us out in the
  +http://nagoya.apache.org/wiki/apachewiki.cgi?NewAntFeaturesInDetail";>Wiki 
.
  +
  +   
  +
 
   August 12, 2003 - Ant 1.5.4 Available
   Apache Ant 1.5.4 is now available for 
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/xdocs index.xml

2003-12-05 Thread antoine
antoine 2003/12/04 16:11:56

  Modified:docs Tag: ANT_16_BRANCH index.html antnews.html
   xdocsTag: ANT_16_BRANCH index.xml
  Log:
  Merge from HEAD
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.287.2.2 +30 -13ant/docs/index.html
  
  Index: index.html
  ===
  RCS file: /home/cvs/ant/docs/index.html,v
  retrieving revision 1.287.2.1
  retrieving revision 1.287.2.2
  diff -u -r1.287.2.1 -r1.287.2.2
  --- index.html16 Oct 2003 21:46:30 -  1.287.2.1
  +++ index.html5 Dec 2003 00:11:56 -   1.287.2.2
  @@ -169,22 +169,39 @@
 
   Welcome
   
  -  
  -  Ant 1.6beta2
  +  
  +  Ant 1.6beta3
   
  -Apache Ant 1.6beta2 is now available for http://cvs.apache.org/dist/ant/v1.6beta2/";>download.  As
  -   we've already said in the announcements of Ant 1.5.4, this release
  -   requires JDK 1.2 or later to run.
  +Apache Ant 1.6beta3 is now available for http://cvs.apache.org/dist/ant/v1.6beta3/";>download.  As
  +we've already said in the announcements of Ant 1.5.4, this release
  +requires JDK 1.2 or later to run.
   We encourage user to give this beta a 
release a try and report
  -   any bugs found so that we get a chance to fix them before we make
  -   the final release of Ant 1.6.
  +any bugs found so that we get a chance to fix them before we make
  +the final release of Ant 1.6.
   Ant 1.6 adds a lot of new features, most 
prominently support
  -   for XML namespaces as well as a new concept of Ant libraries that
  -   makes use of namespaces to avoid name clashes of custom tasks.
  -   For a longer list of fixed bugs and new features see the release
  -   notes.
  -The manual of Ant 1.6 is available on line
  -here.
  +for XML namespaces as well as a new concept of Ant libraries that
  +makes use of namespaces to avoid name clashes of custom tasks.
  +For a longer list of fixed bugs and new features see the release
  +notes.
  +The manual of Ant 1.6 is available on 
line 
  + here.
  +If you find anything that hasn't been 
covered in the manual (I bet you
  +did) or could be explained better, feel free to help us out in the
  +http://nagoya.apache.org/wiki/apachewiki.cgi?NewAntFeaturesInDetail";>Wiki 
.
  +
  +  
  +  Ant 1.5.4
  +
  +Apache Ant 1.5.4 is now available for
  + http://ant.apache.org/bindownload.cgi";>download.
  +
  +
  +Note
  +Ant 1.5.4 will be the last release that supports
  +  JDK 1.1. The next major release of Ant, Ant 1.6, will require JDK 1.2 
or
  +  later
  +
  +
   
 
 Apache Ant
  
  
  
  1.77.2.1  +21 -0 ant/docs/antnews.html
  
  Index: antnews.html
  ===
  RCS file: /home/cvs/ant/docs/antnews.html,v
  retrieving revision 1.77
  retrieving revision 1.77.2.1
  diff -u -r1.77 -r1.77.2.1
  --- antnews.html  20 Aug 2003 23:28:59 -  1.77
  +++ antnews.html  5 Dec 2003 00:11:56 -   1.77.2.1
  @@ -171,6 +171,27 @@
 
   News
   
  +  
  +  Ant 1.6beta3
  +
  +December 5, 2003 - Ant 1.6beta3 Available
  +Apache Ant 1.6beta3 is now available for 
http://cvs.apache.org/dist/ant/v1.6beta3/";>download.  As
  +we've already said in the announcements of Ant 1.5.4, this release
  +requires JDK 1.2 or later to run.
  +We encourage user to give this beta a 
release a try and report
  +any bugs found so that we get a chance to fix them before we make
  +the final release of Ant 1.6.
  +Ant 1.6 adds a lot of new features, most 
prominently support
  +for XML namespaces as well as a new concept of Ant libraries that
  +makes use of namespaces to avoid name clashes of custom tasks.
  +For a longer list of fixed bugs and new features see the release
  +notes.
  +The manual of Ant 1.6 is available on 
line 
  + here.
  +If you find anything that hasn't been 
covered in the manual (I bet you
  +did) or could be explained better, feel free to help us out in the
  +http://nagoya.apache.org/wiki/apachewiki.cgi?NewAntFeaturesInDetail";>Wiki 
.
  +
 
 Ant 1.5.4
   
  
  
  
  No   revision
  No   revision
  1.52.2.2  +38 -22ant/xdocs/ind