...
- Command-line gradle users only:
- If you're using Eclipse but not Gradle IDE do
./gradlew eclipse
- The command-line Gradle's eclipse plugin doesn't include the provided project dependencies; you need to add them manually (Java Build Path > Projects > Add tapestry-test). The plugin also generates a root eclipse project, so you'll need to delete the ".project" file in the root folder, and then you can import all Tapestry sub-projects at once.
- Eclipse Gradle IDE users:
- Switch to Java (or JEE) perspective and right-click > Import... > Gradle > Gradle Project > Next.
- Set the "Root folder" to where you put your Tapestry source in the previous section (e.g.
~/git/tapestry-5
or %Home%\git\tapestry-5
)
- Click
Build Model.
Select When it completes, s
elect the top-level (the top-level module and all sub-modules) then click Finish
.
- Be sure the "Enable dependency management" and ""Add to Create workingset 'tapestry-5' " checkboxes are checked.
- Click
Finish
. (Be patient; the import operation might take a few minutes.)
- Eclipse EGit users: Do a Git "Share" on the project:
- Still in the Java (or JEE) perspective, select all of the Tapestry projects (top-level and sub-modules) and right-click > Team > Share Project... > Git > Next > Ensure all are selected, click
Finish
.
...
The Tapestry source includes several web apps that are used by the automated Selenium integration tests. You can also run these apps manually to try out nearly every browser-visible aspect of Tapestry. (See a live example running on Google App Engine.)
- If using Eclipse:
- Use the run-jetty-run plugin in Eclipse, with the context directory selected from among the
test
context directories. For example, in the tapestry-core module, right click on the /src/test/app1 (or app2, etc) folder, and select Run As > Run Jetty, then open your browser to http://localhost:8080/tapestry-core
...