directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1529775 - in /directory/escimo/branches/json-schema-experiment/json2java: pom.xml src/main/java/org/apache/directory/scim/JsonToJava.java
Date Mon, 07 Oct 2013 07:19:53 GMT
Author: kayyagari
Date: Mon Oct  7 07:19:53 2013
New Revision: 1529775

URL: http://svn.apache.org/r1529775
Log:
o changed the goal prefix
o removed system.out statements

Modified:
    directory/escimo/branches/json-schema-experiment/json2java/pom.xml
    directory/escimo/branches/json-schema-experiment/json2java/src/main/java/org/apache/directory/scim/JsonToJava.java

Modified: directory/escimo/branches/json-schema-experiment/json2java/pom.xml
URL: http://svn.apache.org/viewvc/directory/escimo/branches/json-schema-experiment/json2java/pom.xml?rev=1529775&r1=1529774&r2=1529775&view=diff
==============================================================================
--- directory/escimo/branches/json-schema-experiment/json2java/pom.xml (original)
+++ directory/escimo/branches/json-schema-experiment/json2java/pom.xml Mon Oct  7 07:19:53
2013
@@ -63,7 +63,7 @@
         <artifactId>maven-plugin-plugin</artifactId>
         <version>3.2</version>
         <configuration>
-          <goalPrefix>json2java</goalPrefix>
+          <goalPrefix>escimo-json2java</goalPrefix>
           <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
         </configuration>
         <executions>

Modified: directory/escimo/branches/json-schema-experiment/json2java/src/main/java/org/apache/directory/scim/JsonToJava.java
URL: http://svn.apache.org/viewvc/directory/escimo/branches/json-schema-experiment/json2java/src/main/java/org/apache/directory/scim/JsonToJava.java?rev=1529775&r1=1529774&r2=1529775&view=diff
==============================================================================
--- directory/escimo/branches/json-schema-experiment/json2java/src/main/java/org/apache/directory/scim/JsonToJava.java
(original)
+++ directory/escimo/branches/json-schema-experiment/json2java/src/main/java/org/apache/directory/scim/JsonToJava.java
Mon Oct  7 07:19:53 2013
@@ -80,7 +80,7 @@ public class JsonToJava extends Abstract
     {
         Log log = getLog();
 
-        getLog().warn( "===============" + JsonToJava.class.getName() );
+        log.info( "Starting json2java" );
 
         if ( useDefaultSchemas && ( ( schemaBaseUrl != null ) || ( schemaFiles !=
null ) ) )
         {
@@ -179,8 +179,6 @@ public class JsonToJava extends Abstract
         StringTemplate template = generateClass( json, innerClasses, null );
         template.setAttribute( "allInnerClasses", innerClasses );
 
-        System.out.println( template );
-        
         File javaFile = new File( srcDir, className + ".java" );
         
         FileWriter fw = null;



Mime
View raw message