Eclipse

Weave development doesn't require that you use the Eclipse IDE, but given the in-built support for OSGi development the core Weave development is generally performed using Eclipse and any examples shown here will be using Eclipse.

If you need to download Eclipse ensure that you download the version that includes support for plugin development.

Setting up Eclipse for Weave development

This video shows how to setup an Eclipse environment for development with Weave and this one is an update for Windows.

Jetty development bundles for Eclipse

Basic development options
-server
-Xms512m
-Xmx2048m

-Djava.net.preferIPv4Stack=true
-Djava.awt.headless=true 
-Declipse.ignoreApp=true
-Dosgi.noShutdown=true
-Dosgi.console.enable.builtin=true
Setting Jetty parameters
-Dorg.osgi.service.http.port=8080
-Dorg.eclipse.equinox.http.jetty.context.path=/weave
-Dorg.eclipse.jetty.server.Request.maxFormContentSize=5000000
Some helpful Weave settings
-Dweave.cache.default=false
-Dweave.script.debug=true
Changing file locations
-Dconfig.location=/home/sforbes/projects/weave/platforms/platform-r24/workspace/config.xml
-Dsecurity.location=/home/sforbes/projects/weave/platforms/platform-r24/workspace/security.xml
-Dosgi.debug=/home/sforbes/projects/weave/platforms/platform-r24/workspace/debug.options
Adding external libraries
-Djava.library.path=/usr/local/arcgis/arcsde10/dev/lib:/usr/local/arcgis/arcsde10/sdeexe100/lib
Proxy Settings
-Dhttp.proxyHost=192.168.0.11
-Dhttp.proxyPort=3128
-Dhttp.nonProxyHosts=*.local|localhost|192.168.0.*|arcserver10|arcserver93|arcserver|arcims10|geoserver