Skip to content

Commit

Permalink
Updates for Griffon 0.9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Apr 2, 2012
1 parent 8671e6f commit 77d20a1
Show file tree
Hide file tree
Showing 10 changed files with 59 additions and 119 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
target
2 changes: 1 addition & 1 deletion JeuclidGriffonAddon.groovy
@@ -1,5 +1,5 @@
/*
* Copyright 2011 the original author or authors.
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
59 changes: 41 additions & 18 deletions JeuclidGriffonPlugin.groovy
@@ -1,5 +1,5 @@
/*
* Copyright 2011 the original author or authors.
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -18,31 +18,54 @@
*/
class JeuclidGriffonPlugin {
// the plugin version
def version = "0.1"
String version = '0.2'
// the version or versions of Griffon the plugin is designed for
def griffonVersion = '0.9.3 > *'
String griffonVersion = '0.9.5 > *'
// the other plugins this plugin depends on
def dependsOn = [:]
Map dependsOn = [swing: '0.9.5']
// resources that are included in plugin packaging
def pluginIncludes = []
List pluginIncludes = []
// the plugin license
def license = 'Apache Software License 2.0'
String license = 'Apache Software License 2.0'
// Toolkit compatibility. No value means compatible with all
// Valid values are: swing, javafx, swt, pivot, gtk
def toolkits = ['swing']
List toolkits = ['swing']
// Platform compatibility. No value means compatible with all
// Valid values are:
// linux, linux64, windows, windows64, macosx, macosx64, solaris
def platforms = []

def author = 'Andres Almiray'
def authorEmail = 'aalmiray@users.sourceforge.net'
def title = 'MathML renderer'
def description = '''
MathML renderer
http://jeuclid.sourceforge.net
'''
List platforms = []
// URL where documentation can be found
String documentation = ''
// URL where source can be found
String source = 'https://github.com/griffon/griffon-jeuclid-plugin'

List authors = [
[
name: 'Andres Almiray',
email: 'aalmiray@yahoo.com'
]
]
String title = 'MathML Renderer'
String description = '''
A MathML rendering plugin via [JEuclid][1].
Usage
-----
The following nodes will become available on a View script upon installing this plugin
| *Node* | *Type* |
| ----------- | ---------------------------------------------- |
| mathMLViewer| `net.sourceforge.jeuclid.swing.JMathComponent` |
// URL to the plugin's documentation
def documentation = 'http://griffon.codehaus.org/Jeuclid+Plugin'
### Example
A sample application is available at [https://github.com/aalmiray/griffon_sample_apps/tree/master/misc/jeuclid][2].
It reproduces the 7 examples available from the JEuclid project site.
[1]: http://jeuclid.sourceforge.net/index.html
[2]: https://github.com/aalmiray/griffon_sample_apps/tree/master/misc/jeuclid
'''
}

5 changes: 3 additions & 2 deletions application.properties
@@ -1,4 +1,5 @@
#Griffon Metadata file
#Wed Aug 17 10:48:49 CEST 2011
app.griffon.version=0.9.3
#Mon Apr 02 21:59:42 CEST 2012
app.griffon.version=0.9.5-rc2
app.name=jeuclid
plugins.swing=0.9.5
16 changes: 13 additions & 3 deletions griffon-app/conf/BuildConfig.groovy
Expand Up @@ -2,9 +2,7 @@ griffon.project.dependency.resolution = {
inherits "global"
log "warn"
repositories {
griffonPlugins()
griffonHome()
griffonCentral()
mavenCentral()
}
dependencies {
Expand Down Expand Up @@ -33,4 +31,16 @@ griffon {
}
}

griffon.jars.destDir='target/addon'
log4j = {
// Example of changing the log pattern for the default console
// appender:
appenders {
console name: 'stdout', layout: pattern(conversionPattern: '%d [%t] %-5p %c - %m%n')
}

error 'org.codehaus.griffon',
'org.springframework',
'org.apache.karaf',
'groovyx.net'
warn 'griffon'
}
Binary file removed griffon-jeuclid-0.1.zip
Binary file not shown.
14 changes: 0 additions & 14 deletions plugin.xml

This file was deleted.

31 changes: 0 additions & 31 deletions scripts/_Events.groovy

This file was deleted.

25 changes: 0 additions & 25 deletions scripts/_Install.groovy

This file was deleted.

25 changes: 0 additions & 25 deletions scripts/_Uninstall.groovy

This file was deleted.

0 comments on commit 77d20a1

Please sign in to comment.