Skip to content

Commit 903a544

Browse files
author
kinyelo
committed
Moved to trunk.
0 parents  commit 903a544

File tree

322 files changed

+38409
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

322 files changed

+38409
-0
lines changed

.classpath

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
4+
<classpathentry kind="src" path="src/test/resources"/>
5+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
6+
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
7+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
8+
<classpathentry kind="con" path="com.google.appengine.eclipse.core.GAE_CONTAINER"/>
9+
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
10+
<classpathentry kind="output" path="target/classes"/>
11+
</classpath>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType">
3+
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="false"/>
4+
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_DISABLED_BUILDER" value="com.google.appengine.eclipse.core.enhancerbuilder"/>
5+
<mapAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"/>
6+
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
7+
</launchConfiguration>

.project

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>vosaocms-sas</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.wst.common.project.facet.core.builder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.jdt.core.javabuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
20+
<triggers>full,incremental,</triggers>
21+
<arguments>
22+
<dictionary>
23+
<key>LaunchConfigHandle</key>
24+
<value>&lt;project&gt;/.externalToolBuilders/com.google.appengine.eclipse.core.enhancerbuilder.launch</value>
25+
</dictionary>
26+
</arguments>
27+
</buildCommand>
28+
<buildCommand>
29+
<name>com.google.appengine.eclipse.core.projectValidator</name>
30+
<arguments>
31+
</arguments>
32+
</buildCommand>
33+
<buildCommand>
34+
<name>com.google.gdt.eclipse.core.webAppProjectValidator</name>
35+
<arguments>
36+
</arguments>
37+
</buildCommand>
38+
<buildCommand>
39+
<name>org.maven.ide.eclipse.maven2Builder</name>
40+
<arguments>
41+
</arguments>
42+
</buildCommand>
43+
</buildSpec>
44+
<natures>
45+
<nature>org.maven.ide.eclipse.maven2Nature</nature>
46+
<nature>org.eclipse.jdt.core.javanature</nature>
47+
<nature>com.google.appengine.eclipse.core.gaeNature</nature>
48+
<nature>com.google.gdt.eclipse.core.webAppNature</nature>
49+
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
50+
</natures>
51+
</projectDescription>

.settings/.jsdtscope

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
4+
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
5+
<attributes>
6+
<attribute name="hide" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
10+
<classpathentry kind="output" path=""/>
11+
</classpath>

.settings/org.eclipse.jdt.core.prefs

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#Mon Aug 24 20:15:39 EEST 2009
2+
eclipse.preferences.version=1
3+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
4+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
5+
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
6+
org.eclipse.jdt.core.compiler.compliance=1.6
7+
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
8+
org.eclipse.jdt.core.compiler.debug.localVariable=generate
9+
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
10+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
11+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
12+
org.eclipse.jdt.core.compiler.source=1.6
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project-modules id="moduleCoreId" project-version="1.5.0">
3+
<wb-module deploy-name="m2">
4+
<wb-resource deploy-path="/" source-path="/src/main/webapp"/>
5+
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
6+
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
7+
<property name="context-root" value="m2"/>
8+
<property name="java-output-path"/>
9+
</wb-module>
10+
</project-modules>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<faceted-project>
3+
<installed facet="jst.java" version="5.0"/>
4+
<installed facet="jst.web" version="2.5"/>
5+
</faceted-project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Window

.settings/org.maven.ide.eclipse.prefs

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#Thu Aug 13 13:53:03 EEST 2009
2+
activeProfiles=
3+
eclipse.preferences.version=1
4+
fullBuildGoals=process-test-resources
5+
includeModules=false
6+
resolveWorkspaceProjects=true
7+
resourceFilterGoals=process-resources resources\:testResources
8+
skipCompilerPlugin=true
9+
version=1

ant-macros.xml

