Re: Update Documentation: Including install procedure

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

Hello again!

On Mon, 2005-02-21 at 21:51, Sasvata (Shash) Chatterjee wrote:
> Mike and Keelers!
> 
> Ni Hao (You well?) from a fish out of water in Shanghai, China!!!!  Any 
> Keelers here?

You've been Shanghaid? :-)

> I have been running into this same problem for over a week now, but 
> thought something was wrong with my environment.  I chased it down this 
> morning.
> 
> Looks like keel-client-struts-3.0.jar includes a project.xml that refers 
> to keel-client 2.0 (latest is 2.1).  There are several other 
> project.xml(s) that refer to keel-client 2.0.   These JARs need to be 
> rebuilt and uploaded to the Keel Maven repo.  Since we are not using 
> SNAPSHOT versions right now, after that folks need to delete the Keel 
> JARs from their local Maven repo, and redownload them.

I think someone just tripped over this very problem - my mistake, I'm
still learning that with Maven you must be *very* strict about
versioning!

> Also, several of the ant.properties has the version of the module 
> different that the version in project.xml.  For instance, client-struts 
> has 2.0 in ant.properties, but 3.0 in project.xml...I thought the 
> ant.properties/project.xml were interlinked?

Only when we do a maven keel:maven. As far as I can see, we are in the
process of obsoleting ant.properties altogether though. It's just as
easy to add dependencies directly to project.xml, then there's only one
thing to keep up-to-date. Especially when you get the Mevenide plugin,
which has a project.xml-aware editor.

>   In any case, I could not 
> build client-struts, got a compile error on "KeelJmsC
> lient").  Looks like time for you to do a sync with CVS (assuming you 
> are able to build)  :-)

I still have some stuff outstanding to check in - there was quite a
backlog until I got everything cleaned up...

> I figured this out by running MavenTool in Eclipse.  A few questions, Mike:
> - Looks like in tool-maven, the file/class is KeelMavenTool.  But in the 
> Maven plugin dir, it is MavenTool....what the....?

? Not sure about this one. The maven tool is now built into the Keel
maven plugin. You can install directly with the plugin:download goal
(latest version is 1.2.2 - fixes a bug building under windows)

> - The checked in KeelMavenTool still refers to the maven repo as 
> hard-coded "keel-build/repository".  But looks like the version in 1.2.0 
> of the plugin doesn't behave that way.  Do you just need to check in the 
> latest code?

Yep. Sorry, behind...

> - KeelMavenTool has System.err.println messages, which did show up when 
> run under Eclipse, and was enough to track down the problem.  When run 
> under Maven, Maven seems to be suppressing the stream....is there a way 
> to enable printing of System.err under Maven?

Actually, in the latest code you must give it a "-Ddebug" to see debug
output - currently no way to pass this via Maven, which I must fix asap.

Thanks for the feedback, and enjoy your trip!

Mike

> 
> Shash
> 
> Michael Nash wrote:
> 
> >Max:
> >
> >Are you on Maven 1.0.2? (Do a "maven -v" to see). 1.0 had a bug with
> >plugin dependencies, as far as I can see, which does exactly the below.
> >
> >Mike
> >
> >On Mon, 2005-02-21 at 13:51, Max wrote:
> >  
> >
> >>Hi Mike,
> >>
> >>I just did a fresh cvs check out of keel-build and tried your new 
> >>documented instructions. The plugin installs fine but when performing a 
> >>maven keel:maven in the example-projects/default I get the following error:
> >>
> >>keel:maven:
> >>keel:check-environment:
> >>
> >>    [java] java.lang.IllegalArgumentException: Indirect reference to 
> >>keel-client-2.0, but this file not downloaded.
> >>    [java]      at KeelMavenTool.addDependencies(KeelMavenTool.java:510)
> >>    [java]      at 
> >>KeelMavenTool.addDependenciesFromJar(KeelMavenTool.java:389)
> >>    [java]      at KeelMavenTool.run(KeelMavenTool.java:259)
> >>    [java]      at KeelMavenTool.main(KeelMavenTool.java:86)
> >>
> >>BUILD FAILED
> >>File...... C:\Documents and 
> >>Settings\Franz\.maven\cache\maven-keel-plugin-1.2.0\plugin.jelly
> >>Element... java
> >>Line...... 144
> >>Column.... 58
> >>Java returned: 1
> >>Total time: 15 seconds
> >>
> >>    
> >>
> 
> 
> 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.