Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 32459 invoked by uid 500); 12 Jul 2001 17:17:15 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 32364 invoked from network); 12 Jul 2001 17:17:13 -0000 Message-ID: <20010712171715.32673.qmail@web13407.mail.yahoo.com> Date: Thu, 12 Jul 2001 10:17:15 -0700 (PDT) From: Diane Holt Subject: Re: Delete task To: ant-user@jakarta.apache.org In-Reply-To: <5802F7678945D51184440002557C81E20F2545@Server1b.office.isaserver.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Is the file in use? If you're on a Win* system, they get snooty about letting you delete a file that's in use. But really, do you want to chmod a source-controlled file? If PVCS has a way to check out a file for edit, wouldn't it be better to go that route and do it "legally"? Diane --- Natalia Bello wrote: > Hi, > I know that it has been some mails about problems with this tasks, but I > couldn't find the solution. > In fact I am downloading a file from PVCS, with pvcs task. The file is > read-only. > Afterwards in the compilation I need to overwrite this file. > I have tried > > overwrite="yes" /> > and it doesn't work, I have and exception > I have try to change the atributes and then delete the file. > > > > > > > and it doesn't work neather, I got an error saying; unable to delete the > file. > Does anyone know how to manage this? > > Thanks in advanced, > Natalia > -----Original Message----- > From: Klara Ward [mailto:klara.ward@debitech.com] > Sent: 12 July 2001 11:46 > To: ant-user > Subject: Another JUnitReport problem > > I use (or at least try out for a possible later need) > junitreport. I've > succeded in getting the > TESTS-TestSuites.xml, I didn't have to add anything to my > classpath (it's > really non-existing on my machine, I use different > classpaths for different > situations) I just had to put xalan.jar and xerces.jar in > ANT_HOME/lib. But > I couldn't use the nested report tag. I read what was said > on the list about > it but I couldn't find the solution to the problem. I tried > adding > xalanj1compat.jar and I got from one error > > (java.lang.NoClassDefFoundError: > org/apache/xalan/xslt/XSLTInputSource) to > another > > (java.lang.VerifyError: (class: org/apache/tools/ant/taskde > fs/optional/junit/AggregateTransformer, method: > getXSLStreamSource > signature: (Ljava/lang/String;)Lo > rg/apache/xalan/xslt/XSLTInputSource;) Incompatible object > argument for > function call). > > I also tried removing jaxp.jar and parser.jar from the lib, > but that didn't > help either. > > My junitreport looks like this: > > > > > > > > > the report tag is on line 167 > and I get this error: > > C:\anttestvecommon\builddebitech.xml:167: > java.lang.VerifyError: (class: > org/apache/tools/ant/taskde > fs/optional/junit/AggregateTransformer, method: > getXSLStreamSource > signature: (Ljava/lang/String;)Lo > rg/apache/xalan/xslt/XSLTInputSource;) Incompatible object > argument for > function call > --- Nested Exception --- > java.lang.VerifyError: (class: > > org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer, me > thod: getXSLStreamSource signature: > (Ljava/lang/String;)Lorg/apache/xalan/xslt/XSLTInputSource;) > Inc > ompatible object argument for function call > at > > org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.createRepor > t(XMLResultAg > gregator.java:114) > at java.lang.reflect.Method.invoke(Native Method) > at > > org.apache.tools.ant.IntrospectionHelper$1.create(IntrospectionHelper.java:1 > 67) > at > > org.apache.tools.ant.IntrospectionHelper.createElement(IntrospectionHelper.j > ava:275) > at > > org.apache.tools.ant.ProjectHelper$NestedElementHandler.init(ProjectHelper.j > ava:535) > at > > org.apache.tools.ant.ProjectHelper$TaskHandler.startElement(ProjectHelper.ja > va:499) > at > > org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:329) > at > > org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376) > at > > org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat > or.java:1191) > > at > > org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne > r.java:1862) > at > > org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM > LDocumentScan > ner.java:1238) > at > > org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner. > java:381) > at > org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081) > at > > org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223) > at > javax.xml.parsers.SAXParser.parse(SAXParser.java:345) > at > org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:117) > at > > org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85) > at org.apache.tools.ant.Main.runBuild(Main.java:403) > at org.apache.tools.ant.Main.main(Main.java:149) > > Does anyone know how to fix this, preferably without adding > anything to the > classpath. > I use xalan-j_2_2_D6 > ===== (holtdl@yahoo.com) __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/