apache / cocoon Goto Github PK
View Code? Open in Web Editor NEWMirror of Apache Cocoon
License: Apache License 2.0
Mirror of Apache Cocoon
License: Apache License 2.0
This is some quick info about the Mavenization (m10n) of Cocoon 2.2. There are also some Daisy documentation pages about this, for more "stable" information: http://cocoon.zones.apache.org/daisy/documentation/g2/756.html http://cocoon.zones.apache.org/daisy/documentation/g1/798.html PREREQUISITES ------------- You need a JDK, 1.8.x or later. (Note, currently a JRE won't do) When experimenting with trunk, 11.x is probably the best bet. Maven 3 must be installed. MAVEN REPOSITORY MIRRORS ------------------------ Using a Maven mirror isn't necessary anymore. HOW TO BUILD THE COCOON WEBAPP ------------------------------ Since Cocoon release 2.2, Cocoon relies on Maven for its build process. To build Cocoon, use the following command: $ ./build.sh install In case of any failures, repeat command as necessary till you see the message: BUILD SUCCESSFUL If you have consistent build failures due to a missing cocoon-rcl artefact, then run first $ cd ../tools $ mvn clean install If you have build failures due to out-of-memory conditions, increase the JVM maximum memory limit in build.sh: $ MAVEN_OPTS="-Xmx256m" HOW TO MOUNT THE PROJECTS IN ECLIPSE ------------------------------------ from /trunk, run $ ./build.sh eclipse:clean eclipse:eclipse Next go to eclipse, and make sure you haven't got trunk mounted as a project already. Also remove .classpath and .project files possibly remaining in /trunk from a previous project mount. Do File-Import->Existing projects into workspace, then point to your trunk directory and it should detect the newly created blocks as projects. Note that you need to declare the M2_REPO classpath variable in your workspace, it should point to your local m2 repository. You can also get eclipse to download the sources of the dependent libraries and attach them to the jars in eclipse : $ mvn -Declipse.downloadSources=true eclipse:eclipse For further information about the maven eclipse plugin visit http://maven.apache.org/plugins/maven-eclipse-plugin/ HOW TO MOUNT THE PROJECTS IN INTELLIJ ------------------------------------ In IntelliJ select File - Open Project... Navigate to the root directory and select that. HOW TO START THE COCOON WEBAPP ------------------------------ Checkout complete trunk and build it. If clean rebuild is desired, use command: $ ./build.sh clean install Call this until you get "BUILD SUCCESSFUL" - sometimes downloads from maven repositories are temporarily unaccessible and cause the build to fail. To start Cocoon within Jetty, use command: $ cocoon.sh Point your browser to http://localhost:8888/ (Don't use jetty:run-exploded as in this case the jetty6 plugin will alter the webapp build by the Cocoon deployer again!) HOW TO DEBUG THE COCOON WEBAPP ------------------------------ To start Cocoon with JVM debug enabled, use command: $ cocoon.sh debug Then tell your IDE to connect to JVM debug on port localhost:5005.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.