I downloaded maven from apache (Maven 2.0.4), downloaded the Tapestry
source from svn & ran the package command:
mvn package
which did its stuff but failed during the mock tests, so I re ran
skipping the tests:
One of the tests threw this:
Running org.apache.tapestry.web.TestServletWebContext
ServletWebContext [ERROR] Error getting context resource '/tapestry':
Like this ever happens.
java.net.MalformedURLException: Like this ever happens.
at org.easymock.internal.MockInvocationHandler.invoke
(MockInvocationHandler.java:31)
at org.easymock.internal.ObjectMethodsFilter.invoke
(ObjectMethodsFilter.java:45)
at $Proxy72.getResource(Unknown Source)
at org.apache.tapestry.web.ServletWebContext.getResource
(ServletWebContext.java:78)
at
org.apache.tapestry.web.TestServletWebContext.testGetResourceFailure
(TestServletWebContext.java:170)
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:585)
at org.testng.internal.MethodHelper.invokeMethod
(MethodHelper.java:552)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:
407)
at org.testng.internal.Invoker.invokeTestMethods
(Invoker.java:778)
at org.testng.internal.TestMethodWorker.run
(TestMethodWorker.java:105)
at org.testng.TestRunner.privateRun(TestRunner.java:682)
at org.testng.TestRunner.run(TestRunner.java:566)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:220)
at org.testng.SuiteRunner.run(SuiteRunner.java:146)
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:
713)
at org.testng.TestNG.runSuitesLocally(TestNG.java:676)
at
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeTest
NG(
TestNGDirectoryTestSuite.java:195)
at
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute
(TestNGDirectoryTestSuite.java:145)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess
(SurefireBooter.java:261)
at org.apache.maven.surefire.booter.SurefireBooter.main
(SurefireBooter.java:781)
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.105
sec
Running org.apache.tapestry.asset.TestAssetSource
So i re-ran skipping the tests - which built the jars
mvn -Dmaven.test.skip=true package
On 14 Jul 2006, at 21:59, Jesse Kuhnert wrote:
> I've not seen it before. What kind of servlet container is this
> running in?
>
> On 7/14/06, Adam Henderson Azudio <[EMAIL PROTECTED]> wrote:
>>
>> Hi All,
>>
>> Just had a go at building from the 4.1 Snapshot and the Shell
>> component seems to be throwing this list of exceptions related to
>> dojo:
>>
>> Home.html
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml">
>> <head>
>> <meta http-equiv="Content-Type" content="text/
html;
>> charset=iso-8859-1" />
>> <title>Hello World</title>
>> </head>
>> <span jwcid="$content$">
>> <span jwcid="@Shell" title="Test">
>> <body jwcid="@Body">
>> Hello
>> </body>
>> </span>
>> </span>
>> </html>
>>
>> Throws:
>>
>> WARN - RequestExceptionReporterImpl.reportRequestException(45) |
>> Failure to export classpath resource /dojo/../tapestry/html.js.
>> org.apache.hivemind.ApplicationRuntimeException: Classpath
>> resource '/
>> dojo/../tapestry/html.js' does not exist.
>> at org.apache.tapestry.asset.AssetService.service(
>> AssetService.java:
>> 241)
>>
>> WARN - RequestExceptionReporterImpl.reportRequestException(45) |
>> Failure to export classpath resource /dojo/../tapestry.js.
>> org.apache.hivemind.ApplicationRuntimeException: Classpath
>> resource '/
>> dojo/../tapestry.js' does not exist.
>>
>>
>> WARN - RequestExceptionReporterImpl.reportRequestException(45) |
>> Failure to export classpath resource /dojo/__package__.js.
>> org.apache.hivemind.ApplicationRuntimeException: Classpath
>> resource '/
>> dojo/__package__.js' does not exist.
>>
>>
>> The source HTML rendered out:
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>> "http://www.w3.org/TR/html4/loose.dtd">
>> <!-- Application: blankapp -->
>> <!-- Page: Home -->
>> <!-- Generated: Fri Jul 14 21:03:45 BST 2006 -->
>> <html>
>> <head>
>> <meta name="generator" content="Tapestry Application Framework,
>> version Unknown"/>
>> <meta http-equiv="Content-Type" content="text/
html;charset=UTF-8"/>
>> <base href="http://localhost:8080/BlankApp/"/><!--[if IE]></
base><!
>> [endif]-->
>> <title>Test</title>
>> <script type="text/javascript">djConfig = { isDebug: true,
>> debugContainerId:'debug', baseRelativePath:"http://localhost:8080/
>> BlankApp/app?
>> digest=d41d8cd98f00b204e9800998ecf8427e&service=asset&path=%
2Fdojo%
>> 2F", preventBackButtonFix: false, parseWidgets: false }; </script>
>>
>> <script type="text/javascript" src="http://localhost:8080/
BlankApp/
>> app?digest=9bf3abdc75fce5b0d2c4f330d5262a50&service=asset&path=%
>> 2Fdojo
>> %2Fdojo.js"></script><script type="text/javascript" src="http://
>> localhost:8080/BlankApp/app?
>> digest=a56c09c7102d026312a1cdb1ebb39e10&service=asset&path=%
>> 2Ftapestry
>> %2Fcore.js"></script>
>> <script type="text/javascript">dojo.require
("dojo.logging.Logger");
>> dojo.log.setLevel(dojo.log.getLevel("WARNING"));</script></head>
>>
>> <body>
>>
>> Hello
>> </body>
>> </html>
>> <!-- Render time: ~ 35 ms -->
>>
>>
>>
>> Is this just my cruddy build or is anyone else seeing this?
>>
>> Thanks,
>>
>> Adam
>>
>>
>>
---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> Jesse Kuhnert
> Tacos/Tapestry, team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]