ontomde-demo-struts 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +2 -0
- data/Manifest.txt +33 -0
- data/README.txt +79 -0
- data/Rakefile +22 -0
- data/bin/ontomde-demo-struts-install +11 -0
- data/demo/1-unpack.bat +6 -0
- data/demo/1-unpack.sh +5 -0
- data/demo/2-generate.bat +4 -0
- data/demo/2-generate.sh +5 -0
- data/demo/3-start-webapp.bat +7 -0
- data/demo/3-start-webapp.sh +4 -0
- data/demo/domain/pom.xml +61 -0
- data/demo/mda/clean-generated.sh +24 -0
- data/demo/mda/pom.xml +178 -0
- data/demo/mda/src/main/mda/customDataTypes.rb +5 -0
- data/demo/mda/src/main/mda/dbDiscriminatorCache.rb +74 -0
- data/demo/mda/src/main/mda/javaMapping.rb-notused +302 -0
- data/demo/mda/src/main/mda/mda.rb +0 -0
- data/demo/mda/src/main/model-oe6/Big_Furniture_Shop.ofp +0 -0
- data/demo/mda/src/main/model-oe6/README.txt +4 -0
- data/demo/mda/src/main/model-oe6/model.emx.nt +562 -0
- data/demo/mda/src/main/model/.project +11 -0
- data/demo/mda/src/main/model/model.emx +1779 -0
- data/demo/mda/src/main/model/model.emx.nt +3575 -0
- data/demo/mda/src/main/model/model.emx.nt_kb.pprj +1438 -0
- data/demo/mda/src/main/model/model.emx.nt_kb.rdf +25 -0
- data/demo/mda/src/main/model/model.emx.nt_kb.rdfs +2242 -0
- data/demo/mda/src/main/profil-uml/.project +11 -0
- data/demo/mda/src/main/profil-uml/OntoMDE-profil.epx +419 -0
- data/demo/mda/src/main/resources/formatter.properties +260 -0
- data/demo/pom.xml +102 -0
- data/demo/webapp/pom.xml +119 -0
- data/lib/ontomde-demo-struts.rb +1 -0
- metadata +97 -0
data/demo/pom.xml
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
5
|
+
<modelVersion>4.0.0</modelVersion>
|
6
|
+
|
7
|
+
<parent>
|
8
|
+
<groupId>net.sourceforge.ontomde</groupId>
|
9
|
+
<artifactId>ontomde-pom</artifactId>
|
10
|
+
<version>1.0-SNAPSHOT</version>
|
11
|
+
</parent>
|
12
|
+
|
13
|
+
<groupId>ontomde.sample</groupId>
|
14
|
+
<artifactId>projectbase</artifactId>
|
15
|
+
<packaging>pom</packaging>
|
16
|
+
<name>base</name>
|
17
|
+
<version>1.0-SNAPSHOT</version>
|
18
|
+
<url>http://maven.apache.org</url>
|
19
|
+
<build>
|
20
|
+
<defaultGoal>package</defaultGoal>
|
21
|
+
<plugins>
|
22
|
+
<plugin>
|
23
|
+
<artifactId>maven-surefire-plugin</artifactId>
|
24
|
+
<configuration>
|
25
|
+
<forkMode>never</forkMode>
|
26
|
+
</configuration>
|
27
|
+
</plugin>
|
28
|
+
<plugin>
|
29
|
+
<artifactId>maven-compiler-plugin</artifactId>
|
30
|
+
<configuration>
|
31
|
+
<source>1.5</source>
|
32
|
+
<target>1.5</target>
|
33
|
+
</configuration>
|
34
|
+
</plugin>
|
35
|
+
</plugins>
|
36
|
+
</build>
|
37
|
+
<modules>
|
38
|
+
<module>mda</module>
|
39
|
+
<module>domain</module>
|
40
|
+
<module>webapp</module>
|
41
|
+
<!-- <module>ear</module> -->
|
42
|
+
|
43
|
+
</modules>
|
44
|
+
|
45
|
+
<dependencies>
|
46
|
+
<dependency>
|
47
|
+
<groupId>junit</groupId>
|
48
|
+
<artifactId>junit</artifactId>
|
49
|
+
<version>4.4</version>
|
50
|
+
</dependency>
|
51
|
+
|
52
|
+
|
53
|
+
</dependencies>
|
54
|
+
<properties>
|
55
|
+
<ontomde.lib.version>1.0-SNAPSHOT</ontomde.lib.version>
|
56
|
+
<ontomde.extension>.bat</ontomde.extension>
|
57
|
+
<ontomde.generator.version>1.0.6</ontomde.generator.version>
|
58
|
+
<ontomde.generator.version.underscore>_${ontomde.generator.version}_</ontomde.generator.version.underscore>
|
59
|
+
</properties>
|
60
|
+
<profiles>
|
61
|
+
<profile>
|
62
|
+
<id>mysql</id>
|
63
|
+
<activation>
|
64
|
+
<activeByDefault>true</activeByDefault>
|
65
|
+
<property>
|
66
|
+
<name>db</name>
|
67
|
+
<value>mysql</value>
|
68
|
+
</property>
|
69
|
+
</activation>
|
70
|
+
<properties>
|
71
|
+
<ontomde.jpa.dialect>
|
72
|
+
org.hibernate.dialect.MySQLInnoDBDialect
|
73
|
+
</ontomde.jpa.dialect>
|
74
|
+
</properties>
|
75
|
+
</profile>
|
76
|
+
<profile>
|
77
|
+
<id>postgres</id>
|
78
|
+
<activation>
|
79
|
+
<property>
|
80
|
+
<name>db</name>
|
81
|
+
<value>postgres</value>
|
82
|
+
</property>
|
83
|
+
</activation>
|
84
|
+
<properties>
|
85
|
+
<ontomde.jpa.dialect>
|
86
|
+
org.hibernate.dialect.PostgreSQLDialect
|
87
|
+
</ontomde.jpa.dialect>
|
88
|
+
</properties>
|
89
|
+
</profile>
|
90
|
+
|
91
|
+
|
92
|
+
</profiles>
|
93
|
+
<repositories>
|
94
|
+
<repository>
|
95
|
+
<id>snapshot.ontomde.sourceforge.net</id>
|
96
|
+
<name>Ontomde snapshot repository</name>
|
97
|
+
<url>http://ontomde.sourceforge.net/2008/maven2-snaps</url>
|
98
|
+
<layout>default</layout>
|
99
|
+
</repository>
|
100
|
+
</repositories>
|
101
|
+
</project>
|
102
|
+
|
data/demo/webapp/pom.xml
ADDED
@@ -0,0 +1,119 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><project>
|
2
|
+
<parent>
|
3
|
+
<artifactId>projectbase</artifactId>
|
4
|
+
<groupId>ontomde.sample</groupId>
|
5
|
+
<version>1.0-SNAPSHOT</version>
|
6
|
+
</parent>
|
7
|
+
<modelVersion>4.0.0</modelVersion>
|
8
|
+
<artifactId>webapp</artifactId>
|
9
|
+
<packaging>war</packaging>
|
10
|
+
<name>webapp</name>
|
11
|
+
<url>http://maven.apache.org</url>
|
12
|
+
<build>
|
13
|
+
<finalName>${pom.artifactId}</finalName>
|
14
|
+
<plugins>
|
15
|
+
<plugin>
|
16
|
+
<groupId>org.apache.maven.plugins</groupId>
|
17
|
+
<artifactId>maven-dependency-plugin</artifactId>
|
18
|
+
<configuration>
|
19
|
+
<artifactItems>
|
20
|
+
<artifactItem>
|
21
|
+
<groupId>net.sourceforge.ontomde</groupId>
|
22
|
+
<artifactId>ontomde-webapp-resources</artifactId>
|
23
|
+
<version>${pom.version}</version>
|
24
|
+
<outputDirectory>${basedir}</outputDirectory>
|
25
|
+
</artifactItem>
|
26
|
+
</artifactItems>
|
27
|
+
<!-- other configurations here -->
|
28
|
+
</configuration>
|
29
|
+
</plugin>
|
30
|
+
|
31
|
+
<plugin>
|
32
|
+
<groupId>org.mortbay.jetty</groupId>
|
33
|
+
<artifactId>maven-jetty-plugin</artifactId>
|
34
|
+
<version>6.1H.5-beta</version>
|
35
|
+
</plugin>
|
36
|
+
<plugin>
|
37
|
+
<artifactId>maven-war-plugin</artifactId>
|
38
|
+
<configuration>
|
39
|
+
<archive>
|
40
|
+
<addMavenDescriptor>false</addMavenDescriptor>
|
41
|
+
<manifest>
|
42
|
+
<addClasspath>true</addClasspath>
|
43
|
+
</manifest>
|
44
|
+
</archive>
|
45
|
+
</configuration>
|
46
|
+
</plugin>
|
47
|
+
</plugins>
|
48
|
+
</build>
|
49
|
+
<dependencies>
|
50
|
+
<dependency>
|
51
|
+
<groupId>${pom.groupId}</groupId>
|
52
|
+
<artifactId>domain</artifactId>
|
53
|
+
<version>${pom.version}</version>
|
54
|
+
</dependency>
|
55
|
+
<dependency>
|
56
|
+
<groupId>net.sourceforge.ontomde</groupId>
|
57
|
+
<artifactId>ontomde-webapp-libs</artifactId>
|
58
|
+
<version>${pom.version}</version>
|
59
|
+
</dependency>
|
60
|
+
|
61
|
+
<dependency>
|
62
|
+
<groupId>net.sourceforge.ontomde</groupId>
|
63
|
+
<artifactId>ontomde-graph</artifactId>
|
64
|
+
<version>${pom.version}</version>
|
65
|
+
</dependency>
|
66
|
+
|
67
|
+
<dependency>
|
68
|
+
<groupId>javax.servlet</groupId>
|
69
|
+
<artifactId>servlet-api</artifactId>
|
70
|
+
<version>2.5</version>
|
71
|
+
<scope>provided</scope>
|
72
|
+
</dependency>
|
73
|
+
<dependency>
|
74
|
+
<groupId>org.springframework</groupId>
|
75
|
+
<artifactId>spring</artifactId>
|
76
|
+
<version>2.0.7</version>
|
77
|
+
<exclusions>
|
78
|
+
<exclusion>
|
79
|
+
<artifactId>jgroups-all</artifactId>
|
80
|
+
<groupId>jgroups</groupId>
|
81
|
+
</exclusion>
|
82
|
+
<exclusion>
|
83
|
+
<artifactId>oscache</artifactId>
|
84
|
+
<groupId>opensymphony</groupId>
|
85
|
+
</exclusion>
|
86
|
+
</exclusions>
|
87
|
+
</dependency>
|
88
|
+
<dependency>
|
89
|
+
<groupId>org.hibernate</groupId>
|
90
|
+
<artifactId>hibernate-entitymanager</artifactId>
|
91
|
+
<version>3.3.1.ga</version>
|
92
|
+
</dependency>
|
93
|
+
<dependency>
|
94
|
+
<groupId>org.hibernate</groupId>
|
95
|
+
<artifactId>hibernate</artifactId>
|
96
|
+
<version>3.2.5.ga</version>
|
97
|
+
</dependency>
|
98
|
+
<dependency>
|
99
|
+
<groupId>org.hibernate</groupId>
|
100
|
+
<artifactId>hibernate-annotations</artifactId>
|
101
|
+
<version>3.3.0.ga</version>
|
102
|
+
</dependency>
|
103
|
+
<dependency>
|
104
|
+
<groupId>c3p0</groupId>
|
105
|
+
<artifactId>c3p0</artifactId>
|
106
|
+
<version>0.9.1.2</version>
|
107
|
+
</dependency>
|
108
|
+
<dependency>
|
109
|
+
<groupId>concurrent</groupId>
|
110
|
+
<artifactId>concurrent</artifactId>
|
111
|
+
<version>1.3.4</version>
|
112
|
+
</dependency>
|
113
|
+
<dependency>
|
114
|
+
<groupId>org.apache.derby</groupId>
|
115
|
+
<artifactId>derby</artifactId>
|
116
|
+
<version>10.3.1.4</version>
|
117
|
+
</dependency>
|
118
|
+
</dependencies>
|
119
|
+
</project>
|
@@ -0,0 +1 @@
|
|
1
|
+
#
|
metadata
ADDED
@@ -0,0 +1,97 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ontomde-demo-struts
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.6
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Stephane (Pierre) Carrie
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-03-25 00:00:00 +01:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: ontomde-redland-win
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - "="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.0.3
|
23
|
+
version:
|
24
|
+
description: "This is a demonstration project for our acegi integration == FEATURES: Generates a webapp with built in security: * Authentification * Access rights based on declared groups and roles. * Access rights based on runtime rules. Security provided by this demonstration is fully customisable."
|
25
|
+
email: stephanepierre.carrie@orange-ftgroup.com
|
26
|
+
executables:
|
27
|
+
- ontomde-demo-struts-install
|
28
|
+
extensions: []
|
29
|
+
|
30
|
+
extra_rdoc_files:
|
31
|
+
- demo/mda/src/main/model-oe6/README.txt
|
32
|
+
- History.txt
|
33
|
+
- Manifest.txt
|
34
|
+
- README.txt
|
35
|
+
files:
|
36
|
+
- bin/ontomde-demo-struts-install
|
37
|
+
- demo/1-unpack.bat
|
38
|
+
- demo/1-unpack.sh
|
39
|
+
- demo/2-generate.bat
|
40
|
+
- demo/2-generate.sh
|
41
|
+
- demo/3-start-webapp.bat
|
42
|
+
- demo/3-start-webapp.sh
|
43
|
+
- demo/domain/pom.xml
|
44
|
+
- demo/mda/clean-generated.sh
|
45
|
+
- demo/mda/pom.xml
|
46
|
+
- demo/mda/src/main/mda/customDataTypes.rb
|
47
|
+
- demo/mda/src/main/mda/dbDiscriminatorCache.rb
|
48
|
+
- demo/mda/src/main/mda/javaMapping.rb-notused
|
49
|
+
- demo/mda/src/main/mda/mda.rb
|
50
|
+
- demo/mda/src/main/model/.project
|
51
|
+
- demo/mda/src/main/model/model.emx
|
52
|
+
- demo/mda/src/main/model/model.emx.nt
|
53
|
+
- demo/mda/src/main/model/model.emx.nt_kb.pprj
|
54
|
+
- demo/mda/src/main/model/model.emx.nt_kb.rdf
|
55
|
+
- demo/mda/src/main/model/model.emx.nt_kb.rdfs
|
56
|
+
- demo/mda/src/main/model-oe6/Big_Furniture_Shop.ofp
|
57
|
+
- demo/mda/src/main/model-oe6/model.emx.nt
|
58
|
+
- demo/mda/src/main/model-oe6/README.txt
|
59
|
+
- demo/mda/src/main/profil-uml/.project
|
60
|
+
- demo/mda/src/main/profil-uml/OntoMDE-profil.epx
|
61
|
+
- demo/mda/src/main/resources/formatter.properties
|
62
|
+
- demo/pom.xml
|
63
|
+
- demo/webapp/pom.xml
|
64
|
+
- History.txt
|
65
|
+
- lib/ontomde-demo-struts.rb
|
66
|
+
- Manifest.txt
|
67
|
+
- Rakefile
|
68
|
+
- README.txt
|
69
|
+
has_rdoc: true
|
70
|
+
homepage: http://ontomde.rubyforge.org
|
71
|
+
post_install_message:
|
72
|
+
rdoc_options:
|
73
|
+
- --main
|
74
|
+
- README.txt
|
75
|
+
require_paths:
|
76
|
+
- lib
|
77
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: 1.8.6
|
82
|
+
version:
|
83
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: 1.0.0
|
88
|
+
version:
|
89
|
+
requirements: []
|
90
|
+
|
91
|
+
rubyforge_project: ontomde
|
92
|
+
rubygems_version: 1.0.1
|
93
|
+
signing_key:
|
94
|
+
specification_version: 2
|
95
|
+
summary: Ontomde demonstration for struts module
|
96
|
+
test_files: []
|
97
|
+
|