incubator-isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danhayw...@apache.org
Subject svn commit: r1397856 - in /incubator/isis/trunk: examples/quickstart/dom/src/main/java/dom/todo/ToDoItem.java framework/quickstart-archetype/pom.xml framework/quickstart-archetype/src/main/appended-resources/supplemental-models.xml
Date Sat, 13 Oct 2012 15:26:18 GMT
Author: danhaywood
Date: Sat Oct 13 15:26:18 2012
New Revision: 1397856

URL: http://svn.apache.org/viewvc?rev=1397856&view=rev
Log:
ISIS-188: fixing the archetype

Added:
    incubator/isis/trunk/framework/quickstart-archetype/src/main/appended-resources/supplemental-models.xml
Modified:
    incubator/isis/trunk/examples/quickstart/dom/src/main/java/dom/todo/ToDoItem.java
    incubator/isis/trunk/framework/quickstart-archetype/pom.xml

Modified: incubator/isis/trunk/examples/quickstart/dom/src/main/java/dom/todo/ToDoItem.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/examples/quickstart/dom/src/main/java/dom/todo/ToDoItem.java?rev=1397856&r1=1397855&r2=1397856&view=diff
==============================================================================
--- incubator/isis/trunk/examples/quickstart/dom/src/main/java/dom/todo/ToDoItem.java (original)
+++ incubator/isis/trunk/examples/quickstart/dom/src/main/java/dom/todo/ToDoItem.java Sat
Oct 13 15:26:18 2012
@@ -34,6 +34,7 @@ import org.apache.isis.applib.DomainObje
 import org.apache.isis.applib.annotation.AutoComplete;
 import org.apache.isis.applib.annotation.Disabled;
 import org.apache.isis.applib.annotation.Hidden;
+import org.apache.isis.applib.annotation.MemberGroups;
 import org.apache.isis.applib.annotation.MemberOrder;
 import org.apache.isis.applib.annotation.MultiLine;
 import org.apache.isis.applib.annotation.Named;
@@ -63,6 +64,7 @@ import org.apache.isis.runtimes.dflt.obj
 @ObjectType("TODO")
 @Auditable
 @AutoComplete(repository=ToDoItems.class, action="autoComplete")
+@MemberGroups({"General", "Detail"})
 public class ToDoItem {
     
     public static enum Category {
@@ -247,7 +249,6 @@ public class ToDoItem {
     }
     // }}
 
-
     // {{ injected: DomainObjectContainer
     @SuppressWarnings("unused")
     private DomainObjectContainer container;
@@ -257,7 +258,6 @@ public class ToDoItem {
     }
     // }}
 
-
     // {{ injected: ToDoItems
     @SuppressWarnings("unused")
     private ToDoItems toDoItems;

Modified: incubator/isis/trunk/framework/quickstart-archetype/pom.xml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/pom.xml?rev=1397856&r1=1397855&r2=1397856&view=diff
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/pom.xml (original)
+++ incubator/isis/trunk/framework/quickstart-archetype/pom.xml Sat Oct 13 15:26:18 2012
@@ -1,30 +1,37 @@
 <?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>
+<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>
+
+	<parent>
+		<groupId>org.apache.isis</groupId>
+		<artifactId>isis</artifactId>
+		<version>0.3.1-incubating-SNAPSHOT</version>
+	</parent>
+
+	<artifactId>quickstart-archetype</artifactId>
+	<packaging>maven-archetype</packaging>
+
+	<name>Apache Isis Quickstart Archetype</name>
+
+	<build>
+		<extensions>
+			<extension>
+				<groupId>org.apache.maven.archetype</groupId>
+				<artifactId>archetype-packaging</artifactId>
+				<version>2.1</version>
+			</extension>
+		</extensions>
+
+		<pluginManagement>
+			<plugins>
+				<plugin>
+					<artifactId>maven-archetype-plugin</artifactId>
+					<version>2.1</version>
+				</plugin>
+			</plugins>
+		</pluginManagement>
+	</build>
+
 
-  <groupId>org.apache.isis</groupId>
-  <artifactId>quickstart-archetype</artifactId>
-  <version>0.3.1-incubating-SNAPSHOT</version>
-  <packaging>maven-archetype</packaging>
-
-  <name>quickstart-archetype</name>
-
-  <build>
-    <extensions>
-      <extension>
-        <groupId>org.apache.maven.archetype</groupId>
-        <artifactId>archetype-packaging</artifactId>
-        <version>2.1</version>
-      </extension>
-    </extensions>
-
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <artifactId>maven-archetype-plugin</artifactId>
-          <version>2.1</version>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-  </build>
 </project>

Added: incubator/isis/trunk/framework/quickstart-archetype/src/main/appended-resources/supplemental-models.xml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/src/main/appended-resources/supplemental-models.xml?rev=1397856&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/src/main/appended-resources/supplemental-models.xml
(added)
+++ incubator/isis/trunk/framework/quickstart-archetype/src/main/appended-resources/supplemental-models.xml
Sat Oct 13 15:26:18 2012
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<supplementalDataModels 
+  xmlns="http://maven.apache.org/supplemental-model/1.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/supplemental-model/1.0.0 
+            http://maven.apache.org/xsd/supplemental-model-1.0.0.xsd">
+
+</supplementalDataModels>
\ No newline at end of file



Mime
View raw message