geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r662152 - /geronimo/gshell/trunk/gshell-model/src/main/java/org/apache/geronimo/gshell/model/ModelRoot.java
Date Sun, 01 Jun 2008 06:46:57 GMT
Author: jdillon
Date: Sat May 31 23:46:57 2008
New Revision: 662152

URL: http://svn.apache.org/viewvc?rev=662152&view=rev
Log:
Add alias for modelVersion -> version

Modified:
    geronimo/gshell/trunk/gshell-model/src/main/java/org/apache/geronimo/gshell/model/ModelRoot.java

Modified: geronimo/gshell/trunk/gshell-model/src/main/java/org/apache/geronimo/gshell/model/ModelRoot.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-model/src/main/java/org/apache/geronimo/gshell/model/ModelRoot.java?rev=662152&r1=662151&r2=662152&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-model/src/main/java/org/apache/geronimo/gshell/model/ModelRoot.java
(original)
+++ geronimo/gshell/trunk/gshell-model/src/main/java/org/apache/geronimo/gshell/model/ModelRoot.java
Sat May 31 23:46:57 2008
@@ -19,6 +19,7 @@
 
 package org.apache.geronimo.gshell.model;
 
+import com.thoughtworks.xstream.annotations.XStreamAlias;
 import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
 import org.apache.geronimo.gshell.model.marshal.Marshaller;
 
@@ -32,6 +33,7 @@
 {
     private transient Marshaller marshaller;
 
+    @XStreamAlias("version")
     @XStreamAsAttribute
     private String modelVersion;
 



Mime
View raw message