diff --git a/.hgignore b/.hgignore
index d24d917..93c8481 100644
--- a/.hgignore
+++ b/.hgignore
@@ -3,3 +3,4 @@ build/
dist/
staging/
target/test-reports
+pit-swing-old
diff --git a/pit-swing/.classpath b/pit-swing/.classpath
deleted file mode 100644
index d1b51d8..0000000
--- a/pit-swing/.classpath
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pit-swing/.project b/pit-swing/.project
deleted file mode 100644
index e77c465..0000000
--- a/pit-swing/.project
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
- pit-swing
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.groovy.core.groovyNature
- org.eclipse.jdt.core.javanature
-
-
diff --git a/pit-swing/CHANGE ME b/pit-swing/CHANGE ME
deleted file mode 100644
index d3435ca..0000000
Binary files a/pit-swing/CHANGE ME and /dev/null differ
diff --git a/pit-swing/application.properties b/pit-swing/application.properties
index d0ddff0..b903038 100644
--- a/pit-swing/application.properties
+++ b/pit-swing/application.properties
@@ -1,5 +1,6 @@
-#utf-8
-#Thu May 27 05:01:16 CDT 2010
-app.griffon.version=0.3
+#Griffon Metadata file
+#Thu Aug 05 10:29:59 CDT 2010
+app.archetype=default
+app.griffon.version=0.9
app.name=pit-swing
-app.version=2.5.0
+app.version=0.1
diff --git a/pit-swing/build.xml b/pit-swing/build.xml
deleted file mode 100644
index c11bdd5..0000000
--- a/pit-swing/build.xml
+++ /dev/null
@@ -1,97 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pit-swing/griffon-app/conf/Application.groovy b/pit-swing/griffon-app/conf/Application.groovy
index c5d0675..6bd908b 100644
--- a/pit-swing/griffon-app/conf/Application.groovy
+++ b/pit-swing/griffon-app/conf/Application.groovy
@@ -1,22 +1,33 @@
application {
- title="PitSwing"
- startupGroups=["PIT"]
- autoShutdown=true
+ title = 'PitSwing'
+ startupGroups = ['PIT']
+
+ // 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 {
- NewIssueDialog {
- model="com.jdbernard.pit.swing.NewIssueDialogModel"
- controller="com.jdbernard.pit.swing.NewIssueDialogController"
- view="com.jdbernard.pit.swing.NewIssueDialogView"
- }
- ProjectPanel {
- model="com.jdbernard.pit.swing.ProjectPanelModel"
- view="com.jdbernard.pit.swing.ProjectPanelView"
- controller="com.jdbernard.pit.swing.ProjectPanelController"
- }
- PIT {
- model="com.jdbernard.pit.swing.PITModel"
- view="com.jdbernard.pit.swing.PITView"
- controller="com.jdbernard.pit.swing.PITController"
- }
+ // MVC Group for "ProjectPanel"
+ 'ProjectPanel' {
+ model = 'com.jdbernard.pit.swing.ProjectPanelModel'
+ view = 'com.jdbernard.pit.swing.ProjectPanelView'
+ controller = 'com.jdbernard.pit.swing.ProjectPanelController'
+ }
+
+ // MVC Group for "NewIssueDialog"
+ 'NewIssueDialog' {
+ model = 'com.jdbernard.pit.swing.NewIssueDialogModel'
+ view = 'com.jdbernard.pit.swing.NewIssueDialogView'
+ controller = 'com.jdbernard.pit.swing.NewIssueDialogController'
+ }
+
+ // MVC Group for "PIT"
+ 'PIT' {
+ model = 'com.jdbernard.pit.swing.PITModel'
+ view = 'com.jdbernard.pit.swing.PITView'
+ controller = 'com.jdbernard.pit.swing.PITController'
+ }
+
}
diff --git a/pit-swing/griffon-app/conf/BuildConfig.groovy b/pit-swing/griffon-app/conf/BuildConfig.groovy
new file mode 100644
index 0000000..6c5673b
--- /dev/null
+++ b/pit-swing/griffon-app/conf/BuildConfig.groovy
@@ -0,0 +1,135 @@
+// 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 = []
+ /*
+ props {
+ someProperty = 'someValue'
+ }
+ resources {
+ linux { // windows, macosx, solaris
+ jars = []
+ nativelibs = []
+ props {
+ someProperty = 'someValue'
+ }
+ }
+ }
+ */
+ }
+ webstart {
+ codebase = "${new File(griffon.jars.destDir).toURI().toASCIIString()}"
+ jnlp = 'application.jnlp'
+ }
+ applet {
+ jnlp = 'applet.jnlp'
+ html = 'applet.html'
+ }
+}
+
+// required for custom environments
+signingkey {
+ params {
+ def env = griffon.util.Environment.current.name
+ sigfile = 'GRIFFON-' + env
+ keystore = "${basedir}/griffon-app/conf/keys/${env}Keystore"
+ alias = env
+ // storepass = 'BadStorePassword'
+ // keypass = 'BadKeyPassword'
+ lazy = true // only sign when unsigned
+ }
+}
+
+griffon.project.dependency.resolution = {
+ // inherit Griffon' default dependencies
+ inherits("global") {
+ }
+ log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
+ repositories {
+ griffonPlugins()
+ griffonHome()
+ griffonCentral()
+
+ // uncomment the below to enable remote dependency resolution
+ // from public Maven repositories
+ //mavenLocal()
+ //mavenCentral()
+ //mavenRepo "http://snapshots.repository.codehaus.org"
+ //mavenRepo "http://repository.codehaus.org"
+ //mavenRepo "http://download.java.net/maven/2/"
+ //mavenRepo "http://repository.jboss.com/maven2/"
+ }
+ dependencies {
+ // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
+
+ // runtime 'mysql:mysql-connector-java:5.1.5'
+ }
+}
+
+griffon {
+ doc {
+ logo = '
'
+ sponsorLogo = "
"
+ footer = "
Made with Griffon (0.9)"
+ }
+}
diff --git a/pit-swing/griffon-app/conf/Config.groovy b/pit-swing/griffon-app/conf/Config.groovy
index 40d8bf7..f4318bf 100644
--- a/pit-swing/griffon-app/conf/Config.groovy
+++ b/pit-swing/griffon-app/conf/Config.groovy
@@ -17,78 +17,3 @@ log4j {
}
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'
- }
-}
diff --git a/pit-swing/griffon-app/conf/webstart/applet.html b/pit-swing/griffon-app/conf/webstart/applet.html
index f616be6..1d3b0ec 100644
--- a/pit-swing/griffon-app/conf/webstart/applet.html
+++ b/pit-swing/griffon-app/conf/webstart/applet.html
@@ -12,7 +12,7 @@
codebase:'@griffonAppCodebase@',
code:'@griffonAppletClass@',
archive:'@appletJars@',
- width:'240', height:'320'} ;
+ width:'@applet.width@', height:'@applet.height@'} ;
var parameters = {fontSize:16,
java_arguments: "-Djnlp.packEnabled=true",
jnlp_href:'@griffonAppCodebase@/applet.jnlp',
@@ -20,7 +20,7 @@
image:'griffon.png',
boxmessage:'Loading @griffonAppName@',
boxbgcolor:'#FFFFFF', boxfgcolor:'#000000',
- codebase_lookup: 'false'} ;
+ codebase_lookup: 'false'@applet.script.params@} ;
var version = '1.5.0' ;
deployJava.runApplet(attributes, parameters, version);
@@ -28,7 +28,7 @@
-->