Summary: | [PATCH] build.xml fixes | ||
---|---|---|---|
Product: | POI | Reporter: | Paul Krause <pkrause> |
Component: | POI Overall | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 3.0-dev | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
build.xml patch
patch against HEAD [build.xml,v 1.48] patch against HEAD [build.xml,v 1.48] (2nd attempt) |
Description
Paul Krause
2003-07-24 19:31:18 UTC
Created attachment 7499 [details]
build.xml patch
Small Q: whats the difference between value= and location= , which seems to be a major part of the diff. my knowledge of ant seems to have been overtaken by the continuing evolution of the product :) value= Sets the property to the given string value. location= Sets the property to the absolute filename of the given file. If the value of this attribute is an absolute path, it is left unchanged (with / and \ characters converted to the current platforms conventions). Otherwise it is taken as a path relative to the project's basedir and expanded. The main point of this change is so the build can be run from other directories and still resolve paths correctly. this didnt apply properly on head. Did u create this on branch? The patch was created on HEAD, but build.xml has been modified at least twice since then. would you mind creating another patch? I'll apply it immediately. Created attachment 7645 [details]
patch against HEAD [build.xml,v 1.48]
[avik@localhost jakarta-poi-HEAD]$ cvs status build.xml =================================================================== File: build.xml Status: Up-to-date Working revision: 1.48 Repository revision: 1.48 /home/cvs/jakarta-poi/build.xml,v Sticky Tag: (none) Sticky Date: (none) Sticky Options: (none) [avik@localhost jakarta-poi-HEAD]$ patch build.xml < build.diff (Stripping trailing CRs from patch.) patching file build.xml Hunk #5 succeeded at 285 with fuzz 2. missing header for context diff at line 182 of patch (Stripping trailing CRs from patch.) can't find file to patch at input line 182 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- | | <target name="test-scratchpad" depends="compile-scratchpad,-test-scratchpad-check" unless="scratchpad.test.notRequired"> |! <junit printsummary="yes" fork="no" haltonfailure="${halt.on.test.failure}" failureproperty="scratchpad.test.failed"> | <classpath> | <path refid="scratchpad.classpath"/> | <pathelement location="${main.output.dir}"/> -------------------------- File to patch: ****************** :( Any ideas? Maybe u can just "cvs up" your build.xml and attach it here... i'll commit that. Created attachment 7647 [details]
patch against HEAD [build.xml,v 1.48] (2nd attempt)
applied to head. Please cross check. Thanks. |