How to get <refpackset> to work?

View: New views
2 Messages — Rating Filter:   Alert me  

How to get <refpackset> to work?

by dliscomb :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I cannot seem to get <refpackset> to find the files that I want.  

I have my source in one location and the build scripts in the source create the built image in another location.  It seems that in order for izpack compile to be able to find <file> references in a <pack>, the "-b" option needs to be set.  Is this true?  I'd like to know more clearly how file names are resolved.  The error I'm getting says that the compiler cannot find the file named in the <file> element.

(By the way, indicating that all file references are absolute by setting the 'base directory' to null (i.e. -b "") doesn't work on Windows.  File names like "D:\Work\Build\t.txt" get resolved as\ "D:\Work\Build\t.txt", causing Java to choke)

Can someone please explain, or better yet, show me an example?

I read the documentation, and I have searched for information elsewhere, but it seems nobody else uses refpacksets.

Re: How to get <refpackset> to work?

by dliscomb :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Wow, thanks so much for all your input.

I have a script that compiles now, but still no working <refpackset> element, nor even <refpack> elements.  Static <pack> elements in my Installer.xml work ok, but a more dynamic setup is still desired.

Does anyone have an an example of a working <refpack> or <refpackset> element?