You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jacek Laskowski <el...@gmail.com> on 2005/12/27 19:07:12 UTC

Fatal error while building j2ee-installer (izpack)

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

Re: Fatal error while building j2ee-installer (izpack)

Posted by Jacek Laskowski <el...@gmail.com>.
Fixed.

Jacek

2005/12/30, Jacek Laskowski <el...@gmail.com>:
> 2005/12/30, Ken Perl <ke...@gmail.com>:
> > Is the fix checked in?
>
> Hi Ken,
>
> No, it is not. Neither do I yet know how to fix it. I'm looking into it.
>
> Jacek
>

Re: Fatal error while building j2ee-installer (izpack)

Posted by Jacek Laskowski <el...@gmail.com>.
2005/12/30, Ken Perl <ke...@gmail.com>:
> Is the fix checked in?

Hi Ken,

No, it is not. Neither do I yet know how to fix it. I'm looking into it.

Jacek

Re: Fatal error while building j2ee-installer (izpack)

Posted by Ken Perl <ke...@gmail.com>.
Is the fix checked in?

On 12/28/05, Sachin Patel <sp...@gmail.com> wrote:
> Try...
>
> Index: plugins/geronimo-izpack-plugin/plugin.properties
> ===================================================================
> --- plugins/geronimo-izpack-plugin/plugin.properties    (revision 358629)
> +++ plugins/geronimo-izpack-plugin/plugin.properties    (working copy)
> @@ -27,4 +27,5 @@
> geronimo.assembly.zip=true
> geronimo.assembly.distributions.dir=${maven.build.dir}/distributions
> +release_notes_version=
> Index: plugins/geronimo-izpack-plugin/plugin.jelly
> ===================================================================
> --- plugins/geronimo-izpack-plugin/plugin.jelly (revision 358629)
> +++ plugins/geronimo-izpack-plugin/plugin.jelly (working copy)
> @@ -43,7 +43,7 @@
>           </fileScanner>
>           <j:set var="GeronimoVersion" value="${geronimo_version}"/>
>           <j:set var="InstallSource" value="${geronimo.assembly.dest}"/>
> -        <j:set var="ReleaseNotesVersion" value="1.0-M5"/>
> +        <j:set var="ReleaseNotesVersion" value="$
> {release_notes_version}"/>
>           <j:forEach var="installer" items="${installFiles.iterator()}">
>               <j:set var="installerName" value="${installer.name}"/>
>               <echo>Processing installer file ${installerName}</echo>
> Index: etc/project.properties
> ===================================================================
> --- etc/project.properties      (revision 358629)
> +++ etc/project.properties      (working copy)
> @@ -86,6 +86,8 @@
> tranql_connector_version=1.1
> tranql_vendors_version=1.1
> +release_notes_version=1.0
> +
> geronimo_packaging_plugin_version=1.0.1
> geronimo_assembly_plugin_version=1.0.2
> geronimo_deployment_plugin_version=1.0.0
>
>
> - sachin
>
>
>
> On Dec 27, 2005, at 4:10 PM, Aaron Mulder wrote:
>
> > 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 <el...@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
> >>
>
>


--
perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"\@``
")'

Re: Fatal error while building j2ee-installer (izpack)

Posted by Sachin Patel <sp...@gmail.com>.
Try...

Index: plugins/geronimo-izpack-plugin/plugin.properties
===================================================================
--- plugins/geronimo-izpack-plugin/plugin.properties	(revision 358629)
+++ plugins/geronimo-izpack-plugin/plugin.properties	(working copy)
@@ -27,4 +27,5 @@
geronimo.assembly.zip=true
geronimo.assembly.distributions.dir=${maven.build.dir}/distributions
+release_notes_version=
Index: plugins/geronimo-izpack-plugin/plugin.jelly
===================================================================
--- plugins/geronimo-izpack-plugin/plugin.jelly	(revision 358629)
+++ plugins/geronimo-izpack-plugin/plugin.jelly	(working copy)
@@ -43,7 +43,7 @@
          </fileScanner>
          <j:set var="GeronimoVersion" value="${geronimo_version}"/>
          <j:set var="InstallSource" value="${geronimo.assembly.dest}"/>
-        <j:set var="ReleaseNotesVersion" value="1.0-M5"/>
+        <j:set var="ReleaseNotesVersion" value="$ 
{release_notes_version}"/>
          <j:forEach var="installer" items="${installFiles.iterator()}">
              <j:set var="installerName" value="${installer.name}"/>
              <echo>Processing installer file ${installerName}</echo>
Index: etc/project.properties
===================================================================
--- etc/project.properties	(revision 358629)
+++ etc/project.properties	(working copy)
@@ -86,6 +86,8 @@
tranql_connector_version=1.1
tranql_vendors_version=1.1
+release_notes_version=1.0
+
geronimo_packaging_plugin_version=1.0.1
geronimo_assembly_plugin_version=1.0.2
geronimo_deployment_plugin_version=1.0.0


- sachin



On Dec 27, 2005, at 4:10 PM, Aaron Mulder wrote:

> 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 <el...@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
>>


Re: Fatal error while building j2ee-installer (izpack)

Posted by Aaron Mulder <am...@alumni.princeton.edu>.
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 <el...@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
>