It keeps on failing on step #2. Attached is the output log.
Maybe it has to do with the fact that I'm running JDK 1.5.0_01? Any
ideas?
Gili
On Sun, 27 Feb 2005 20:40:21 +0100, Eelco Hillenius wrote:
>Furthermore, the order in which you do things is important. After
>checking out:
>
>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
>
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
build:start:
clean:clean:
[delete] Deleting directory C:\Documents and Settings\Gili\My
Documents\wicket\wicket\build
clean:
java:prepare-filesystem:
[mkdir] Created dir: C:\Documents and Settings\Gili\My
Documents\wicket\wicket\build\classes
java:compile:
[echo] Compiling to build/classes
[echo]
==========================================================
NOTE: Targetting JVM 1.5, classes
will not run on earlier JVMs
==========================================================
[javac] Compiling 278 source files to C:\Documents and Settings\Gili\My
Documents\wicket\wicket\build\classes
Note: * uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
java:jar-resources:
Copying 51 files to C:\Documents and Settings\Gili\My
Documents\wicket\wicket\build\classes
test:prepare-filesystem:
[mkdir] Created dir: C:\Documents and Settings\Gili\My
Documents\wicket\wicket\build\test-classes
[mkdir] Created dir: C:\Documents and Settings\Gili\My
Documents\wicket\wicket\build\test-reports
test:test-resources:
Copying 78 files to C:\Documents and Settings\Gili\My
Documents\wicket\wicket\build\test-classes
Copied 8 empty directories to C:\Documents and Settings\Gili\My
Documents\wicket\wicket\build\test-classes
test:compile:
[javac] Compiling 72 source files to C:\Documents and Settings\Gili\My
Documents\wicket\wicket\build\test-classes
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
test:test:
[junit] Running wicket.ApplicationSettingsTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.656 sec
[junit] Running wicket.AttributeModifierComponentTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.094 sec
[junit] Running wicket.LocalizerTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 2.094 sec
[junit] Running wicket.markup.ComponentCreateTagTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 2.437 sec
[junit] Running wicket.markup.ComponentTagAttributeModifierTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.953 sec
[junit] Running wicket.markup.html.debug.WicketComponentTreeTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.187 sec
[junit] Running wicket.markup.html.form.encryption.CryptTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.704 sec
[junit] Running wicket.markup.html.form.persistence.CookieValuePersisterTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.984 sec
[junit] Running wicket.markup.html.link.AutolinkTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.031 sec
[junit] Running wicket.markup.html.list.IncrementalTableNavigationTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.203 sec
[junit] Running wicket.markup.html.list.ListItemTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.969 sec
[junit] Running wicket.markup.html.list.ListViewTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.703 sec
[junit] Running wicket.markup.html.list.PagedTableNavigatorTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.25 sec
[junit] Running wicket.markup.html.list.PagedTableNavigatorWithMarginTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.343 sec
[junit] Running wicket.markup.html.list.PagedTableTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.109 sec
[junit] Running wicket.markup.html.list.SimpleTableTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.047 sec
[junit] Running wicket.markup.html.list.TableTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.109 sec
[junit] Running wicket.markup.MarkupParserTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 1.796 sec
[junit] Running wicket.markup.parser.XmlPullParserTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.297 sec
[junit] Running wicket.model.StringResourceModelTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 2.516 sec
[junit] Running wicket.PageFactoryTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 2.828 sec
[junit] Running wicket.protocol.http.MockWebApplicationTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 4.093 sec
[junit] Running wicket.protocol.http.WicketTagPanelTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 3.234 sec
[junit] Running wicket.resource.ApplicationStringResourceLoaderTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 2.047 sec
[junit] Running wicket.resource.BundleStringResourceLoaderTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 1.797 sec
[junit] Running wicket.resource.ComponentStringResourceLoaderTest
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 1.907 sec
[junit] Running wicket.resource.InvalidResourceSpecificationExceptionTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.094 sec
[junit] Running wicket.util.convert.converters.ConvertersTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 1.234 sec
[junit] Running wicket.util.parse.metapattern.MetaPatternTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.078 sec
[junit] Running wicket.util.resource.ResourceTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.203 sec
[junit] [ERROR] TEST wicket.util.resource.ResourceTest FAILED
[junit] Running wicket.util.size.BytesTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.344 sec
[junit] Running wicket.util.string.StringsTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.922 sec
[junit] Running wicket.util.time.DurationTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.485 sec
[junit] Running wicket.util.time.TimeMapTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.953 sec
[junit] Running wicket.util.time.TimeOfDayTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.125 sec
[junit] Running wicket.util.time.TimeTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.109 sec
BUILD FAILED
File...... C:\Documents and
Settings\Gili\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
Element... fail
Line...... 181
Column.... 54
There were test failures.
Total time: 2 minutes 4 seconds
Finished at: Sun Feb 27 15:58:56 EST 2005