Update of /var/cvs/contributions/CMSContainer/overview_generator
In directory james.mmbase.org:/tmp/cvs-serv24231

Modified Files:
        config.sample.properties project.properties project.xml 
        readme.txt 
Log Message:
CMSC-472,Automatic generation of available portlets / modules


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/overview_generator
See also: http://www.mmbase.org/jira/browse/CMSC-472


Index: config.sample.properties
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer/overview_generator/config.sample.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- config.sample.properties    14 Feb 2008 10:01:43 -0000      1.1
+++ config.sample.properties    14 Apr 2008 02:25:28 -0000      1.2
@@ -1,2 +1,4 @@
 #svn https://extranet.finalist.com/svn/nai/trunk trunk username password.
-cvs :pserver:[EMAIL PROTECTED]:/var/cvs contributions/CMSContainer guest guest
\ No newline at end of file
+svn http://svn.apache.org/repos/asf/tomcat/trunk/ trunk 123 123
+#cvs :pserver:[EMAIL PROTECTED]:/var/cvs contributions/CMSContainer guest guest
+cvs :pserver:[EMAIL PROTECTED]:/var/cvs contributions/CMSContainer_Demo guest 
guest


Index: project.properties
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer/overview_generator/project.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- project.properties  14 Feb 2008 10:01:43 -0000      1.1
+++ project.properties  14 Apr 2008 02:25:29 -0000      1.2
@@ -1,2 +1,6 @@
 maven.jar.mainclass=com.finalist.cmsc.tools.generator.GeneratorReport
 maven.jar.manifest.classpath.add=true
\ No newline at end of file
+
+maven.overview_generator.src = 
D:/project/cmsc/CMSContainer/overview_generator/config.sample.properties
+maven.overview_generator.dest = 
D:/project/cmsc/CMSContainer/overview_generator/dest
+maven.overview_generator.reportFileLocation = D:/
\ No newline at end of file


Index: project.xml
===================================================================
RCS file: /var/cvs/contributions/CMSContainer/overview_generator/project.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- project.xml 7 Apr 2008 15:30:13 -0000       1.4
+++ project.xml 14 Apr 2008 02:25:29 -0000      1.5
@@ -7,6 +7,7 @@
 See http://www.MMBase.org/license
 -->
 <project>
+    <!--extend>${basedir}/../maven-base/project.xml</extend-->
     <artifactId>cmsc-overview_generator</artifactId>
     <name>CMS Container overview generator</name>
     <currentVersion>0.1</currentVersion>


Index: readme.txt
===================================================================
RCS file: /var/cvs/contributions/CMSContainer/overview_generator/readme.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- readme.txt  21 Jan 2008 11:36:01 -0000      1.3
+++ readme.txt  14 Apr 2008 02:25:29 -0000      1.4
@@ -1,10 +1,32 @@
-To run the reporting tools.
-You hava to add below jar to the same folder as cmsc-overview_generator-0.1.jar
 
-commons-logging-1.1.jar
-j2ssh-core-0.2.2.jar
-jcvsii-5.3.2.jar
-log4j-1.2.11.jar
-svnkit-1.1.4.jar
+Locate to  CMSContainer/overview_generator 
+there are 3 methods to generate report,
 
-and then running it using java -jar cmsc-overview_generator-0.1.jar
+The first generate a jar including all dependencies;
+   run it with the command "maven gen:multi"
+   locate to CMSContainer/overview_generator/target,we'll find a jar generated
+   This jar file is executable,wo can run it with "java -jar jarfilename 
configfile [workfolder] [outputpath]"
+
+      e.g:windows,  java -jar cmsc-overview_generator-0.1.jar 
D:/project/cmsc/CMSContainer/overview_generator/config.sample.properties d:/
+
+The Second ,generate a jar file ,excluding all dependencies,but all 
dependencies will be copy to the same folder,
+   run it with the command "maven gen:single"
+   we'll find some jar files generated in directory 
CMSContainer/overview_generator/target
+
+   wo can run it with "java -jar jarfilename configfile [workfolder] 
[outputpath]"
+
+The last method is generate report using maven goal,the following is the step
+ 
+1. config.sample.properties file is used to hold a list of source systems can 
either be cvs or svn
+  e.g :
+    #svn https://extranet.finalist.com/svn/nai/trunk trunk username password.
+    svn http://svn.apache.org/repos/asf/tomcat/trunk/ trunk 123 123
+    #cvs :pserver:[EMAIL PROTECTED]:/var/cvs contributions/CMSContainer guest 
guest
+    cvs :pserver:[EMAIL PROTECTED]:/var/cvs contributions/CMSContainer_Demo 
guest guest
+2. open project.properties ,mofidy the path, there are 3 key/value,
+   e.g:
+      maven.overview_generator.src = 
D:/project/cmsc/CMSContainer/overview_generator/config.sample.properties  #the  
file configed at 2 step
+      maven.overview_generator.dest = 
D:/project/cmsc/CMSContainer/overview_generator/dest     # the directory which  
the source code  be checked out
+      maven.overview_generator.reportFileLocation = D:/                     
#the directory where report file is in 
+   
+3.   run it with the command "maven gen:mavenrun"
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to