I didn't know how to make it run off-hand either, that's why I gave you a
vague response of "maven can do it" ;) Ok, so to actually do it type "mvn
jetty:run" .

http://jetty.mortbay.org/jetty6/maven-plugin/howto.html

On 7/14/06, Adam Henderson Azudio <[EMAIL PROTECTED]> wrote:

Sorry, I'm a little lost, how can I deploy the Timetracker app?

I tried:
mvn deploy

..
INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /workspace/tapestry/pom.xml to /.m2/repository/org/
apache/tapestry/tapestry-project/4.1.0-SNAPSHOT/tapestry-
project-4.1.0-SNAPSHOT.pom
[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from tapestry-snapshot-repo
The authenticity of host 'apache.org' can't be established.
DSA key fingerprint is 79:7c:cb:6a:44:47:b2:ef:5c:66:28:d7:40:0d:b1:f9.
Are you sure you want to continue connecting? (yes/no): yes
Password::

(Sorry, I'm totally new to the Maven thing)


On 15 Jul 2006, at 00:39, Jesse Kuhnert wrote:

> Ok, for sanity's sake, what happens when you deploy/run the
> TimeTracker
> example application? (Can be run via maven as well )
>
> On 7/14/06, Adam Henderson Azudio <[EMAIL PROTECTED]> wrote:
>>
>> I've downloaded the 4.1.0 Jul 14 snapshot jars from http://
>> people.apache.org/maven-snapshot-repository and stuck them in my app
>> and re-deployed/run it and it still gives the same exceptions:
>>
>> 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)
>>         at $IEngineService_10c6f5c05ef.service
>> ($IEngineService_10c6f5c05ef.java)
>> blah...
>> and
>>
>> WARN - RequestExceptionReporterImpl.reportRequestException(45) |
>> Failure to export classpath resource /dojo/__package__.js.
>> org.apache.hivemind.ApplicationRuntimeException: Classpath
>> resource '/
>> dojo/__package__.js' does not exist.
>>
>> WARN - RequestExceptionReporterImpl.reportRequestException(45) |
>> Failure to export classpath resource /dojo/../tapestry.js.
>> org.apache.hivemind.ApplicationRuntimeException: Classpath
>> resource '/
>> dojo/../tapestry.js' does not exist.
>>
>>
>> jars
>> tapestry-annotations-4.1.0-20060714.230652-14.jar
>> tapestry-contrib-4.1.0-20060714.230652-15.jar
>> tapestry-portlet-4.1.0-20060714.230652-14.jar
>> tapestry-framework-4.1.0-20060714.230652-15.jar
>>
>>
>> On 14 Jul 2006, at 23:49, Jesse Kuhnert wrote:
>>
>> > Hmmm...Sounds questionable. That particular exception is
>> expected and
>> > doesn't actually cause a failure (hence the Tests run: 8,
>> Failures: 0,
>> > Errors: 0, Skipped: 0, Time elapsed: 0.105 output).
>> >
>> > The same exact jars are kept up to date on the maven snapshot repo,
>> > if you
>> > can get it to blow up there I would be able to ensure I have a
>> > baseline to
>> > measure against.
>> >
>> > On 7/14/06, Adam Henderson Azudio <[EMAIL PROTECTED]> wrote:
>> >>
>> >> 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]
>> >>
>> >>
>> >
>> >
>> > --
>> > 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]
>>
>>
>
>
> --
> 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]




--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to