+106
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
<!--
2+
This file contains useful Ant definitions for users of App Engine.
3+
To use these macrodefs and taskdefs, import the file into your own build.xml:
4+
5+
<property name="appengine.sdk.dir" location="/some_dir/appengine-java-sdk-trunk"/>
6+
<import file="${appengine.sdk.dir}/config/user/ant-macros.xml"/>
7+
8+
For example uses of the macros, see the template project's build.xml.
9+
-->
10+
<project name="appengine-ant-macros">
11+
12+
<property file="ant.properties" />
13+
<property name="appengine.tools.classpath"
14+
location="${appengine.sdk.home}/lib/appengine-tools-api.jar"/>
15+
16+
<!--
17+
A macrodef for dev_appserver. Use like:
18+
19+
<dev_appserver war="${war}"/>
20+
-->
21+
<macrodef name="dev_appserver" description="Runs the App Engine Development App Server">
22+
<attribute name="war" description="The exploded war directory containing the application"/>
23+
<attribute name="port" default="8080" description="The port the server starts on"/>
24+
<attribute name="address" default="localhost" description="The interface the server binds to"/>
25+
<element name="options" optional="true" description="Additional options for dev_appserver"/>
26+
<element name="args" optional="true" description="Additional arguments for the java task"/>
27+
28+
<sequential>
29+
<java classname="com.google.appengine.tools.KickStart"
30+
classpath="${appengine.tools.classpath}"
31+
fork="true" failonerror="true">
32+
<arg value="com.google.appengine.tools.development.DevAppServerMain"/>
33+
<arg value="--port=@{port}"/>
34+
<arg value="--address=@{address}"/>
35+
<options/>
36+
<arg value="@{war}"/>
37+
<args/>
38+
</java>
39+
</sequential>
40+
</macrodef>
41+
42+
<!--
43+
A macrodef for appcfg. Use like:
44+
45+
<appcfg action="update" war="${war}"/>
46+
47+
-->
48+
<macrodef name="appcfg" description="Manages an application">
49+
<attribute name="war" description="The exploded war directory containing the application"/>
50+
<attribute name="action" description="One of (update, rollback, update_indexes, request_logs)"/>
51+
<element name="options" optional="true" description="Options for appcfg (such as --server, --num_days, etc...)"/>
52+
<element name="args" optional="true" description="Additional arguments for the java task"/>
53+
54+
<sequential>
55+
<java classname="com.google.appengine.tools.admin.AppCfg"
56+
classpath="${appengine.tools.classpath}"
57+
fork="true" failonerror="true">
58+
<arg value="--disable_prompt"/>
59+
<options/>
60+
<arg value="@{action}"/>
61+
<arg value="@{war}"/>
62+
<args/>
63+
</java>
64+
</sequential>
65+
</macrodef>
66+
67+
<!--
68+
A taskdef for ORM enhancement. Use like:
69+
70+
<enhance failonerror="true">
71+
<classpath>
72+
<pathelement path="${appengine.tools.classpath}"/>
73+
<pathelement path="@{war}/WEB-INF/classes"/>
74+
<fileset dir="@{war}/WEB-INF/lib" includes="*.jar"/>
75+
</classpath>
76+
<fileset dir="@{war}/WEB-INF/classes" includes="**/*.class"/>
77+
</enhance>
78+
79+
Alternatively, use the <enhance_war/> macrodef below.
80+
-->
81+
<taskdef name="enhance"
82+
classpath="${appengine.tools.classpath}"
83+
classname="com.google.appengine.tools.enhancer.EnhancerTask"/>
84+
85+
<!--
86+
A macrodef for ORM enhancement for a war. Use like:
87+
88+
<enhance_war war="${war}"/>
89+
-->
90+
<macrodef name="enhance_war" description="Run the ORM enhancer on an exploded war">
91+
<attribute name="war" description="The exploded war directory containing the application"/>
92+
<element name="args" optional="true" description="Additional arguments to the enhancer"/>
93+
<sequential>
94+
<!--enhance failonerror="true">
95+
<args/>
96+
<classpath>
97+
<pathelement path="${appengine.tools.classpath}"/>
98+
<pathelement path="@{war}/WEB-INF/classes"/>
99+
<fileset dir="@{war}/WEB-INF/lib" includes="*.jar"/>
100+
</classpath>
101+
<fileset dir="@{war}/WEB-INF/classes" includes="**/*.class"/>
102+
</enhance-->
103+
</sequential>
104+
</macrodef>
105+
106+
</project>

ant.properties

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Provide App Enigne SDK location here
2+
appengine.sdk.home=/opt/gae

build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mvn clean package

build.xml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<project name="Guestbook" default="datanucleusenhance">
2+
<import file="ant-macros.xml"/>
3+
<property name="sdk.dir" location="${appengine.sdk.home}"/>
4+
<property name="war.dir" value="target/vosaocms"/>
5+
6+
<target name="datanucleusenhance" description="Performs JDO enhancement on compiled data classes.">
7+
<enhance_war war="${war.dir}"/>
8+
</target>
9+
10+
<target name="runserver" depends="datanucleusenhance" description="Starts the development server.">
11+
<!--many developer's workstation using port 8080, change the default port -->
12+
<dev_appserver war="${war.dir}" port="9000"/>
13+
</target>
14+
15+
<target name="update" depends="datanucleusenhance" description="Uploads the application to App Engine.">
16+
<appcfg action="update" war="${war.dir}"/>
17+
</target>
18+
19+
<target name="update_indexes" depends="datanucleusenhance"
20+
description="Uploads just the datastore index configuration to App Engine.">
21+
<appcfg action="update_indexes" war="${war.dir}"/>
22+
</target>
23+
24+
<target name="rollback" depends="datanucleusenhance"
25+
description="Rolls back an interrupted application update.">
26+
<appcfg action="rollback" war="${war.dir}"/>
27+
</target>
28+
29+
<target name="request_logs"
30+
description="Downloads log data from App Engine for the application.">
31+
<appcfg action="request_logs" war="${war.dir}">
32+
<options>
33+
<arg value="--num_days=5"/>
34+
</options>
35+
<args>
36+
<arg value="logs.txt"/>
37+
</args>
38+
</appcfg>
39+
</target>
40+
41+
</project>

clean.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mvn clean

make.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mvn package

0 commit comments

Comments
 (0)