Re: [ANN] 1.2.7 of Keel build system/Maven plugin released

Michael Nash <[email protected]>
Newsgroups gmane.comp.java.keel.devel
Organization JGlobal Limited
Message-ID <[email protected]>
Morten:

On Wed, 2005-03-02 at 14:02, Morten Norby Larsen wrote:
> I got this one:
> 
> BUILD FAILED
> File......  
> /Users/morten/.maven/cache/maven-keel-plugin-1.2.7/plugin.jelly
> Element... fail
> Line...... 318
> Column.... 39
> You cannot build a webapp if maven.uberjar.main is set
> Total time: 3 minutes 13 seconds
> Finished at: Wed Mar 02 19:44:18 CET 2005
> 
> 
> It seems that I should unset maven.uberjar.main, so I have commented it  
> in the build.properties file of the default example project.

Yes, that's exactly correct, it must be commented out to build a "war".

As far as the stack below, I'd try updating
keel-build/example-projects/default from CVS, as it's probably a matter
of referencing the correct version of the various jars. It sounds like
currently it's going to an old one, as the latest one definitely doesn't
reference URLClassLoader at all.

HTH!

Mike

> 
> That gives me this stacktrace, which represents a problem solved  
> earlier:
> 
> java.lang.Exception: Cannot find or read  
> /Library/Java/Home/lib/tools.jar
>          at  
> org.keel.core.classloader.URLClassLoaderPath.getURLArray(URLClassLoaderP 
> ath.java:113)
>          at  
> org.keel.clients.KeelStarter.createKeelDirectServer(KeelStarter.java: 
> 70)
>          at org.keel.clients.KeelStarter.execute(KeelStarter.java:221)
>          at  
> org.keel.clients.direct.KeelClientDirect.execute(KeelClientDirect.java: 
> 70)
> 
> 
> Cheers,
> 
> Morten
> 
> On 2 Mar 2005, at 18:53, Mnash Coralwave wrote:
> 
> > Morning All:
> >
> > Below please find the merged (automated!) announcement messages for
> > 1.2.7 and the (short-lived) 1.2.6 release of the Maven plugin. As you
> > can see a number of fixes and updates have been made to improve the
> > build system. These fixes are still undergoing extensive tests on
> > several different platforms, so please report any problems!
> >
> > ---------------------------
> > The keel team is pleased to announce the Maven plugin for Keel 1.2.7
> > release!
> >
> > Changes in this version include:
> >
> >   New Features:
> >
> > o Use version 3.1 of tool-maven, which attempts to fix dependency
> > conflicts
> >   instead of simply aborting when detecting a conflict.
> >
> > --- 1.2.6 ---------
> >
> > Changes in this version include:
> >
> >   New Features:
> >
> > o The creation of the "uberjar" file has been improved considerably by
> > use of
> >   a special utility. Rather than un-jarring everything, doing a lot of
> >   filesystem work, then jar-ing it all back up, the uberjar is built in
> > one
> >   pass, directly from the original jars in the repository. Build time  
> > is
> > cut
> >   substantially. (For example, locally I can build the "minimal"  
> > project
> > in
> >   40 seconds)
> > o The "temp" directory, which used to be right below the project
> > directory is
> >   now in "target". This ensures it gets "cleaned" when you do a "maven
> >   clean". Far fewer temp files are needed in any case.
> > o You *must* now supply a maven.uberjar.main property for non-webapp
> >   projects, and you *must not* supply it for web app projects. This is
> >   essentially how the build system can tell the difference.
> > o The bug where logs were created in the Tomcat (or other server) "bin"
> >   directory is corrected. Logs for a webapp are now in the WEB-INF/logs
> >   directory inside the webapp itself. This fix actually affected a
> > number of
> >   modules.
> > o The -Ddebug=true setting (on the Maven command line) will show the
> > details
> >   of the KeelConfigTool, KeelMavenTool and KeelUberJar tools as they
> > execute.
> > o The "keel:test" and "keel:tests" goals have had some minor errors
> >   corrected.
> >
> >   Fixed bugs:
> >
> > o Added xdocs for automated generation of release announcements :-)
> > o Various bugs (such as the one where a war would fail to build  
> > properly
> >   first time, then build second time around) are fixed.
> >
> > To automatically install the plugin, type the following on a single
> > line:
> >
> > maven plugin:download
> >   -DgroupId=keel
> >   -DartifactId=maven-keel-plugin
> >   -Dversion=1.2.7
> >
> > For a manual installation, you can download the plugin here:
> > http://keelframework.org/maven,http://ibiblio.org/maven/keel/plugins/
> > maven-keel-plugin-1.2.7.jar
> >
> > Have fun!
> > -The keel team
> >       	
> >
> > http://keelframework.org/documentation.shtml
> > Keelgroup mailing list
> > [email protected]
> > http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
> >

http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.