Reorganizing into subprojects.
libpit - Personal Issue Tracker core libraries (Filter, Issue, Project, Category) pit-cli - Command Line Interface (CLI) to libpit pit-swing - Graphical, Swing interface to libpit (built using Griffon) libpit and pit-swing both build, though pit-swing is just an empty griffon poject.
29
build-common-versioning.xml
Executable file
@ -0,0 +1,29 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project name="Common Build Versioning" >
|
||||||
|
<property name="cbv-basedir" value="${basedir}" />
|
||||||
|
<property name="cbv-property-file" value="project.properties"/>
|
||||||
|
|
||||||
|
<target name="-cbv-init">
|
||||||
|
<property file="${cbv-basedir}/${cbv-property-file}" />
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="-pre-set-version" />
|
||||||
|
<target name="-do-set-version">
|
||||||
|
<input message="Current version is ${application.version}. Enter new version: " addproperty="new-version"/>
|
||||||
|
<propertyfile file="${cbv-basedir}/${cbv-property-file}">
|
||||||
|
<entry key="application.version" value="${new-version}" />
|
||||||
|
<entry key="build.number" value="0" />
|
||||||
|
</propertyfile>
|
||||||
|
<property file="${cbv-basedir}/${cbv-property-file}" />
|
||||||
|
</target>
|
||||||
|
<target name="-post-set-version" />
|
||||||
|
<target name="set-version" depends="-cbv-init,-pre-set-version,-do-set-version,-post-set-version"/>
|
||||||
|
|
||||||
|
<target name="increment-build-number">
|
||||||
|
<propertyfile file="${cbv-basedir}/${cbv-property-file}">
|
||||||
|
<entry key="build.number" operation="+" type="int" default="0"/>
|
||||||
|
</propertyfile>
|
||||||
|
<property file="${cbv-basedir}/${cbv-property-file}" />
|
||||||
|
</target>
|
||||||
|
|
||||||
|
</project>
|
46
libpit/build.xml
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
<project name="Personal Issue Tracker">
|
||||||
|
<property file="project.properties"/>
|
||||||
|
<property environment="env"/>
|
||||||
|
|
||||||
|
<target name="init">
|
||||||
|
<fail
|
||||||
|
unless="env.GROOVY_HOME"
|
||||||
|
message="GROOVY_HOME environment variable is not set."/>
|
||||||
|
<echo message="GROOVY_HOME: ${env.GROOVY_HOME}"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<path id="groovy.libs">
|
||||||
|
<fileset dir="${env.GROOVY_HOME}/lib">
|
||||||
|
<include name="**/*.jar"/>
|
||||||
|
</fileset>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path id="groovy.cp">
|
||||||
|
<path refid="groovy.libs"/>
|
||||||
|
<fileset dir="${lib.dir}"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<taskdef name="groovyc"
|
||||||
|
classname="org.codehaus.groovy.ant.Groovyc"
|
||||||
|
classpathref="groovy.libs"/>
|
||||||
|
|
||||||
|
<target name="clean">
|
||||||
|
<delete dir="${build.dir}"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="compile" depends="init">
|
||||||
|
<mkdir dir="${build.dir}/classes"/>
|
||||||
|
<groovyc
|
||||||
|
srcdir="${src.dir}"
|
||||||
|
destdir="${build.dir}/classes"
|
||||||
|
classpath="${groovyc.cp}"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="build" depends="compile">
|
||||||
|
<mkdir dir="${build.dir}/jar"/>
|
||||||
|
<jar
|
||||||
|
destfile="${build.dir}/jar/${build.jar}"
|
||||||
|
basedir="${build.dir}/classes"
|
||||||
|
compress="on"/>
|
||||||
|
</target>
|
||||||
|
</project>
|
0
issue-tracker/0001c5.rst → libpit/issue-tracker/0001c5.rst
Executable file → Normal file
5
libpit/project.properties
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
app.version=1.0
|
||||||
|
build.dir=build
|
||||||
|
build.jar=pit-${app.version}.jar
|
||||||
|
lib.dir=../lib
|
||||||
|
src.dir=src
|
@ -1,4 +1,4 @@
|
|||||||
<project name="Personal Issue Tracker">
|
<project name="Personal Issue Tracker CLI">
|
||||||
<property file="project.properties"/>
|
<property file="project.properties"/>
|
||||||
|
|
||||||
<path id="groovy.all.path">
|
<path id="groovy.all.path">
|
||||||
@ -7,13 +7,6 @@
|
|||||||
</fileset>
|
</fileset>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path id="groovy.cp">
|
|
||||||
<fileset dir="${groovy.home}/lib">
|
|
||||||
<include name="**/*.jar"/>
|
|
||||||
</fileset>
|
|
||||||
<fileset dir="${lib.dir}"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<taskdef name="groovyc"
|
<taskdef name="groovyc"
|
||||||
classname="org.codehaus.groovy.ant.Groovyc"
|
classname="org.codehaus.groovy.ant.Groovyc"
|
||||||
classpathref="groovy.all.path"/>
|
classpathref="groovy.all.path"/>
|
||||||
@ -38,18 +31,12 @@
|
|||||||
<jar
|
<jar
|
||||||
destfile="${build.dir}/jar/${build.jar}"
|
destfile="${build.dir}/jar/${build.jar}"
|
||||||
basedir="${build.dir}/classes"
|
basedir="${build.dir}/classes"
|
||||||
compress="on">
|
comipress="on">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Main-Class" value="${main.class}"/>
|
<attribute name="Main-Class" value="${main.class}"/>
|
||||||
</manifest>
|
</manifest>
|
||||||
</jar>
|
</jar>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="build-lib" depends="clean,compile">
|
|
||||||
<mkdir dir="${build.dir}/jar"/>
|
|
||||||
<jar
|
|
||||||
destfile="${build.dir}/jar/${build.lib.jar}"
|
|
||||||
basedir="${build.dir}/classes"
|
|
||||||
compress="on"/>
|
|
||||||
</target>
|
|
||||||
</project>
|
</project>
|
62
pit-swing/.classpath
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<classpath>
|
||||||
|
<classpathentry kind="src" path="src/main"/>
|
||||||
|
<classpathentry kind="src" path="griffon-app/conf"/>
|
||||||
|
<classpathentry kind="src" path="griffon-app/models"/>
|
||||||
|
<classpathentry kind="src" path="griffon-app/views"/>
|
||||||
|
<classpathentry kind="src" path="griffon-app/controllers"/>
|
||||||
|
<classpathentry kind="src" path="griffon-app/resources"/>
|
||||||
|
<classpathentry kind="src" path="test/integration"/>
|
||||||
|
<classpathentry kind="src" path="test/unit"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/ant/lib/ant.jar"/>
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/swingx-0.9.3.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/swing-worker.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/commons-lang-2.4.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/ant-launcher-1.7.1.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/gant_groovy1.6-1.6.0.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/asm-2.2.3.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/commons-cli-1.0.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/groovy-all-1.6.4.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/swingxbuilder-0.1.6-SNAPSHOT.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/jline-0.9.94.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/svnkit-1.2.0.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/log4j-1.2.15.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/ant-nodeps-1.7.1.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/ant-1.7.1.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/ant-trax-1.7.1.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/commons-logging-1.1.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/ant-junit-1.7.1.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/MultipleGradientPaint.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/spring-2.5.6.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/lib/junit-3.8.2.jar" />
|
||||||
|
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/dist/griffon-rt-0.2.1.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/dist/griffon-resources-0.2.1.jar" />
|
||||||
|
|
||||||
|
<classpathentry kind="var" path="GRIFFON_HOME/dist/griffon-cli-0.2.1.jar" />
|
||||||
|
|
||||||
|
|
||||||
|
<classpathentry kind="output" path="staging/classes"/>
|
||||||
|
</classpath>
|
18
pit-swing/.project
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>pit-swing</name>
|
||||||
|
<comment/>
|
||||||
|
<projects>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
<nature>org.eclipse.jdt.groovy.core.groovyNature</nature>
|
||||||
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
|
</natures>
|
||||||
|
</projectDescription>
|
4
pit-swing/application.properties
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#Sat Feb 13 08:41:16 CST 2010
|
||||||
|
app.version=0.1
|
||||||
|
app.griffon.version=0.2.1
|
||||||
|
app.name=pit-swing
|
97
pit-swing/build.xml
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
<project name="pit-swing" default="test">
|
||||||
|
|
||||||
|
<!-- =================================
|
||||||
|
target: clean
|
||||||
|
================================= -->
|
||||||
|
<target name="clean" description="--> Cleans a Griffon application">
|
||||||
|
<griffon>
|
||||||
|
<arg value="clean"/>
|
||||||
|
</griffon>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- =================================
|
||||||
|
target: package
|
||||||
|
================================= -->
|
||||||
|
<target name="package" description="--> Packages up Griffon artifacts">
|
||||||
|
<griffon>
|
||||||
|
<arg value="package"/>
|
||||||
|
</griffon>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- =================================
|
||||||
|
target: run-app
|
||||||
|
================================= -->
|
||||||
|
<target name="run-app" description="--> Run a Griffon application in standalone mode">
|
||||||
|
<griffon>
|
||||||
|
<arg value="run-app"/>
|
||||||
|
</griffon>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- =================================
|
||||||
|
target: debug-app
|
||||||
|
================================= -->
|
||||||
|
<target name="debug-app" description="--> Run a Griffon application in standalone mode with debugging turned on">
|
||||||
|
<griffon>
|
||||||
|
<arg value="run-app"/>
|
||||||
|
<arg value="-debug"/>
|
||||||
|
</griffon>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- =================================
|
||||||
|
target: run-webstart
|
||||||
|
================================= -->
|
||||||
|
<target name="run-webstart" description="--> Run a Griffon application in webstart mode">
|
||||||
|
<griffon>
|
||||||
|
<arg value="run-webstart"/>
|
||||||
|
</griffon>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- =================================
|
||||||
|
target: run-applet
|
||||||
|
================================= -->
|
||||||
|
<target name="run-applet" description="--> Run a Griffon application in applet mode">
|
||||||
|
<griffon>
|
||||||
|
<arg value="run-applet"/>
|
||||||
|
</griffon>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- =================================
|
||||||
|
target: test
|
||||||
|
================================= -->
|
||||||
|
<target name="test" description="--> Run a Griffon applications unit tests">
|
||||||
|
<griffon>
|
||||||
|
<arg value="test-app"/>
|
||||||
|
</griffon>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- =================================
|
||||||
|
target: dist
|
||||||
|
================================= -->
|
||||||
|
<target name="dist" description="--> Packages up Griffon artifacts in the Production Environment">
|
||||||
|
<griffon>
|
||||||
|
<arg value="prod"/>
|
||||||
|
<arg value="package"/>
|
||||||
|
</griffon>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- set up the griffon macro -->
|
||||||
|
<property environment="env"/>
|
||||||
|
<property name="griffon.home" value="${env.GRIFFON_HOME}"/>
|
||||||
|
<property name="jdk.home" value="${env.JAVA_HOME}"/>
|
||||||
|
<condition property="griffon" value="griffon.bat">
|
||||||
|
<os family="windows"/>
|
||||||
|
</condition>
|
||||||
|
<property name="griffon" value="griffon" />
|
||||||
|
<macrodef name="griffon">
|
||||||
|
<element name="griffon-args" implicit="yes"/>
|
||||||
|
<sequential>
|
||||||
|
<exec executable="${griffon.home}/bin/${griffon}" failonerror="true">
|
||||||
|
<env key="JAVA_HOME" value="${jdk.home}"/>
|
||||||
|
<env key="GRIFFON_HOME" value="${griffon.home}"/>
|
||||||
|
<griffon-args/>
|
||||||
|
</exec>
|
||||||
|
</sequential>
|
||||||
|
</macrodef>
|
||||||
|
<!-- end set up the griffon macro -->
|
||||||
|
|
||||||
|
</project>
|
19
pit-swing/griffon-app/conf/Application.groovy
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
application {
|
||||||
|
title='PitSwing'
|
||||||
|
startupGroups = ['pit-swing']
|
||||||
|
|
||||||
|
// Should Griffon exit when no Griffon created frames are showing?
|
||||||
|
autoShutdown = true
|
||||||
|
|
||||||
|
// If you want some non-standard application class, apply it here
|
||||||
|
//frameClass = 'javax.swing.JFrame'
|
||||||
|
}
|
||||||
|
mvcGroups {
|
||||||
|
// MVC Group for "pit-swing"
|
||||||
|
'pit-swing' {
|
||||||
|
model = 'PitSwingModel'
|
||||||
|
controller = 'PitSwingController'
|
||||||
|
view = 'PitSwingView'
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
9
pit-swing/griffon-app/conf/Builder.groovy
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
root {
|
||||||
|
'groovy.swing.SwingBuilder' {
|
||||||
|
controller = ['Threading']
|
||||||
|
view = '*'
|
||||||
|
}
|
||||||
|
'griffon.app.ApplicationBuilder' {
|
||||||
|
view = '*'
|
||||||
|
}
|
||||||
|
}
|
94
pit-swing/griffon-app/conf/Config.groovy
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
// log4j configuration
|
||||||
|
log4j {
|
||||||
|
appender.stdout = 'org.apache.log4j.ConsoleAppender'
|
||||||
|
appender.'stdout.layout'='org.apache.log4j.PatternLayout'
|
||||||
|
appender.'stdout.layout.ConversionPattern'='[%r] %c{2} %m%n'
|
||||||
|
appender.errors = 'org.apache.log4j.FileAppender'
|
||||||
|
appender.'errors.layout'='org.apache.log4j.PatternLayout'
|
||||||
|
appender.'errors.layout.ConversionPattern'='[%r] %c{2} %m%n'
|
||||||
|
appender.'errors.File'='stacktrace.log'
|
||||||
|
rootLogger='error,stdout'
|
||||||
|
logger {
|
||||||
|
griffon='error'
|
||||||
|
StackTrace='error,errors'
|
||||||
|
org {
|
||||||
|
codehaus.griffon.commons='info' // core / classloading
|
||||||
|
}
|
||||||
|
}
|
||||||
|
additivity.StackTrace=false
|
||||||
|
}
|
||||||
|
|
||||||
|
// key signing information
|
||||||
|
environments {
|
||||||
|
development {
|
||||||
|
signingkey {
|
||||||
|
params {
|
||||||
|
sigfile = 'GRIFFON'
|
||||||
|
keystore = "${basedir}/griffon-app/conf/keys/devKeystore"
|
||||||
|
alias = 'development'
|
||||||
|
storepass = 'BadStorePassword'
|
||||||
|
keypass = 'BadKeyPassword'
|
||||||
|
lazy = true // only sign when unsigned
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
test {
|
||||||
|
griffon {
|
||||||
|
jars {
|
||||||
|
sign = false
|
||||||
|
pack = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
production {
|
||||||
|
signingkey {
|
||||||
|
params {
|
||||||
|
sigfile = 'GRIFFON'
|
||||||
|
keystore = 'CHANGE ME'
|
||||||
|
alias = 'CHANGE ME'
|
||||||
|
// NOTE: for production keys it is more secure to rely on key prompting
|
||||||
|
// no value means we will prompt //storepass = 'BadStorePassword'
|
||||||
|
// no value means we will prompt //keypass = 'BadKeyPassword'
|
||||||
|
lazy = false // sign, regardless of existing signatures
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
griffon {
|
||||||
|
jars {
|
||||||
|
sign = true
|
||||||
|
pack = true
|
||||||
|
destDir = "${basedir}/staging"
|
||||||
|
}
|
||||||
|
webstart {
|
||||||
|
codebase = 'CHANGE ME'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
griffon {
|
||||||
|
memory {
|
||||||
|
//max = '64m'
|
||||||
|
//min = '2m'
|
||||||
|
//maxPermSize = '64m'
|
||||||
|
}
|
||||||
|
jars {
|
||||||
|
sign = false
|
||||||
|
pack = false
|
||||||
|
destDir = "${basedir}/staging"
|
||||||
|
jarName = "${appName}.jar"
|
||||||
|
}
|
||||||
|
extensions {
|
||||||
|
jarUrls = []
|
||||||
|
jnlpUrls = []
|
||||||
|
}
|
||||||
|
webstart {
|
||||||
|
codebase = "${new File(griffon.jars.destDir).toURI().toASCIIString()}"
|
||||||
|
jnlp = 'application.jnlp'
|
||||||
|
}
|
||||||
|
applet {
|
||||||
|
jnlp = 'applet.jnlp'
|
||||||
|
html = 'applet.html'
|
||||||
|
}
|
||||||
|
}
|
43
pit-swing/griffon-app/conf/webstart/applet.html
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||||
|
"http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title></title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<script src="http://java.com/js/deployJava.js"></script>
|
||||||
|
<script>
|
||||||
|
var attributes = {id: '@griffonAppName@',
|
||||||
|
codebase:'@griffonAppCodebase@',
|
||||||
|
code:'@griffonAppletClass@',
|
||||||
|
archive:'@appletJars@',
|
||||||
|
width:'240', height:'320'} ;
|
||||||
|
var parameters = {fontSize:16,
|
||||||
|
java_arguments: "-Djnlp.packEnabled=true",
|
||||||
|
jnlp_href:'@griffonAppCodebase@/applet.jnlp',
|
||||||
|
draggable:'true',
|
||||||
|
image:'griffon.png',
|
||||||
|
boxmessage:'Loading @griffonAppName@',
|
||||||
|
boxbgcolor:'#FFFFFF', boxfgcolor:'#000000',
|
||||||
|
codebase_lookup: 'false'} ;
|
||||||
|
var version = '1.5.0' ;
|
||||||
|
deployJava.runApplet(attributes, parameters, version);
|
||||||
|
</script>
|
||||||
|
<!--
|
||||||
|
<APPLET CODEBASE='@griffonAppCodebase@'
|
||||||
|
CODE='@griffonAppletClass@'
|
||||||
|
ARCHIVE='@appletJars@'
|
||||||
|
WIDTH='240' HEIGHT='320'>
|
||||||
|
<PARAM NAME="java_arguments" VALUE="-Djnlp.packEnabled=true">
|
||||||
|
<PARAM NAME='jnlp_href' VALUE='@griffonAppCodebase@/applet.jnlp'>
|
||||||
|
<PARAM NAME='dragggable' VALUE='true'>
|
||||||
|
<PARAM NAME='image' VALUE='griffon.png'>
|
||||||
|
<PARAM NAME='boxmessage' VALUE='Loading @griffonAppName@'>
|
||||||
|
<PARAM NAME='boxbgcolor' VALUE='#FFFFFF'>
|
||||||
|
<PARAM NAME='boxfgcolor' VALUE='#000000'>
|
||||||
|
<PARAM NAME='codebase_lookup' VALUE='false'>
|
||||||
|
</APPLET>
|
||||||
|
-->
|
||||||
|
</body>
|
||||||
|
</html>
|
55
pit-swing/griffon-app/conf/webstart/applet.jnlp
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE jnlp SYSTEM "http://java.sun.com/dtd/JNLP-1.5.dtd">
|
||||||
|
<jnlp
|
||||||
|
version="@griffonAppVersion@"
|
||||||
|
codebase="@griffonAppCodebase@"
|
||||||
|
href="@jnlpFileName@"
|
||||||
|
>
|
||||||
|
<information>
|
||||||
|
<title>@griffonAppName@</title>
|
||||||
|
<vendor>@griffonAppName@</vendor>
|
||||||
|
<!--<homepage href="http://app.example.com/"/>-->
|
||||||
|
<!--fallback description-->
|
||||||
|
<description>@griffonAppName@</description>
|
||||||
|
<description kind="one-line">@griffonAppName@</description>
|
||||||
|
<description kind="short">@griffonAppName@</description>
|
||||||
|
<description kind="tooltip">@griffonAppName@</description>
|
||||||
|
<!-- fallback icon -->
|
||||||
|
<icon href="griffon-icon-48x48.png" kind="default" width="48" height="48"/>
|
||||||
|
<!-- icon used for splash screen -->
|
||||||
|
<icon href="griffon.png" kind="splash" width="381" height="123"/>
|
||||||
|
<!-- icon used in menu -->
|
||||||
|
<icon href="griffon-icon-16x16.png" kind="shortcut" width="16" height="16"/>
|
||||||
|
<!-- icon used on desktop -->
|
||||||
|
<icon href="griffon-icon-32x32.png" kind="shortcut" width="32" height="32"/>
|
||||||
|
<!-- to create shortcuts, uncomment this
|
||||||
|
<shortcut online="true">
|
||||||
|
<desktop/>
|
||||||
|
<menu submenu="@griffonAppName@"/>
|
||||||
|
</shortcut>
|
||||||
|
-->
|
||||||
|
<offline-allowed/>
|
||||||
|
</information>
|
||||||
|
<security>
|
||||||
|
<all-permissions/>
|
||||||
|
<!--<j2ee-application-client-permissions/>-->
|
||||||
|
</security>
|
||||||
|
<resources>
|
||||||
|
<property name="jnlp.packEnabled" value="true"/>
|
||||||
|
<j2se version="1.5+" @memoryOptions@/>
|
||||||
|
<!-- auto-added jars follow, griffon-rt, app, and groovy -->
|
||||||
|
@jnlpJars@
|
||||||
|
<!-- Add all extra jars below here, or the app may break -->
|
||||||
|
@jnlpExtensions@
|
||||||
|
</resources>
|
||||||
|
<applet-desc
|
||||||
|
documentbase="@griffonAppCodebase@"
|
||||||
|
name="@griffonAppName@Applet"
|
||||||
|
main-class="@griffonAppletClass@"
|
||||||
|
width="320"
|
||||||
|
height="640">
|
||||||
|
<!-- params are ignored when referenced from web page for 6u10 -->
|
||||||
|
<!--<param name="key1" value="value1"/>-->
|
||||||
|
<!--<param name="key2" value="value2"/>-->
|
||||||
|
</applet-desc>
|
||||||
|
</jnlp>
|
50
pit-swing/griffon-app/conf/webstart/application.jnlp
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE jnlp SYSTEM "http://java.sun.com/dtd/JNLP-1.5.dtd">
|
||||||
|
<jnlp
|
||||||
|
version="@griffonAppVersion@"
|
||||||
|
codebase="@griffonAppCodebase@"
|
||||||
|
href="@jnlpFileName@"
|
||||||
|
>
|
||||||
|
<information>
|
||||||
|
<title>@griffonAppName@</title>
|
||||||
|
<vendor>@griffonAppName@</vendor>
|
||||||
|
<!--<homepage href="http://app.example.com/"/>-->
|
||||||
|
<!--fallback description-->
|
||||||
|
<description>@griffonAppName@</description>
|
||||||
|
<description kind="one-line">@griffonAppName@</description>
|
||||||
|
<description kind="short">@griffonAppName@</description>
|
||||||
|
<description kind="tooltip">@griffonAppName@</description>
|
||||||
|
<!-- fallback icon -->
|
||||||
|
<icon href="griffon-icon-48x48.png" kind="default" width="48" height="48"/>
|
||||||
|
<!-- icon used for splash screen -->
|
||||||
|
<icon href="griffon.png" kind="splash" width="381" height="123"/>
|
||||||
|
<!-- icon used in menu -->
|
||||||
|
<icon href="griffon-icon-16x16.png" kind="shortcut" width="16" height="16"/>
|
||||||
|
<!-- icon used on desktop -->
|
||||||
|
<icon href="griffon-icon-32x32.png" kind="shortcut" width="32" height="32"/>
|
||||||
|
<!-- to create shortcuts, uncomment this
|
||||||
|
<shortcut online="true">
|
||||||
|
<desktop/>
|
||||||
|
<menu submenu="@griffonAppName@"/>
|
||||||
|
</shortcut>
|
||||||
|
<offline-allowed/>
|
||||||
|
-->
|
||||||
|
</information>
|
||||||
|
<security>
|
||||||
|
<all-permissions/>
|
||||||
|
<!--<j2ee-application-client-permissions/>-->
|
||||||
|
</security>
|
||||||
|
<resources>
|
||||||
|
<property name="jnlp.packEnabled" value="true"/>
|
||||||
|
<j2se version="1.5+" @memoryOptions@/>
|
||||||
|
<!-- auto-added jars follow, griffon-rt, app, and groovy -->
|
||||||
|
@jnlpJars@
|
||||||
|
<!-- Add all extra jars below here, or the app may break -->
|
||||||
|
@jnlpExtensions@
|
||||||
|
</resources>
|
||||||
|
<application-desc main-class="@griffonApplicationClass@">
|
||||||
|
<!-- params are ignored when referenced from web page for 6u10 -->
|
||||||
|
<!--<param name="key1" value="value1"/>-->
|
||||||
|
<!--<param name="key2" value="value2"/>-->
|
||||||
|
</application-desc>
|
||||||
|
</jnlp>
|
BIN
pit-swing/griffon-app/conf/webstart/griffon-icon-128x128.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
pit-swing/griffon-app/conf/webstart/griffon-icon-16x16.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
pit-swing/griffon-app/conf/webstart/griffon-icon-24x24.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
pit-swing/griffon-app/conf/webstart/griffon-icon-256x256.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
pit-swing/griffon-app/conf/webstart/griffon-icon-32x32.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
pit-swing/griffon-app/conf/webstart/griffon-icon-48x48.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
pit-swing/griffon-app/conf/webstart/griffon-icon-64x64.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
pit-swing/griffon-app/conf/webstart/griffon.png
Normal file
After Width: | Height: | Size: 15 KiB |
14
pit-swing/griffon-app/controllers/PitSwingController.groovy
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
class PitSwingController {
|
||||||
|
// these will be injected by Griffon
|
||||||
|
def model
|
||||||
|
def view
|
||||||
|
|
||||||
|
void mvcGroupInit(Map args) {
|
||||||
|
// this method is called after model and view are injected
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
def action = { evt = null ->
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
}
|
0
pit-swing/griffon-app/i18n/messages.properties
Normal file
24
pit-swing/griffon-app/lifecycle/Initialize.groovy
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/*
|
||||||
|
* This script is executed inside the EDT, so be sure to
|
||||||
|
* call long running code in another thread.
|
||||||
|
*
|
||||||
|
* You have the following options
|
||||||
|
* - SwingBuilder.doOutside { // your code }
|
||||||
|
* - Thread.start { // your code }
|
||||||
|
* - SwingXBuilder.withWorker( start: true ) {
|
||||||
|
* onInit { // initialization (optional, runs in current thread) }
|
||||||
|
* work { // your code }
|
||||||
|
* onDone { // finish (runs inside EDT) }
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
* You have the following options to run code again inside EDT
|
||||||
|
* - SwingBuilder.doLater { // your code }
|
||||||
|
* - SwingBuilder.edt { // your code }
|
||||||
|
* - SwingUtilities.invokeLater { // your code }
|
||||||
|
*/
|
||||||
|
|
||||||
|
import groovy.swing.SwingBuilder
|
||||||
|
import griffon.util.GriffonPlatformHelper
|
||||||
|
|
||||||
|
GriffonPlatformHelper.tweakForNativePlatform(app)
|
||||||
|
SwingBuilder.lookAndFeel('mac', 'nimbus', 'gtk', ['metal', [boldFonts: false]])
|
18
pit-swing/griffon-app/lifecycle/Ready.groovy
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/*
|
||||||
|
* This script is executed inside the EDT, so be sure to
|
||||||
|
* call long running code in another thread.
|
||||||
|
*
|
||||||
|
* You have the following options
|
||||||
|
* - SwingBuilder.doOutside { // your code }
|
||||||
|
* - Thread.start { // your code }
|
||||||
|
* - SwingXBuilder.withWorker( start: true ) {
|
||||||
|
* onInit { // initialization (optional, runs in current thread) }
|
||||||
|
* work { // your code }
|
||||||
|
* onDone { // finish (runs inside EDT) }
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
* You have the following options to run code again inside EDT
|
||||||
|
* - SwingBuilder.doLater { // your code }
|
||||||
|
* - SwingBuilder.edt { // your code }
|
||||||
|
* - SwingUtilities.invokeLater { // your code }
|
||||||
|
*/
|
18
pit-swing/griffon-app/lifecycle/Shutdown.groovy
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/*
|
||||||
|
* This script is executed inside the EDT, so be sure to
|
||||||
|
* call long running code in another thread.
|
||||||
|
*
|
||||||
|
* You have the following options
|
||||||
|
* - SwingBuilder.doOutside { // your code }
|
||||||
|
* - Thread.start { // your code }
|
||||||
|
* - SwingXBuilder.withWorker( start: true ) {
|
||||||
|
* onInit { // initialization (optional, runs in current thread) }
|
||||||
|
* work { // your code }
|
||||||
|
* onDone { // finish (runs inside EDT) }
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
* You have the following options to run code again inside EDT
|
||||||
|
* - SwingBuilder.doLater { // your code }
|
||||||
|
* - SwingBuilder.edt { // your code }
|
||||||
|
* - SwingUtilities.invokeLater { // your code }
|
||||||
|
*/
|
18
pit-swing/griffon-app/lifecycle/Startup.groovy
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/*
|
||||||
|
* This script is executed inside the EDT, so be sure to
|
||||||
|
* call long running code in another thread.
|
||||||
|
*
|
||||||
|
* You have the following options
|
||||||
|
* - SwingBuilder.doOutside { // your code }
|
||||||
|
* - Thread.start { // your code }
|
||||||
|
* - SwingXBuilder.withWorker( start: true ) {
|
||||||
|
* onInit { // initialization (optional, runs in current thread) }
|
||||||
|
* work { // your code }
|
||||||
|
* onDone { // finish (runs inside EDT) }
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
* You have the following options to run code again inside EDT
|
||||||
|
* - SwingBuilder.doLater { // your code }
|
||||||
|
* - SwingBuilder.edt { // your code }
|
||||||
|
* - SwingUtilities.invokeLater { // your code }
|
||||||
|
*/
|
0
pit-swing/griffon-app/lifecycle/Stop.groovy
Normal file
5
pit-swing/griffon-app/models/PitSwingModel.groovy
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import groovy.beans.Bindable
|
||||||
|
|
||||||
|
class PitSwingModel {
|
||||||
|
// @Bindable String propName
|
||||||
|
}
|
BIN
pit-swing/griffon-app/resources/griffon-icon-128x128.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
pit-swing/griffon-app/resources/griffon-icon-16x16.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
pit-swing/griffon-app/resources/griffon-icon-24x24.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
pit-swing/griffon-app/resources/griffon-icon-256x256.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
pit-swing/griffon-app/resources/griffon-icon-32x32.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
pit-swing/griffon-app/resources/griffon-icon-48x48.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
pit-swing/griffon-app/resources/griffon-icon-64x64.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
pit-swing/griffon-app/resources/griffon.png
Normal file
After Width: | Height: | Size: 15 KiB |
13
pit-swing/griffon-app/views/PitSwingView.groovy
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
application(title:'pit-swing',
|
||||||
|
//size:[320,480],
|
||||||
|
pack:true,
|
||||||
|
//location:[50,50],
|
||||||
|
locationByPlatform:true,
|
||||||
|
iconImage: imageIcon('/griffon-icon-48x48.png').image,
|
||||||
|
iconImages: [imageIcon('/griffon-icon-48x48.png').image,
|
||||||
|
imageIcon('/griffon-icon-32x32.png').image,
|
||||||
|
imageIcon('/griffon-icon-16x16.png').image]
|
||||||
|
) {
|
||||||
|
// add content here
|
||||||
|
label('Content Goes Here') // deleteme
|
||||||
|
}
|
43
pit-swing/pit-swing.iml
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module relativePaths="true" type="GRIFFON_MODULE" version="4">
|
||||||
|
<component name="FacetManager">
|
||||||
|
<facet type="Griffon" name="Griffon">
|
||||||
|
<configuration />
|
||||||
|
</facet>
|
||||||
|
<!--
|
||||||
|
<facet type="Spring" name="Spring">
|
||||||
|
<configuration>
|
||||||
|
<fileset id="Griffon" name="Griffon" removed="false">
|
||||||
|
<file>file://$MODULE_DIR$/web-app/WEB-INF/applicationContext.xml</file>
|
||||||
|
</fileset>
|
||||||
|
</configuration>
|
||||||
|
</facet>
|
||||||
|
-->
|
||||||
|
</component>
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/griffon-app/conf" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/griffon-app/models" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/griffon-app/views" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/griffon-app/controllers" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/griffon-app/lifecycle" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/test/integration" isTestSource="true" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/test/unit" isTestSource="true" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="library" name="Griffon 0.2.1" level="project" />
|
||||||
|
<orderEntry type="module-library">
|
||||||
|
<library name="Griffon User Library">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="file://$MODULE_DIR$/lib" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC />
|
||||||
|
<SOURCES />
|
||||||
|
<jarDirectory url="file://$MODULE_DIR$/lib" recursive="false" />
|
||||||
|
</library>
|
||||||
|
</orderEntry>
|
||||||
|
</component>
|
||||||
|
</module>
|
65
pit-swing/pit-swing.ipr
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project relativePaths="false" version="4">
|
||||||
|
<component name="ProjectFileVersion" converted="true" />
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/pit-swing.iml" filepath="$PROJECT_DIR$/pit-swing.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="1.6" project-jdk-type="JavaSDK">
|
||||||
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
|
</component>
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Griffon 0.2.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar:///usr/share/griffon/lib/swingx-0.9.3.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/swing-worker.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/commons-lang-2.4.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/ant-launcher-1.7.1.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/gant_groovy1.6-1.6.0.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/asm-2.2.3.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/commons-cli-1.0.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/groovy-all-1.6.4.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/swingxbuilder-0.1.6-SNAPSHOT.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/jline-0.9.94.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/svnkit-1.2.0.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/log4j-1.2.15.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/ant-nodeps-1.7.1.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/ant-1.7.1.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/ant-trax-1.7.1.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/commons-logging-1.1.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/ant-junit-1.7.1.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/MultipleGradientPaint.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/spring-2.5.6.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/lib/junit-3.8.2.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/dist/griffon-rt-0.2.1.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/dist/griffon-resources-0.2.1.jar!/" />
|
||||||
|
|
||||||
|
<root url="jar:///usr/share/griffon/dist/griffon-cli-0.2.1.jar!/" />
|
||||||
|
|
||||||
|
|
||||||
|
</CLASSES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
|
</project>
|
65
pit-swing/pit-swing.iws
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project relativePaths="false" version="4">
|
||||||
|
<component name="ProjectPane">
|
||||||
|
<subPane>
|
||||||
|
<PATH>
|
||||||
|
<PATH_ELEMENT>
|
||||||
|
<option name="myItemId" value="pit-swing" />
|
||||||
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
||||||
|
</PATH_ELEMENT>
|
||||||
|
<PATH_ELEMENT>
|
||||||
|
<option name="myItemId" value="pit-swing" />
|
||||||
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
|
||||||
|
</PATH_ELEMENT>
|
||||||
|
<PATH_ELEMENT>
|
||||||
|
<option name="myItemId" value="pit-swing" />
|
||||||
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
||||||
|
</PATH_ELEMENT>
|
||||||
|
</PATH>
|
||||||
|
</subPane>
|
||||||
|
</component>
|
||||||
|
<component name="ProjectView">
|
||||||
|
<navigator currentView="ProjectPane" proportions="0.5" version="1" splitterProportion="0.5">
|
||||||
|
<flattenPackages />
|
||||||
|
<showMembers />
|
||||||
|
<showModules />
|
||||||
|
<showLibraryContents />
|
||||||
|
<hideEmptyPackages />
|
||||||
|
<abbreviatePackageNames />
|
||||||
|
<showStructure ProjectPane="false" />
|
||||||
|
<autoscrollToSource />
|
||||||
|
<autoscrollFromSource />
|
||||||
|
<sortByType />
|
||||||
|
</navigator>
|
||||||
|
</component>
|
||||||
|
<!--
|
||||||
|
<component name="RunManager" selected="Griffon Application.Griffon:pit-swing">
|
||||||
|
<configuration default="false" name="Griffon:pit-swing" type="GriffonRunConfigurationType" factoryName="Griffon Application">
|
||||||
|
<module name="pit-swing" />
|
||||||
|
<setting name="vmparams" value="" />
|
||||||
|
<setting name="griffonparams" value="" />
|
||||||
|
<setting name="hostik" value="localhost" />
|
||||||
|
<setting name="port" value="8080" />
|
||||||
|
<setting name="jndi" value="false" />
|
||||||
|
<setting name="recomp" value="false" />
|
||||||
|
<setting name="recompileFreq" value="3" />
|
||||||
|
<setting name="launchBrowser" value="true" />
|
||||||
|
<RunnerSettings RunnerId="Run" />
|
||||||
|
<ConfigurationWrapper RunnerId="Run" />
|
||||||
|
<method>
|
||||||
|
<option name="Make" value="true" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
<list size="1">
|
||||||
|
<item index="0" class="java.lang.String" itemvalue="Griffon Application.Griffon:pit-swing" />
|
||||||
|
</list>
|
||||||
|
</component>
|
||||||
|
-->
|
||||||
|
<component name="ToolWindowManager">
|
||||||
|
<frame x="10" y="10" width="1260" height="984" extended-state="0" />
|
||||||
|
<editor active="false" />
|
||||||
|
<layout>
|
||||||
|
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25" sideWeight="0.6623068" order="0" side_tool="false" />
|
||||||
|
</layout>
|
||||||
|
</component>
|
||||||
|
</project>
|
20
pit-swing/pit-swing.launch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
|
||||||
|
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
|
||||||
|
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.codehaus.griffon.GriffonMain"/>
|
||||||
|
<booleanAttribute key="org.eclipse.jdt.debug.ui.INCLUDE_EXTERNAL_JARS" value="true"/>
|
||||||
|
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||||
|
<listEntry value="<?xml version="1.0" encoding="UTF-8"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER" javaProject="pit-swing" path="1" type="4"/> "/>
|
||||||
|
<listEntry value="<?xml version="1.0" encoding="UTF-8"?> <runtimeClasspathEntry id="org.eclipse.jdt.launching.classpathentry.defaultClasspath"> <memento exportedEntriesOnly="false" project="pit-swing"/> </runtimeClasspathEntry> "/>
|
||||||
|
<listEntry value="<?xml version="1.0" encoding="UTF-8"?> <runtimeClasspathEntry internalArchive="/pit-swing" path="3" type="2"/> "/>
|
||||||
|
</listAttribute>
|
||||||
|
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||||
|
<listEntry value="4"/>
|
||||||
|
</listAttribute>
|
||||||
|
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="pit-swing"/>
|
||||||
|
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dbase.dir=${project_loc} -Dgriffon.env=development"/>
|
||||||
|
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||||
|
<listEntry value="/pit-swing"/>
|
||||||
|
</listAttribute>
|
||||||
|
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
|
||||||
|
</launchConfiguration>
|
73
pit-swing/pit-swing.tmproj
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>documents</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>filename</key>
|
||||||
|
<string>pit-swing.launch</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>filename</key>
|
||||||
|
<string>build.xml</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>griffon-app</string>
|
||||||
|
<key>regexFolderFilter</key>
|
||||||
|
<string>!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$</string>
|
||||||
|
<key>sourceDirectory</key>
|
||||||
|
<string>griffon-app</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>test</string>
|
||||||
|
<key>regexFolderFilter</key>
|
||||||
|
<string>!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$</string>
|
||||||
|
<key>sourceDirectory</key>
|
||||||
|
<string>test</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>lib</string>
|
||||||
|
<key>regexFolderFilter</key>
|
||||||
|
<string>!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$</string>
|
||||||
|
<key>sourceDirectory</key>
|
||||||
|
<string>lib</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>scripts</string>
|
||||||
|
<key>regexFolderFilter</key>
|
||||||
|
<string>!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$</string>
|
||||||
|
<key>sourceDirectory</key>
|
||||||
|
<string>scripts</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>src</string>
|
||||||
|
<key>regexFolderFilter</key>
|
||||||
|
<string>!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$</string>
|
||||||
|
<key>sourceDirectory</key>
|
||||||
|
<string>src</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>web-app</string>
|
||||||
|
<key>regexFolderFilter</key>
|
||||||
|
<string>!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$</string>
|
||||||
|
<key>sourceDirectory</key>
|
||||||
|
<string>web-app</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>fileHierarchyDrawerWidth</key>
|
||||||
|
<integer>200</integer>
|
||||||
|
<key>metaData</key>
|
||||||
|
<dict/>
|
||||||
|
<key>showFileHierarchyDrawer</key>
|
||||||
|
<true/>
|
||||||
|
<key>windowFrame</key>
|
||||||
|
<string>{{237, 127}, {742, 553}}</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
10
pit-swing/test/integration/PitSwingTests.groovy
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import griffon.util.IGriffonApplication
|
||||||
|
|
||||||
|
class PitSwingTests extends GroovyTestCase {
|
||||||
|
|
||||||
|
IGriffonApplication app
|
||||||
|
|
||||||
|
void testSomething() {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
@ -1,8 +0,0 @@
|
|||||||
app.version=1.0
|
|
||||||
build.dir=build
|
|
||||||
build.jar=pit-${app.version}.jar
|
|
||||||
build.lib.jar=lib${build.jar}
|
|
||||||
groovy.home=/usr/share/groovy
|
|
||||||
lib.dir=lib
|
|
||||||
main.class=com.jdbernard.pit.PersonalIssueTracker
|
|
||||||
src.dir=src
|
|