<java> command problemes
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rick_Ross
Posted On:   Sunday, August 18, 2002 07:04 PM

I have the worst luck with the java command in Ant (1.5) classpathref="${compile.classpath}"> In verbose mode, I get the following message: Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource versifi/model/DefaultData.class from [fullpath] uildWEB-INFclassesversifimodelDefaultData.class I don't understand it. It actaully tries to open the class file as a zip and (naturally) fails. Any ideas?    More>>

I have the worst luck with the java command in Ant (1.5)

			












classpathref="${compile.classpath}">




In verbose mode, I get the following message:

Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource versifi/model/DefaultData.class from [fullpath] uildWEB-INFclassesversifimodelDefaultData.class


I don't understand it. It actaully tries to open the class file as a zip and (naturally) fails.

Any ideas?

   <<Less

Re: &lt;java&gt; command problemes

Posted By:   Erik_Hatcher  
Posted On:   Tuesday, August 20, 2002 03:27 AM

Two suggestions:

  • Your classpathref should not have the ${} syntax, simply use "compile.classpath". The ${} syntax is for properties, not datatype references.

  • Use fork="true" on .



I'm not sure why you are getting the error you're getting, but your classpathref is incorrect.
About | Sitemap | Contact