Hi folks
I have updated the INFO.txt file that is downloaded with the tapestry-tutorial - would somebody like to review and update this back into the zip file, it may help somebody else following me...
Cheers
tapestry-libraries.tar.gz
Ccontains just the Tapestry libraries, including all the current
dependencies.
tapestry-tutorials.tar.gz
Contains the libraries as well as all of the Tapestry QuickStart
tutorials.
The QuickStart Tutorials are distributed as a set of Eclipse workspaces
(though Ant build files are supplied as well). They depend on an
Eclipse User
Library to locate the libraries. You can create a User Library as
follows:
- Select Window -> Preferences... from the menu
- Navigate to Java / Build Path / User Libraries
- Click New
- Name the library "Tapestry Libraries"
- Click Add Jars ...
- Add all the JAR files in the tapestry-libraries/lib/web folder
To build the tutorials you needs ensure you are running JDK v5.0 (comes
after v1.4).
Extract the downloaded files to a new directory, eg
C:\TapestryTutorials.
Don't extract it into your existing workspace. From Eclipse select
File |
Import... 'Existing projects into workspace', click the 'Browse' button
to
select a root directory, select the directory you extracted your
download
to. In my case above I selected C:\TapestryTutorials. The import
projects
dialog should display all of the projects that can be imported, these
include 'directlink', 'forms', and 'helloworld' (depending on the
version
of the tutorials you have downloaded).
To build the projects you have imported you should find a 'build.xml'
file
inside each project. Right mouse on the 'build.xml' and select 'Run
As' |
'Ant Build'.
Problems: The most likely problem is an issue compiling the project due
to
errors with the annotations, eg "@Persist". If this is the problem
then
you need to find why your system is not using the JDK v5.0 libraries.
It
may still be referencing an older version somewhere. Check through the
Windows | Preferences, the project properties (right mouse on the
project),
and the Ant build properties (right mouse on the 'build.xml' and select
"Run As" | "Ant Build...").
tapestry-examples-xxx.tar.gz
A prebuilt JBoss distribution, containing the Tapestry Workbench and
Virtual Library
applications.
Unpack the distribution, change the bin directory, and use the run.bat
or
run.sh script to start up JBoss and the examples.
See http://jakarta.apache.org/tapestry/examples/index.html for details.--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
