|
|
Choosing A Webhost: |
[Patch #439] Compiler refactor prototype + Pack group, installGroups: msg#00085java.izpack.cvs
Patch #439 has been updated. Project: izpack Category: None Status: Open Submitted by: starksm Assigned to : none Summary: Compiler refactor prototype + Pack group, installGroups Follow-Ups: Date: 2005-May-15 09:05 By: starksm Comment: Ok, I'll submit a new ant task. The @{x} syntax can be supported at the ant level which is where I would to deal with compile time substitution as I find the non-dot-decimal style of property names/system properties to be an integration problem. ------------------------------------------------------- Date: 2005-May-15 08:00 By: mchenryc Comment: This should be two separate patches. Addition of install groups and Ant integration are orthogonal. The groups feature is a useful addition. The Ant integration introduces semantic confusion. IzPack uses the syntax ${foo} for variables replaced at install time. Properties, replaced at compile time, use the syntax @{foo} so they do not conflict. Ant replaces ${foo} at compile time introducing the conflict. Even if ant did not replace ${foo} in the CDATA, different semantics for a single syntax, in one file, is not a good idea. ------------------------------------------------------- Date: 2005-May-14 22:40 By: starksm Comment: This patch refactors the compiler into an xml configuration driven piece and an xml independent piece. The IzPackTask task has been updated to support an embedded install configuration using a config child element: <target name="installer"> <echo message="Building JBossAS Installer..."/> <izpack output="jboss-4.0.2-installer.jar" installerType="standard" basedir="${jboss.dist}" inheritAll="true" izPackDir="${IZPACK_HOME}" > <property name="STACKTRACE" value="true"/> <config> <![CDATA[ <installation version="1.0"> ... </installation> ]]> </config> </izpack> Note that the install document needs to be embedded in a CDATA element. Any ant property references of the for ${x} in the configuration will be replaced using the ant project properties before being passed to the compiler. Two new attributes have been added the Pack/PackInfo classes: group: The group the pack is associated with. The pack group identifies packs with common functionality to allow for grouping of packs in a tree in the TargetPanel for example. installGroups: An association of this pack to zero or more installation groups. An installation group is just a named collection of packs to allow for different pack collections to be selected, for example: minimal, default, all. The syntax for the installGroups is a comma seperated list of the group names. Nothing has been done to make use of the group or installGroups in the installation panels as yet. ------------------------------------------------------- ------------------------------------------------------- For more info, visit: http://developer.berlios.de/patch/?func=detailpatch&patch_id=439&group_id=1408
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [Patch #439] Compiler refactor prototype + Pack group, installGroups, noreply-tdrK/OAtAx2ELgA04lAiVw |
|---|---|
| Next by Date: | [Patch #439] Compiler refactor prototype + Pack group, installGroups, noreply-tdrK/OAtAx2ELgA04lAiVw |
| Previous by Thread: | [Patch #439] Compiler refactor prototype + Pack group, installGroups, noreply-tdrK/OAtAx2ELgA04lAiVw |
| Next by Thread: | [Patch #439] Compiler refactor prototype + Pack group, installGroups, noreply-tdrK/OAtAx2ELgA04lAiVw |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |