Permalink
Browse files

Replaced by top-level archetype project.

  • Loading branch information...
1 parent 287a056 commit 1fb59e8d061ccae5882bb4de0d55a18c3e4bc9b4 @samskivert samskivert committed Sep 6, 2011
Showing with 0 additions and 1,137 deletions.
  1. +0 −30 tools/archetype/pom.xml
  2. +0 −116 tools/archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
  3. +0 −2 tools/archetype/src/main/resources/archetype-resources/android/.gitignore
  4. +0 −23 tools/archetype/src/main/resources/archetype-resources/android/AndroidManifest.xml
  5. +0 −15 tools/archetype/src/main/resources/archetype-resources/android/default.properties
  6. +0 −20 tools/archetype/src/main/resources/archetype-resources/android/hello-android.launch
  7. +0 −34 tools/archetype/src/main/resources/archetype-resources/android/proguard.cfg
  8. BIN tools/archetype/src/main/resources/archetype-resources/android/res/drawable-hdpi/icon.png
  9. BIN tools/archetype/src/main/resources/archetype-resources/android/res/drawable-ldpi/icon.png
  10. BIN tools/archetype/src/main/resources/archetype-resources/android/res/drawable-mdpi/icon.png
  11. +0 −7 tools/archetype/src/main/resources/archetype-resources/android/res/values/strings.xml
  12. +0 −33 .../archetype-resources/android/src/__packageInPathFormat__/android/__ProjectName__GameActivity.java
  13. +0 −2 tools/archetype/src/main/resources/archetype-resources/core/.gitignore
  14. +0 −20 tools/archetype/src/main/resources/archetype-resources/core/__ProjectName__html.launch
  15. +0 −11 tools/archetype/src/main/resources/archetype-resources/core/__ProjectName__java.launch
  16. +0 −48 tools/archetype/src/main/resources/archetype-resources/core/pom.xml
  17. +0 −28 ...e/src/main/resources/archetype-resources/core/src/__packageInPathFormat__/__ProjectName__.gwt.xml
  18. +0 −28 .../main/resources/archetype-resources/core/src/__packageInPathFormat__/__ProjectName__Flash.gwt.xml
  19. +0 −59 ...s/archetype/src/main/resources/archetype-resources/core/src/__packageInPathFormat__/core/Pea.java
  20. +0 −94 ...main/resources/archetype-resources/core/src/__packageInPathFormat__/core/__ProjectName__Game.java
  21. +0 −36 ...esources/archetype-resources/core/src/__packageInPathFormat__/flash/__ProjectName__GameFlash.java
  22. +0 −37 .../resources/archetype-resources/core/src/__packageInPathFormat__/html/__ProjectName__GameHtml.java
  23. +0 −34 .../resources/archetype-resources/core/src/__packageInPathFormat__/java/__ProjectName__GameJava.java
  24. BIN ...e/src/main/resources/archetype-resources/core/src/__packageInPathFormat__/resources/images/bg.png
  25. BIN .../src/main/resources/archetype-resources/core/src/__packageInPathFormat__/resources/images/pea.png
  26. +0 −2 tools/archetype/src/main/resources/archetype-resources/core/war/.gitignore
  27. +0 −3 tools/archetype/src/main/resources/archetype-resources/core/war/WEB-INF/.gitignore
  28. +0 −17 tools/archetype/src/main/resources/archetype-resources/core/war/WEB-INF/web.xml
  29. +0 −27 tools/archetype/src/main/resources/archetype-resources/core/war/__ProjectName__Game.html
  30. +0 −28 tools/archetype/src/main/resources/archetype-resources/core/war/__ProjectName__GameFlash.html
  31. +0 −118 tools/archetype/src/main/resources/archetype-resources/maven/flash/pom.xml
  32. +0 −68 tools/archetype/src/main/resources/archetype-resources/maven/html/pom.xml
  33. +0 −190 tools/archetype/src/main/resources/archetype-resources/pom.xml
  34. +0 −6 tools/archetype/src/test/resources/projects/basic/archetype.properties
  35. 0 tools/archetype/src/test/resources/projects/basic/goal.txt
  36. +0 −1 tools/generate_sample.sh
View
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>com.googlecode.playn</groupId>
- <artifactId>playn-sample-archetype</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>maven-archetype</packaging>
-
- <name>playn-sample-archetype</name>
-
- <build>
- <extensions>
- <extension>
- <groupId>org.apache.maven.archetype</groupId>
- <artifactId>archetype-packaging</artifactId>
- <version>2.0</version>
- </extension>
- </extensions>
-
- <pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-archetype-plugin</artifactId>
- <version>2.0</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
@@ -1,116 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archetype-descriptor xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0 http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd" name="playn-sample-archetype"
- xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <requiredProperties>
- <requiredProperty key="ProjectName">
- <defaultValue>Hello</defaultValue>
- </requiredProperty>
- </requiredProperties>
- <fileSets>
- <fileSet filtered="true" encoding="UTF-8">
- <directory>android</directory>
- <includes>
- <include>**/*.project</include>
- <include>**/*.xml</include>
- <include>**/*.properties</include>
- <include>**/*.classpath</include>
- </includes>
- </fileSet>
- <fileSet filtered="true" encoding="UTF-8">
- <directory>android/src</directory>
- <includes>
- <include>**/*.java</include>
- </includes>
- </fileSet>
- <fileSet filtered="true" encoding="UTF-8">
- <directory>android/res</directory>
- <includes>
- <include>**/*.xml</include>
- </includes>
- </fileSet>
- <fileSet filtered="true" encoding="UTF-8">
- <directory>android/gen</directory>
- <includes>
- <include>**/*.java</include>
- </includes>
- </fileSet>
- <fileSet encoding="UTF-8">
- <directory>android</directory>
- <includes>
- <include>**/*.launch</include>
- <include>**/*.cfg</include>
- <include>**/*.gitignore</include>
- </includes>
- </fileSet>
- <fileSet encoding="UTF-8">
- <directory>android/res</directory>
- <includes>
- <include>**/*.png</include>
- </includes>
- </fileSet>
- </fileSets>
- <modules>
- <module id="playn-hello-core" dir="core" name="playn-hello-core">
- <fileSets>
- <fileSet filtered="true" encoding="UTF-8" packaged="false">
- <directory>src/__packageInPathFormat__</directory>
- <includes>
- <include>**/*.xml</include>
- <include>**/*.java</include>
- </includes>
- <excludes>
- <exclude>**/*.png</exclude>
- </excludes>
- </fileSet>
- <fileSet filtered="true" encoding="UTF-8">
- <directory>war</directory>
- <includes>
- <include>**/*.html</include>
- </includes>
- </fileSet>
- <fileSet filtered="true" encoding="UTF-8">
- <directory>war/WEB-INF</directory>
- <includes>
- <include>**/*.xml</include>
- </includes>
- </fileSet>
- <fileSet encoding="UTF-8">
- <directory>src/__packageInPathFormat__</directory>
- <includes>
- <include>**/*.png</include>
- </includes>
- </fileSet>
- <fileSet encoding="UTF-8">
- <directory>war</directory>
- <includes>
- <include>**/*.gitignore</include>
- </includes>
- </fileSet>
- <fileSet encoding="UTF-8">
- <directory>war/WEB-INF</directory>
- <includes>
- <include>**/*.gitignore</include>
- </includes>
- </fileSet>
- <fileSet filtered="true" encoding="UTF-8">
- <directory></directory>
- <includes>
- <include>.classpath</include>
- <include>.project</include>
- </includes>
- </fileSet>
- <fileSet encoding="UTF-8">
- <directory></directory>
- <includes>
- <include>.gitignore</include>
- <include>hello-html.launch</include>
- <include>hello-java.launch</include>
- </includes>
- </fileSet>
- </fileSets>
- </module>
- <module id="playn-hello-html" dir="html" name="playn-hello-html" />
- <module id="playn-hello-flash" dir="flash" name="playn-hello-flash" />
- </modules>
-</archetype-descriptor>
@@ -1,23 +0,0 @@
-#set( $symbol_pound = '#' )
-#set( $symbol_dollar = '$' )
-#set( $symbol_escape = '\' )
-<?xml version="${version}" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="${package}.android"
- android:screenOrientation="landscape"
- android:versionCode="1"
- android:versionName="${version}">
- <application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true">
- <activity android:name="${ProjectName}GameActivity"
- android:label="@string/app_name"
- android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
- <intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.LAUNCHER" />
- </intent-filter>
- </activity>
-
- </application>
-
-
-</manifest>
@@ -1,15 +0,0 @@
-#set( $symbol_pound = '#' )
-#set( $symbol_dollar = '$' )
-#set( $symbol_escape = '\' )
-${symbol_pound} This file is automatically generated by Android Tools.
-${symbol_pound} Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-${symbol_pound}
-${symbol_pound} This file must be checked in Version Control Systems.
-${symbol_pound}
-${symbol_pound} To customize properties used by the Ant build system use,
-${symbol_pound} "build.properties", and override values to adapt the script to your
-${symbol_pound} project structure.
-
-${symbol_pound} Project target.
-target=android-9
-android.library.reference.1=../../../android
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<launchConfiguration type="com.android.ide.eclipse.adt.debug.LaunchConfigType">
-<intAttribute key="com.android.ide.eclipse.adt.action" value="0"/>
-<stringAttribute key="com.android.ide.eclipse.adt.commandline" value=""/>
-<intAttribute key="com.android.ide.eclipse.adt.delay" value="0"/>
-<booleanAttribute key="com.android.ide.eclipse.adt.nobootanim" value="false"/>
-<intAttribute key="com.android.ide.eclipse.adt.speed" value="0"/>
-<booleanAttribute key="com.android.ide.eclipse.adt.target" value="false"/>
-<booleanAttribute key="com.android.ide.eclipse.adt.wipedata" value="false"/>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
-<listEntry value="/${ProjectName}-android"/>
-<listEntry value="/${ProjectName}-android/AndroidManifest.xml"/>
-</listAttribute>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
-<listEntry value="4"/>
-<listEntry value="1"/>
-</listAttribute>
-<booleanAttribute key="org.eclipse.jdt.launching.ALLOW_TERMINATE" value="true"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="${ProjectName}-android"/>
-</launchConfiguration>
@@ -1,34 +0,0 @@
--optimizationpasses 5
--dontusemixedcaseclassnames
--dontskipnonpubliclibraryclasses
--dontpreverify
--verbose
--optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-
--keep public class * extends android.app.Activity
--keep public class * extends android.app.Application
--keep public class * extends android.app.Service
--keep public class * extends android.content.BroadcastReceiver
--keep public class * extends android.content.ContentProvider
--keep public class com.android.vending.licensing.ILicensingService
-
--keepclasseswithmembernames class * {
- native <methods>;
-}
-
--keepclasseswithmembernames class * {
- public <init>(android.content.Context, android.util.AttributeSet);
-}
-
--keepclasseswithmembernames class * {
- public <init>(android.content.Context, android.util.AttributeSet, int);
-}
-
--keepclassmembers enum * {
- public static **[] values();
- public static ** valueOf(java.lang.String);
-}
-
--keep class * implements android.os.Parcelable {
- public static final android.os.Parcelable$Creator *;
-}
@@ -1,7 +0,0 @@
-#set( $symbol_pound = '#' )
-#set( $symbol_dollar = '$' )
-#set( $symbol_escape = '\' )
-<?xml version="${version}" encoding="utf-8"?>
-<resources>
- <string name="app_name">${ProjectName}</string>
-</resources>
@@ -1,33 +0,0 @@
-#set( $symbol_pound = '#' )
-#set( $symbol_dollar = '$' )
-#set( $symbol_escape = '\' )
-/**
- * Copyright 2010 The PlayN Authors
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package ${package}.android;
-
-import android.os.Bundle;
-import playn.android.GameActivity;
-import ${package}.core.PlayN;
-import ${package}.core.${ProjectName}Game;
-
-public class ${ProjectName}GameActivity extends GameActivity {
-
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- PlayN.run(new ${ProjectName}Game());
- }
-}
@@ -1,2 +0,0 @@
-bin
-.settings
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<launchConfiguration type="com.google.gdt.eclipse.suite.webapp">
-<stringAttribute key="com.google.gdt.eclipse.suiteMainTypeProcessor.PREVIOUSLY_SET_MAIN_TYPE_NAME" value="com.google.gwt.dev.DevMode"/>
-<booleanAttribute key="com.google.gdt.eclipse.suiteWarArgumentProcessor.IS_WAR_FROM_PROJECT_PROPERTIES" value="false"/>
-<listAttribute key="com.google.gwt.eclipse.core.ENTRY_POINT_MODULES">
-<listEntry value="${packageInPathFormat}.${ProjectName}Game"/>
-</listAttribute>
-<stringAttribute key="com.google.gwt.eclipse.core.URL" value="${ProjectName}Game.html"/>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
-<listEntry value="/${ProjectName}"/>
-</listAttribute>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
-<listEntry value="4"/>
-</listAttribute>
-<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="com.google.gwt.eclipse.core.moduleClasspathProvider"/>
-<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.google.gwt.dev.DevMode"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-startupUrl ${ProjectName}Game.html -war &quot;\${project_loc:/${ProjectName}}/war&quot; -remoteUI &quot;\${gwt_remote_ui_server_port}:\${unique_id}&quot; -logLevel INFO -codeServerPort 9997 -port 8888 ${packageInPathFormat}.${ProjectName}Game"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="hello"/>
-<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-XstartOnFirstThread -Xmx512m"/>
-</launchConfiguration>
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
-<listEntry value="${ProjectName}/src/${packageInPathFormat}/java/${ProjectName}GameJava.java"/>
-</listAttribute>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
-<listEntry value="1"/>
-</listAttribute>
-<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="${package}.java.${ProjectName}GameJava"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="${ProjectName}"/>
-</launchConfiguration>
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>${groupId}</groupId>
- <artifactId>${rootArtifactId}</artifactId>
- <version>${version}</version>
- </parent>
-
- <groupId>${groupId}</groupId>
- <artifactId>${artifactId}</artifactId>
- <name>PlayN ${ProjectName} Core</name>
-
- <dependencies>
- <dependency>
- <groupId>com.google.gwt</groupId>
- <artifactId>gwt-dev</artifactId>
- <version>${gwtversion}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>com.googlecode.playn</groupId>
- <artifactId>core</artifactId>
- <version>${coreversion}</version>
- </dependency>
- </dependencies>
-
- <build>
- <sourceDirectory>src</sourceDirectory>
-
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- </plugin>
- </plugins>
- <resources>
- <resource>
- <directory>${basedir}/src</directory>
- </resource>
- <resource>
- <directory>${basedir}/war/WEB-INF/classes</directory>
- </resource>
- </resources>
- </build>
-</project>
Oops, something went wrong.

0 comments on commit 1fb59e8

Please sign in to comment.