Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: 1.7
-
Fix Version/s: None
-
Component/s: Release, Sample Apps
-
Labels:None
-
Environment:Sample applications
Description
Since we've now added some automatic detection capabilities to the the framework to find and use AHS if it's available, it makes sense to include build targets for the sample applications to add in the required library for using AHS (icefaces-ahs.jar). The immediate benefit is better support for build Glassfish Update Center modules.
When we get a chance to actually incorporate this, the change should be fairly simple. In the samples/etc/build-common.xml file, add an extra line as follows:
<patternset id="additional.icefaces.lib.jars.to.include">
<include name="just-ice.jar" if="just-ice" />
<include name="icefaces-ahs.jar" if="ahs" />
</patternset>
Then from the command line you can issue something like:
ant -Dahs="true" glassfishv2
assuming that AHS was built and the icefaces-ahs.jar file is in the lib directory.