Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[Patch #439] Compiler refactor prototype + Pack group, installGroups: msg#00085

java.izpack.cvs

Subject: [Patch #439] Compiler refactor prototype + Pack group, installGroups

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>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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