This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 807 - build.xml improvements
Summary: build.xml improvements
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: Other (show other bugs)
Version: CSS Validator
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-19 04:32 UTC by Ville Skyttä
Modified: 2006-05-31 01:54 UTC (History)
0 users

See Also:


Attachments
build.xml improvements (1.84 KB, patch)
2004-06-19 04:34 UTC, Ville Skyttä
Details
Improved version of build.xml with jar target (3.08 KB, application/xml)
2006-03-19 06:04 UTC, M.-A. DARCHE
Details

Description Ville Skyttä 2004-06-19 04:32:36 UTC
I'll attach a patch against build.xml with some cosmetic improvements, and the
following fixes and features:

- Configurable location of servlet API jar

- Use local build.properties for configure local properties if available

- Edd encoding="ISO-8859-1" to <javac>, without this the validator won't build
  on my Fedora Core 2 en_US.UTF-8 box with Java 1.5.
Comment 1 Ville Skyttä 2004-06-19 04:34:26 UTC
Created attachment 368 [details]
build.xml improvements

I believe my commit bit is valid for css-validator; just let me know if you'd
like me to commit this.

Oh, and the following lines should be added to css-validator/.cvsignore:

  build
  build.properties
  javadoc
Comment 2 M.-A. DARCHE 2006-03-19 06:04:37 UTC
Created attachment 412 [details]
Improved version of build.xml with jar target

Here is a new version of the build.xml file used to build the CSS validator.

This new version contains all the modification suggested by Ville Skyttä and adds some more. Mainly it adds a "jar" target to build a jar file that makes it possible to very easily use the CSS validator from the command line :
java -jar /usr/local/share/java/css-validator.jar -css2 -html /tmp/test.css
Comment 3 Olivier Thereaux 2006-03-20 07:07:18 UTC
Many thanks to both of you, patch tested and applied.
Comment 4 Jaroslav 2006-05-31 01:53:09 UTC
Comment on attachment 412 [details]
Improved version of build.xml with jar target

,,
Comment 5 Jaroslav 2006-05-31 01:54:40 UTC
Comment on attachment 412 [details]
Improved version of build.xml with jar target

,,