Cjos Rpm Pages; [ Cjos Audience]
Summary
The cjos-releaseframe.jar contains resources for Release Frame, an x-framework for XVCL Generator.
Source RPM
cjos-releaseframe-1.0-33.15.src.rpm
Target RPMs
cjos-releaseframe-n.noarch.rpm
cjos-releaseframe-ant-n.noarch.rpm
cjos-releaseframe-javadoc-n.noarch.rpm
cjos-releaseframe-joste-n.noarch.rpm
cjos-releaseframe-websource-n.noarch.rpm
Target files
The target files are
/usr/share/cjos/lib/cjos-releaseframe.jar
/usr/share/ant/lib/cjos-releaseframe.jar
/usr/share/cjos/javadoc/cjos-releaseframe/
/usr/share/cjos/websource/cjos-releaseframe/
/usr/share/cjos/joste-cdrom/websource/cjos-releaseframe/
Building
The following procedure assumes that you are using CVS and have configured the rpmbuild program (cvs/rpmbuild/.rpmmacros).
$ cd cvs/eclipse/release-1.0-34
$ ant -Dproduct=cjos-releaseframe build-all
- Result: Ant scripts and RPM specification are generated by XVCL Processor.
- Result: Binary edition is written to the rpmbuild/SOURCE directory.
- Result: Source archive is written to the rpmbuild/SOURCE directory.
- Result: Target RPM is written to the rpmbuild/RPMS directory.
See also
Release 1.0-33.1
An x-framework for XVCL Processor.
Release 1.0-33.5
An x-framework for XVCL Processor.
Distribution Name
A distribution name is used for the target installation directory. To set the distribution name, use the distribution.name attribute.
<model distribution.name="demo"/>
The installation directory is a variable.
A jar called n from distribution x is
/usr/share/x/lib/n.jar
JavaDoc for a jar called n is
/usr/share/x/javadoc/n
WebSource for a jar called n is
/usr/share/x/websource/n
A symbolic link for Apache Ant is
/usr/share/ant/lib/n.jar
When installing an -ant RPM, the following command is invoked to create a symbolic link for Ant:
$ ln -s /usr/share/x/lib/n.jar /usr/share/ant/lib/n.jar
Distribution Description
A distribution description is used for the description within an RPM. To set the distribution description, use the distribution.description attribute.
<model distribution.description="Demo Distribution"/>
Version
For version 0.2, use
<model version.major="0" version.minor="2"/>
Release
For release 3.n use
<model release.major="3"/>
Self-contained
This version is more self-contained. It no longer requires the installation of java/ant/module/script. The following files are now generated:
- module/module.properties
- module/script/build.xml
- module/script/configuration.txt
Release 1.0-33.6
An x-framework for XVCL Processor.
module/script/build.xml
(Generated.) Updated taskdef-2 target for websource.
yum-compatible repository
What happens after building a product? Optionally, the cdr target moves binary and source edition and RPMs to a yum-compatible repository. The cdr target invokes the yum-arch command to update headers.
$ cd cvs/eclipse/release-1.0-34
$ ant -Dproduct=cjos-ericlimited -Drelease.minor=1 cdr
Reference: http://cjos.cvs.sourceforge.net/cjos/eclipse/release-1.0-34/build.xml?view=markup
Release 1.0-33.7
Specify default javac.source for distribution
<model source.major="1" source.minor="5"/>
Specify default javac.target for distribution
<model target.major="1" target.minor="5"/>
ant-module-script-visit.xvcl
Updating source.major, source.minor, target.major, target.minor for javac.
module/script/build.xml (generated)
Updating source.major, source.minor, target.major, target.minor for javac.
Release 1.0-33.15
Source edition and CRLF
Source code and Ant scripts are fixed-up for Microsoft Windows before they are added to the source edition (ZIP) archive.
use-joste feature
The -joste package is part of the JOS Technical Edition and creates a symbolic link. For example, consider the cjos-ericlimited RPM package. The original WebSource files are installed in
/usr/share/cjos/websource/cjos-ericlimited/
To include these files in the JOS Technical Edition, the -joste package creates a symbolic link to point to the original files.
/usr/share/cjos/joste-cdrom/websource/cjos-ericlimited
This is an SPC variable. When use-joste is true, the -joste package is created.
skip.javac feature
This is an option attribute for a product. When skip.javac is true, the JavaDoc and WebSource files are created; the source code is not compiled, a jar is not created, a binary edition is not created.
Future
Binary edition for Linux
A binary edition for Linux should be a compressed tar-compatible archive.
Source edition for Linux
A source edition for Linux should be a compressed tar-compatible archive.
|