geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Mulder <ammul...@alumni.princeton.edu>
Subject Re: Fatal error while building j2ee-installer (izpack)
Date Tue, 27 Dec 2005 21:10:01 GMT
It is not only you.  When I looked, it appeared that the variable for
the release notes file is hardcoded in the plugin Jelly.  I think it
needs to be changed to read that from a value passed when the plugin
is invoked, which can then be read from etc/project.properties. 
Someone had a tip on how they thought this could be done.

In the mean time, if you want to use the installer, you can hardcode
the value in the XML file in src/izpack instead of using the variable
at all...  But I think there are pending patches for the installer
script that John Sisson was looking at.  And I think David B removed
the installer from the top-level Maven build until this is fixed.

Thanks,
    Aaron

On 12/27/05, Jacek Laskowski <eljotpl@gmail.com> wrote:
> Hi,
>
> Is it only me who experiences the following error? It seems that the
> solution might be as simple as editing the geronimo-izpack.xml and
> change the referenced file name, but don't know whether or not it
> doesn't incur any other troubles along the way.
> ...
>     [java] -> Fatal error :
>     [java]    d:\projs\geronimo\assemblies\j2ee-installer/target/geronimo-1.0-SNAPSHOT/geronimo-izpack.xml:23:
> Resource
> not found: d:\projs\geronimo\assemblies\j2ee-installer\target\geronimo-1.0-SNAPSHOT\RELEASE-NOTES-1.0-M5.txt
>     [java] com.izforge.izpack.compiler.CompilerException:
> d:\projs\geronimo\assemblies\j2ee-installer/target/geronimo-1.
> 0-SNAPSHOT/geronimo-izpack.xml:23: Resource not found:
> d:\projs\geronimo\assemblies\j2ee-installer\target\geronimo-1.0-S
> NAPSHOT\RELEASE-NOTES-1.0-M5.txt
>     [java]      at
> com.izforge.izpack.compiler.CompilerConfig.parseError(CompilerConfig.java:1518)
>     [java]      at
> com.izforge.izpack.compiler.CompilerConfig.findProjectResource(CompilerConfig.java:1447)
>     [java]      at
> com.izforge.izpack.compiler.CompilerConfig.addResources(CompilerConfig.java:1044)
>     [java]      at
> com.izforge.izpack.compiler.CompilerConfig.executeCompiler(CompilerConfig.java:313)
>     [java]      at
> com.izforge.izpack.compiler.CompilerConfig.main(CompilerConfig.java:1847)
>     [java]      at com.izforge.izpack.compiler.Compiler.main(Compiler.java:620)
>     [java]
>     [java] (tip : use -? to get the commmand line parameters)
>     [java] [ERROR] Java Result: 1
>
> BUILD FAILED
>
> Jacek
>

Mime
View raw message