This is a guide to building Tapestry itself from source code. This is primarily of interest to Tapestry contributors, rather than Tapestry users.
...
Clone Tapestry from the Git repo:
-
Command-line git users:
- Eclipse EGit users:
- Switch to Git perspective; then copy one of the URLs above into paste buffer
- Right-click > Paste repository path or URI. This will bring up the Clone Git Repository dialog.
- Committers: make sure Protocol is https, and enter your Apache commiter LDAP user name & password
- click Next.
- Select the branches you're interested in (e.g 5.3 and master), click Next
- Select Directory to where you want the project source code (e.g.
~/git/tapestry-5
or %HOME%\git\tapestry-5
)
- Select whichever "Initial Branch" you're interested in (e.g. master)
- Set "Remote name" to "origin" (the default)
- VERY IMPORTANT: uncheck the "Import all existing projects" checkbox (we'll do this using Gradle, below)
- Click Finish. (Be patient; the clone operation might take a few minutes.)
...
- Command-line users:
-
./gradlew build -x test
- You can skip tests on a specific module by adding a colon and the module name. For example:
-x test:tapestry-ioc
- Eclipse Gradle IDE users:
Running the Integration Test Apps Manually
...
You can use the git format-patch command to produce a nice set of patches to attach to the relevant issue in JIRA:
Code Block |
git format-patch origin/master
|
...
Problem: I can't run the build. it gives me an error in line 91:
Code Block |
20:22:11.438 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
20:22:11.439 [ERROR] [org.gradle.BuildExceptionReporter] A problem occurred evaluating root project 'tapestry-project-trunk'.
20:22:11.440 [ERROR] [org.gradle.BuildExceptionReporter] Cause: Cannot get property 'plus' on null object
|
...