|
Readme
Piccolo2D.Java Readme.
Featured Piccolo2D.Java ReadmeThis is the Piccolo2D.Java README file INTRODUCTIONWelcome to Piccolo2D! Piccolo2D is a revolutionary way (in the Jazz ZUI tradition) to create robust, full-featured graphical applications in Java, with striking features such as zooming and multiple representation. Piccolo2d.Java is an extensive toolkit based on the Java2D API. REQUIREMENTSTo run Piccolo2D.Java applications you need to have a Java Runtime Environment (JRE) or Java Development Kit (JDK) version 1.4 or newer. To build Piccolo2D.Java you need to have a Java Runtime Environment (JRE) or Java Development Kit (JDK) version 1.5 or newer, and Apache Maven version 2.0.10 or newer. Java Runtime Environment (JRE) Java Development Kit (JDK) Apache Maven For some platforms, including Mac OSX with JDK version 1.6 or later on x86_64, the Eclipse Standard Widget Toolkit (SWT) version 3.3.0 or later must also be installed manually. Eclipse Standard Widget Toolkit See for further details. USING PICCOLO2D.JAVATo include the Piccolo2D core classes in your project, use a dependency of <dependency> <groupId>org.piccolo2d</groupId> <artifactId>piccolo2d-core</artifactId> <version>1.3.1</version> </dependency> in your pom.xml. To include the Piccolo2D core classes and the Piccolo2D extras classes in your project, use a dependency of <dependency> <groupId>org.piccolo2d</groupId> <artifactId>piccolo2d-extras</artifactId> <version>1.3.1</version> </dependency> in your pom.xml. To include the Piccolo2D core classes and the Piccolo2D SWT classes in your project, use a dependency of <dependency> <groupId>org.piccolo2d</groupId> <artifactId>piccolo2d-swt</artifactId> <version>1.3.1</version> </dependency> in your pom.xml. If your project does not use maven, simply include the relevant Piccolo2D jars in your project's classpath. BUILDING PICCOLO2D.JAVATo build all the Piccolo2D modules $ mvn install To build and run the Piccolo2D examples runnable jar $ cd examples $ mvn assembly:assembly $ java -jar target/piccolo2d-examples-1.3.1-jar-with-dependencies.jar To build and run the Piccolo2D SWT examples runnable jar $ cd swt-examples $ mvn assembly:assembly $ java -jar target/piccolo2d-swt-examples-1.3.1-jar-with-dependencies.jar |
Can you please also list which maven repo contains the artifacts.
shahbazc,
I had the same issue. Here is what I learned:
Some discussion about a "maven site" @http://code.google.com/p/piccolo2d/issues/detail?id=45
The 1.3 release announcement @ http://groups.google.com/group/piccolo2d-users/browse_thread/thread/5e4070e895ed4ed8
... and the above info
The latest word seems to be "a week or so" from Mar 12, published to the maven central repo. I'm guessing any day we'll be able to drop the jars from our projects and add the dependencies.
I hope that the disparate bits of repo guidance will be tied up after the artifacts are deployed.
Version 1.3 is available on the Maven central repository. See http://code.google.com/p/piccolo2d/issues/detail?id=168 for details.