Saxon:Packaging
From EXPath
Line 4: | Line 4: | ||
* Adapt to the latest draft. | * Adapt to the latest draft. | ||
+ | |||
+ | ==Setup project== | ||
+ | |||
+ | The projects in the Packaging System Subversion repository are [http://www.netbeans.org/ Netbeans] projects. There is the project <tt>pkg-saxon</tt> dedicated to supporting the Packaging System on Saxon, and the project <tt>plg-repo</tt>, which provides Java support for on-disk repositories. It is then used by the former project, but is not dedicated to Saxon itself. | ||
+ | |||
+ | The project <tt>pkg-repo</tt> has the following dependencies: | ||
+ | |||
+ | * a Java library named <tt>apache-commons-xml-resolver-1.2</tt> | ||
+ | * a Java platform named <tt>JDK_1.6</tt> | ||
+ | |||
+ | The project <tt>pkg-saxon</tt> has the following dependencies: | ||
+ | |||
+ | * a Java library named <tt>apache-commons-xml-resolver-1.2</tt> | ||
+ | * a Java library named <tt>saxon-he</tt> | ||
+ | * a Java platform named <tt>JDK_1.6</tt> | ||
+ | |||
+ | Ensure you have the correct Java platform by having a look in <tt>Tools -> Java Platforms</tt>. If the correct platform does not exist, click <tt>Add Platform...</tt>, and select the correct Java home directory on your system (the one containing the <tt>bin</tt> subdirectory), then <tt>Next ></tt>, then be sure to set the correct name, then <tt>Finish</tt>. | ||
+ | |||
+ | To create the libraries, go to <tt>Tools -> Libraries</tt>, click <tt>New Library...</tt> and type in the library name: <tt>apache-commons-xml-resolver-1.2</tt>. Add the JAR file <tt>resolver.jar</tt>, from the package ''XML Commons Resolver Version 1.2'' downloadable from [http://xerces.apache.org/mirrors.cgi this webpage]. Do the same thing to create the library <tt>saxon-he</tt> and the JAR <tt>saxon9he.jar</tt> from the latest ''Saxon-HE'' archive downloadable from [http://sourceforge.net/projects/saxon/files/ this webpage]. | ||
[[Category:Todo]] | [[Category:Todo]] |
Revision as of 19:53, 24 January 2010
The implementation of Packaging System for Saxon,and more generally the standard on-disk repository manager.
Todo
- Adapt to the latest draft.
Setup project
The projects in the Packaging System Subversion repository are Netbeans projects. There is the project pkg-saxon dedicated to supporting the Packaging System on Saxon, and the project plg-repo, which provides Java support for on-disk repositories. It is then used by the former project, but is not dedicated to Saxon itself.
The project pkg-repo has the following dependencies:
- a Java library named apache-commons-xml-resolver-1.2
- a Java platform named JDK_1.6
The project pkg-saxon has the following dependencies:
- a Java library named apache-commons-xml-resolver-1.2
- a Java library named saxon-he
- a Java platform named JDK_1.6
Ensure you have the correct Java platform by having a look in Tools -> Java Platforms. If the correct platform does not exist, click Add Platform..., and select the correct Java home directory on your system (the one containing the bin subdirectory), then Next >, then be sure to set the correct name, then Finish.
To create the libraries, go to Tools -> Libraries, click New Library... and type in the library name: apache-commons-xml-resolver-1.2. Add the JAR file resolver.jar, from the package XML Commons Resolver Version 1.2 downloadable from this webpage. Do the same thing to create the library saxon-he and the JAR saxon9he.jar from the latest Saxon-HE archive downloadable from this webpage.