[izpack-devel] Some more Xinclude thoughts
Tino Schwarze
berlios.de at tisc.de
Sat Dec 15 10:12:32 CET 2007
Hi Matthew,
On Fri, Dec 14, 2007 at 01:00:06PM -0700, Matthew Fudge wrote:
> The Xnclude patch I submitted seems to be working pretty well for me.
> However I have come across a few other small issues on which I would
> like some assistance.
>
> a) All relative resources/ref-packs/anything else that are defined
> seem to be relative to the current directory (the directory you are in
> when you invoke the compiler). This is causing a few problems for me
> as I currently have to work within a maven build framework. In this
> set up the current directory is not the location of the install.xml
> file. This causes xincludes/resource references/ref-packs etc. to
> search for thier content in a different directory to the directory
> containing the install.xml. I think that relative
> references/xincludes/etc should be relative to the file they exist in.
> I would like to make a change to make this happen. Comments please
+1 this makes more sense.
> b) I would also like to make a small modification to the parsing of
> resources. If the parse type is "parsexml" (rather then just "xml") I
> would like to use the nanoXML parser to actually parse the data and
> then serialize it back through the the VariableSubstitutor. This would
> enable xml resources to have xincludes in the resouce processed at
> compile time (using the parsexml type) or at install time (using the
> xml type).
+1 sounds like a useful feature. Maybe, it's more sensible to introduce
an extra tag for the preparsing - the parse type attribute currently
specifies what to do at install time, so it is not obvious that some
special value will change this. Having a new attribute would also allow
to process this at compile and install time...
Bye,
Tino.
--
www.craniosacralzentrum.de
www.lebensraum11.de
www.spiritualdesign-chemnitz.de
Tino Schwarze * Parkstraße 17h * 09120 Chemnitz
More information about the izpack-devel
mailing list