Re: Building 1.1.6 with maven and ant

2009-10-29 Thread Jim Alateras
Here is the requested file.

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2412529Testsuite: org.restlet.test.RestletTestSuite
Tests run: 18, Failures: 1, Errors: 0, Time elapsed: 2.342 sec
- Standard Output ---
[test, status]=[1a, Not Found (404) - The server has not found anything 
matching the request URI]
[test, status]=[1b, Not Found (404) - The server has not found anything 
matching the request URI]
-  ---
- Standard Error -
Oct 29, 2009 9:29:00 PM com.noelios.restlet.ext.httpclient.HttpClientHelper 
start
INFO: Starting the HTTP client
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.get(ArrayList.java:321)
at org.restlet.test.AtomTestCase.testAtom(AtomTestCase.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
2009-10-29 21:29:01.939::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2009-10-29 21:29:01.943::INFO:  jetty-6.1.18
2009-10-29 21:29:01.982::INFO:  Started selectchannelconnec...@0.0.0.0:8182
2009-10-29 21:29:01.982::INFO:  jetty-6.1.18
2009-10-29 21:29:01.986::INFO:  Started selectchannelconnec...@0.0.0.0:8183
Oct 29, 2009 9:29:01 PM com.noelios.restlet.ext.httpclient.HttpClientHelper 
start
INFO: Starting the HTTP client
Oct 29, 2009 9:29:02 PM com.noelios.restlet.LogFilter afterHandle
INFO: 2009-10-2921:29:02127.0.0.1   -   127.0.0.1   
8182GET /efgh   -   200 12  -   5   
http://localhost:8182   Noelios-Restlet-Engine/1.1snapshot  -
Oct 29, 2009 9:29:02 PM com.noelios.restlet.LogFilter afterHandle
INFO: 2009-10-2921:29:02127.0.0.1   -   127.0.0.1   
8182GET /abcd   -   404 330 -   0   
http://localhost:8182   Noelios-Restlet-Engine/1.1snapshot  -
Oct 29, 2009 9:29:02 PM com.noelios.restlet.LogFilter afterHandle
INFO: 2009-10-2921:29:02127.0.0.1   -   127.0.0.1   
8183GET /abcd   -   200 12  -   0   
http://localhost:8183   Noelios-Restlet-Engine/1.1snapshot  -
Oct 29, 2009 9:29:02 PM com.noelios.restlet.LogFilter afterHandle
INFO: 2009-10-2921:29:02127.0.0.1   -   127.0.0.1   
8183GET /efgh   -   404 330 -   0   
http://localhost:8183   Noelios-Restlet-Engine/1.1snapshot  -
2009-10-29 21:29:02.169::INFO:  jetty-6.1.18
2009-10-29 21:29:02.170::INFO:  Started selectchannelconnec...@0.0.0.0:8182
Oct 29, 2009 9:29:02 PM com.noelios.restlet.ext.httpclient.HttpClientHelper 
start
INFO: Starting the HTTP client
Oct 29, 2009 9:29:02 PM com.noelios.restlet.LogFilter afterHandle
INFO: 2009-10-2921:29:02127.0.0.1   -   127.0.0.1   
8182PUT /   -   200 10  10  1   
http://localhost:8182   Noelios-Restlet-Engine/1.1snapshot  -
Oct 29, 2009 9:29:02 PM com.noelios.restlet.local.DirectoryResource getVariants
INFO: Getting variants for : 
file:var/folders/Ho/HoIk6gbXFJa6saaDlRxwLTI/-Tmp-/DirectoryTestCase/tests21256812142224/
Oct 29, 2009 9:29:02 PM com.noelios.restlet.local.DirectoryResource 
INFO: Converted target URI: 
file:var/folders/Ho/HoIk6gbXFJa6saaDlRxwLTI/-Tmp-/DirectoryTestCase/tests21256812142224/
Oct 29, 2009 9:29:02 PM com.noelios.restlet.local.DirectoryResource getVariants
INFO: Getting variants for : 
file:var/folders/Ho/HoIk6gbXFJa6saaDlRxwLTI/-Tmp-/DirectoryTestCase/tests21256812142224/
Oct 29, 2009 9:29:02 PM com.noelios.restlet.local.DirectoryResource 
INFO: Converted targe

Re: Building 1.1.6 with maven and ant

2009-10-27 Thread Jerome Louvel
Hi Jim,

Could you send us the RestletTestSuite.txt file in "/build/temp/tests" 
(or something close)? One unit test seems to be failing for you. You can 
disable the unit tests by modifying build.properties (or adding a 
custom.properties file) in order to get the build working. Just change 
this line:

verify: true

into

verify: false

Regarding the Maven build, it is only available for Restlet 2.0 source code.

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com



Jim Alateras a écrit :
> I am having issues building the 1.1.6 version of the distribution  
> using the instructions on the developer's wiki 
> (http://wiki.restlet.org/developers/179-restlet/240-restlet.html 
> ). The maven build instructions don't seem quite right and the the ant  
> build gives the following error
> 
> verify-ant:
> 
> verify-tests:
> [mkdir] Created dir: /Users/jima/projects/restlet/restlet-1.1.6/ 
> build/temp/test
> [junit] Running com.noelios.restlet.test.NoeliosTestSuite
> [junit] Tests run: 107, Failures: 0, Errors: 0, Time elapsed:  
> 47.711 sec
> [junit] Running org.restlet.test.RestletTestSuite
> [junit] Tests run: 18, Failures: 1, Errors: 0, Time elapsed: 3.894  
> sec
> 
> BUILD FAILED
> /Users/jima/projects/restlet/restlet-1.1.6/build/build.xml:1608: Test  
> org.restlet.test.RestletTestSuite failed
> 
> 
> Any help in getting the maven build going would be apprciated (using  
> 2.0.9)
> cheers
> 
> 
> --
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2409151
>

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2411663


Building 1.1.6 with maven and ant

2009-10-19 Thread Jim Alateras
I am having issues building the 1.1.6 version of the distribution  
using the instructions on the developer's wiki 
(http://wiki.restlet.org/developers/179-restlet/240-restlet.html 
). The maven build instructions don't seem quite right and the the ant  
build gives the following error

verify-ant:

verify-tests:
[mkdir] Created dir: /Users/jima/projects/restlet/restlet-1.1.6/ 
build/temp/test
[junit] Running com.noelios.restlet.test.NoeliosTestSuite
[junit] Tests run: 107, Failures: 0, Errors: 0, Time elapsed:  
47.711 sec
[junit] Running org.restlet.test.RestletTestSuite
[junit] Tests run: 18, Failures: 1, Errors: 0, Time elapsed: 3.894  
sec

BUILD FAILED
/Users/jima/projects/restlet/restlet-1.1.6/build/build.xml:1608: Test  
org.restlet.test.RestletTestSuite failed


Any help in getting the maven build going would be apprciated (using  
2.0.9)
cheers


--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2409151