1. go to project wicket;
2. 'maven clean jar:install-snapshot' (that will build wicket and put it as a snapshot in your local repository)
3. go to project wicket-extensions
4. change
- <#> <dependency>
<groupId>wicket</groupId>
<artifactId>wicket</artifactId>
<version>0.9.18-beta</version>
to
- <#> <dependency>
<groupId>wicket</groupId>
<artifactId>wicket</artifactId>
<version>SNAPSHOT</version>
5. 'maven clean jar:install-snapshot'
6. same for projects wicket-contrib and wicket-examples; replace any version references into SNAPSHOT in the process.
7.on wicket-examples: 'maven clean war'.
As you see, this is quite a process. What you probably want is to just check out the projects, run maven (doesn't matter what command) on them, so that the dependencies are downloaded to your local maven repository. Now the only thing you have to do is adjust your IDE config to reference these libs. If you use Eclipse, you can just check out in Eclipse and create the classpath variabel 'MAVEN_REPO' and point that to your local maven repository (default is ${user.home}/.maven/repostory, thus in Windows, this could look like 'C:\Documents and Settings\hillenius.TOPICUS\.maven\repository'). You can set your classpath var in Eclipse: Window -> Preferences -> Java -> Build Path -> Classpath Variables -> New...
Eelco
Jonathan Locke wrote:
the build works. you just need to check out each project. they depend on each other
when you check out from CVS, not on the distributions. hop into eclipse, check out
all the projects by doing "new project / checkout project from cvs / use an existing module".
select everything except wicket-cdapp-example, which is going away, and complete the
wizard. it will all just work from there.
Gili wrote:
Hi,
I'm trying to get my hands on the Wicket-examples source-code distribution so I figured I would check everything out of CVS and build it myself. I can't build wicket-examples because it complains about missing dependencies and I cannot build Wicket because it fails a junit test:
[junit] [ERROR] TEST wicket.util.resource.ResourceTest FAILED
How do I get my hands on a distribution similar to wicket-examples-0.9.17-beta-src.zip -- that is, with the same file structure? Can I grab it directly from the CVS checkout or do I need to get this build going? How do we fix the build?
Thanks, Gili
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
