geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Mulder <ammul...@alumni.princeton.edu>
Subject Re: Building from Source and no deployer.jar
Date Sun, 18 Dec 2005 03:04:43 GMT
I think we fixed that in the 1.0 branch, but maybe not HEAD.  The old
release notes were recently removed, but the installer builder script
still depends on them.  I can fix this tomorrow if no one gets around
to it first.

Aaron

On 12/17/05, Jason Lenhart <jplenhart@yahoo.com> wrote:
> Hi,
>
> I am having a problem building from the source.  To
> outline my steps:
>
> 1)  I clear my Maven cache
>
> 2) svn checkout
> http://svn.apache.org/repos/asf/geronimo/trunk
> geronimo
>
> 3) cd to geronimo and maven m:clean new
> -Dmaven.test.skip=true -Dmaven.itest.skip=true
>
> I am getting the following error:
>
> [java] Adding resource: Installer.image
>     [java] Adding resource: LicencePanel.licence
>     [java] -> Fatal error :
>     [java]
> /Users/jasonlenhart/Development/projects/geronimo/assemblies/j2ee-installer/target/geronimo-1.0-SNAPSHOT/geronimo-izpack.xml:23:
> Resource not found:
> /Users/jasonlenhart/Development/projects/geronimo/assemblies/j2ee-installer/target/geronimo-1.0-SNAPSHOT/RELEASE-NOTES-1.0-M5.txt
>     [java]
> com.izforge.izpack.compiler.CompilerException:
> /Users/jasonlenhart/Development/projects/geronimo/assemblies/j2ee-installer/target/geronimo-1.0-SNAPSHOT/geronimo-izpack.xml:23:
> Resource not found:
> /Users/jasonlenhart/Development/projects/geronimo/assemblies/j2ee-installer/target/geronimo-1.0-SNAPSHOT/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
> File......
> /Users/jasonlenhart/Development/projects/geronimo/maven.xml
> Element... maven:reactor
> Line...... 63
> Column.... 108
> Unable to obtain goal [multiproject:install-callback]
> --
> /Users/jasonlenhart/.maven/cache/geronimo-izpack-plugin-1.0-SNAPSHOT/plugin.jelly:77:149:
> <ant:copy> Warning: Could not find file
> /Users/jasonlenhart/Development/projects/geronimo/assemblies/j2ee-installer/target/geronimo-installer-1.0-SNAPSHOT.jar
> to copy.
> Total time: 32 minutes 55 seconds
> Finished at: Sat Dec 17 14:09:45 EST 2005
>
>
>
> Seems like a simple problem with a Text file not being
> present ... however, should I not have this file when
> I do the checkout?
>
> Thanks,
>
> Jason
>
>
> --- Calvin Austin <caustin@spikesource.com> wrote:
>
> > The OS X JVM should also handle this signal and dump
> > an error report
> > (the apple JVM is based on Sun source code). Have a
> > serach look for a
> > crash log file, maven has many plus points but
> > tracking down issues
> > through it can be timeconsuming
> >
> > regards
> > calvin
> >
> > Aaron Mulder wrote:
> >
> > >A "Bus Error" is a JDK crash, as far as I can tell.
> >  Just try it again.  :)
> > >
> > >Aaron
> > >
> > >On 12/16/05, Jason Lenhart <jplenhart@yahoo.com>
> > wrote:
> > >
> > >
> > >>Hi Sachin,
> > >>
> > >>I have done the following:
> > >>
> > >>$ svn checkout
> > >>http://svn.apache.org/repos/asf/geronimo/trunk
> > >>geronimo
> > >>
> > >>
> > >>$ cd geronimo
> > >>
> > >>$ maven m:fresh-checkout
> > >>
> > >>$ maven new
> > >>
> > >>(had several cups of tea ;-) and I ended up
> > getting
> > >>the following:
> > >>
> >
> >>/Users/jasonlenhart/Development/Downloads/maven-1.0.2/bin/maven:
> > >>line 162:  1203 Bus error               "$JAVACMD"
> > >>$MAVEN_OPTS
> >
> >>-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
> >
> >>-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
> > >>"-Djava.endorsed.dirs=${MAVEN_ENDORSED}"
> > -classpath
> >
> >>"${MAVEN_HOME}/lib/forehead-${FOREHEAD_VERSION}.jar"
> >
> >>"-Dforehead.conf.file=${MAVEN_HOME}/bin/forehead.conf"
> > >>"-Dtools.jar=$TOOLS_JAR"
> > "-Dmaven.home=${MAVEN_HOME}"
> > >>$MAIN_CLASS "$@"
> > >>
> > >>Look around to see if anyone has had this problem
> > and
> > >>could not find anything.  Looks like I may need a
> > >>parameter passed in or something.  Any help is
> > >>appreciated.
> > >>
> > >>Thanks,
> > >>
> > >>Jason
> > >>
> > >>--- Sachin Patel <sppatel2@gmail.com> wrote:
> > >>
> > >>
> > >>
> > >>>How command did you invoke to build?
> > >>>
> > >>>The build commands changed as well, so it could
> > be a
> > >>>problem with the
> > >>>old build command.
> > >>>
> > >>>Clean out your maven cache (.maven/cache) and
> > then
> > >>>from the root of
> > >>>the source tree invoke "maven new".
> > >>>
> > >>>Sachin
> > >>>
> > >>>On Dec 16, 2005, at 8:46 AM, Jason Lenhart wrote:
> > >>>
> > >>>
> > >>>
> > >>>>Hi Sachin and thank you for your reply,
> > >>>>
> > >>>>I saw the geronimo-jetty-j2ee-1.0-SNAPSHOT.zip
> > >>>>
> > >>>>
> > >>>file
> > >>>
> > >>>
> > >>>>under my
> > >>>>
> > >>>>
> > >>>~/.maven/repository/geronimo/distributions
> > >>>
> > >>>
> > >>>>However when I unpack ... I do not see the
> > >>>>deployer.jar in the bin directory ... is there
> > >>>>something in addition to the typical rebuild-all
> > >>>>
> > >>>>
> > >>>that
> > >>>
> > >>>
> > >>>>I need to do so that I can get my hands on that
> > >>>>
> > >>>>
> > >>>jar?
> > >>>
> > >>>
> > >>>>Thank you in advance,
> > >>>>
> > >>>>Jason
> > >>>>
> > >>>>--- Sachin Patel <sppatel2@gmail.com> wrote:
> > >>>>
> > >>>>
> > >>>>
> > >>>>>Jason,
> > >>>>>
> > >>>>>The instructions need to be updated.  We now
> > >>>>>
> > >>>>>
> > >>>produce
> > >>>
> > >>>
> > >>>>>2 distributions
> > >>>>>with different web containers, Jetty and
> > Tomcat.
> > >>>>>
> > >>>>>After building the source, the distributions
> > will
> > >>>>>
> > >>>>>
> > >>>be
> > >>>
> > >>>
> > >>>>>located in
> > >>>>>
> > >>>>>~/.maven/repository/geronimo/distributions
> > >>>>>
> > >>>>>On Dec 15, 2005, at 2:21 PM, Jason Lenhart
> > wrote:
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>>Hi,
> > >>>>>>
> > >>>>>>Forgive me if I am just totally missing
> > >>>>>>
> > >>>>>>
> > >>>something
> > >>>
> > >>>
> > >>>>>>here...I am sort of stumped.
> > >>>>>>
> > >>>>>>I have built from the source a few times.  The
> > >>>>>>
> > >>>>>>
> > >>>>>wiki
> > >>>>>
> > >>>>>
> > >>>>>>notes the following:
> > >>>>>>
> > >>>>>>"If you've built from source, you must unpack
> > >>>>>>
> > >>>>>>
> > >>>the
> > >>>
> > >>>
> > >>>>>>Geronimo binary
> > >>>>>>
> > >>>>>>
> > >>>>>>
> >
> >>${maven.repo.local}/geronimo/jars/geronimo-assembly-1.0-SNAPSHOT.jar
> > >>
> > >>
> > >>>>>>into the location you wish to install
> > Geronimo."
> > >>>>>>
> > >>>>>>I am on OS X so for me it is:
> > >>>>>>
> > >>>>>>
> > >>>>>>
> >
> >>~/.maven/repository/geronimo/jars/geronimo-assembly-1.0-SNAPSHOT.jar
> > >>
> > >>
> > >>>>>>But this jar is not there, so I grabbed the
> > jar
> > >>>>>>
> > >>>>>>
> > >>>>>out of
> > >>>>>
> > >>>>>
> > >>>>>>the 'distributions' directory:
> > >>>>>>
> > >>>>>>geronimo-jetty-j2ee-1.0-SNAPSHOT.zip
> >
> === message truncated ===
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

Mime
View raw message