 |
Return to article
Ant install
[echo] **************************************************************************************************
[echo] * *
[echo] * D O W N L O A D W A R N I N G *
[echo] * *
[echo] * Dependent libraries will be downloaded. These are NOT necessarily downloaded from apache.org, *
[echo] * and may use other licences besides the Apache Software License. Dependencies will use an *
[echo] * open-source license compatible with the ASL, such as Berkeley Software Distribution (BSD) or *
[echo] * Mozilla Public License (MPL). *
[echo] * *
[echo] **************************************************************************************************
[input] Enter 'continue' to continue with the build:(continue)
|
Return to article
Error output
[copy] Copying 1 file to /Developer/Java/Ant/lib
[echo]
[echo]
[echo] *** junit-3.8.1.jar has been installed to /Developer/Java/Ant/lib.
[echo]
[echo]
[echo]
[echo] *** You must restart the build to continue.
[echo]
BUILD FAILED
/usr/local/java/hivemind-1.1/hivebuild/project.xml:52: The following error occurred while executing this line:
/usr/local/java/hivemind-1.1/hivebuild/project.xml:43: The following error occurred while executing this line:
/usr/local/java/hivemind-1.1/hivebuild/module.xml:160: The following error occurred while executing this line:
/usr/local/java/hivemind-1.1/hivebuild/module.xml:117: The following error occurred while executing this line:
/usr/local/java/hivemind-1.1/hivebuild/module.xml:110: You must restart the build to continue.
Total time: 1 minute 52 seconds
|
Return to article
End of build
[echo] *** Building ../../target/vlib/vlib.ear
[echo]
[mkdir] Created dir: /tmp/jakarta-tapestry/vlib/target/ear-image/lib
[copy] Copying 1 file to /tmp/jakarta-tapestry/vlib/target/ear-image
[copy] Copying 10 files to /tmp/jakarta-tapestry/vlib/target/ear-image/lib
[copy] Copying 1 file to /tmp/jakarta-tapestry/vlib/target/ear-image
[echo] ear.classpath=lib/commons-codec-1.3.jar lib/commons-fileupload-1.0.jar lib/hivemind-1.1-rc-1.jar lib/hivemind-lib-1.1-rc-1.jar lib/javassist-3.0.jar lib/ognl-2.6.7.jar lib/oro-2.0.8.jar lib/tapestry-4.0-beta-12.jar lib/tapestry-annotations-4.0-beta-12.jar lib/tapestry-contrib-4.0-beta-12.jar
[mkdir] Created dir: /tmp/jakarta-tapestry/vlib/target/repack-jar
[unjar] Expanding: /tmp/jakarta-tapestry/vlib/target/ear-image/vlibbeans.jar into /tmp/jakarta-tapestry/vlib/target/repack-jar
[jar] Building jar: /tmp/jakarta-tapestry/vlib/target/ear-image/vlibbeans.jar
[ear] Building ear: /usr/local/java/tapestry-4.0-beta-12/target/vlib/vlib.ear
install:
BUILD SUCCESSFUL
Total time: 5 minutes 4 seconds
[bmclaugh:/usr/local/java/tapestry-4.0-beta-12]$
|
Return to article
Workbench application
18:12:39,722 INFO [EjbModule] Deploying Book
18:12:39,737 INFO [EjbModule] Deploying Publisher
18:12:39,762 INFO [EjbModule] Deploying KeyAllocator
18:12:39,814 INFO [EjbModule] Deploying BookQuery
18:12:39,929 INFO [EjbModule] Deploying Operations
18:12:41,962 INFO [EJBDeployer] Deployed: file:/usr/local/java/jboss-tapestry-examples-4.0-beta-12/server/default/tmp/deploy/tmp22670vlib.ear-contents/vlibbeans.jar
18:12:43,390 INFO [TomcatDeployer] deploy, ctxPath=/vlib, warUrl=file:/usr/local/java/jboss-tapestry-examples-4.0-beta-12/server/default/tmp/deploy/tmp22670vlib.ear-contents/vlib.war/
18:12:48,203 INFO [ApplicationServlet] Initialized application servlet 'vlib': 1,904 millis to create HiveMind Registry, 4,462 millis overall.
18:12:48,285 INFO [EARDeployer] Started J2EE application: file:/usr/local/java/jboss-tapestry-examples-4.0-beta-12/server/default/deploy/vlib.ear
18:12:48,726 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
18:12:48,902 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
18:12:48,961 INFO [JkMain] Jk running ID=0 time=0/91 config=null
18:12:48,978 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 42s:189ms
|
Return to article
Listing 3. A sample Tapestry HTML template
<html>
<head>
<title>Tutorial: DirectLink</title>
</head>
<body>
<h1>DirectLink Tutorial</h1>
The current value is: <span style="font-size:xx-large"><span jwcid="@Insert" value="ognl:counter">37</span></span>
<a href="#" jwcid="by1@DirectLink" listener="listener:doClick" parameters="ognl:1">increment counter by 1</a>
<a href="#" jwcid="by5@DirectLink" listener="listener:doClick" parameters="ognl:5">increment counter by 5</a>
<a href="#" jwcid="by10@DirectLink" listener="listener:doClick" parameters="ognl:10">increment counter by 10</a>
<a href="#" jwcid="clear@DirectLink" listener="listener:doClear">clear counter</a>
<a href="#" jwcid="@PageLink" page="Home">refresh</a>
</body>
</html>
|
Return to article
|  |
|