ts2-pm-cvs-commit Mailing List for The Sims 2 Package Manager (Page 3)
Status: Pre-Alpha
Brought to you by:
nchalumeau
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(173) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: Nicolas C. <nch...@us...> - 2005-05-31 19:36:57
|
Update of /cvsroot/ts2-pm/ts2-pm/site/src/site/apt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25087/apt Modified Files: roadmap.apt Added Files: release-notes.apt Log Message: add more link in the navigation bar add a release note update the road map to the 0.2-SNAPSHOT state Index: roadmap.apt =================================================================== RCS file: /cvsroot/ts2-pm/ts2-pm/site/src/site/apt/roadmap.apt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** roadmap.apt 29 May 2005 00:15:59 -0000 1.3 --- roadmap.apt 31 May 2005 19:36:47 -0000 1.4 *************** *** 7,21 **** ------ - * TS2-PM-0.1 - - Just a comand line tool to show that fonctionality can be call - Integration test on the cli tool that help to validate the core fonctionnality - documentation on how to use the command line tool - no user easy working thing at this step - * TS2-PM-0.2 Working comand line tool to provide the main fonctionality with more fonctionality (install/browse/add/delete every thing fom a repositoy descripor ie xml file) ! doc improvmement Unit test any component --- 7,14 ---- ------ * TS2-PM-0.2 Working comand line tool to provide the main fonctionality with more fonctionality (install/browse/add/delete every thing fom a repositoy descripor ie xml file) ! documentation on how to use the command line tool Unit test any component --- NEW FILE: release-notes.apt --- * TS2-PM-0.1 Just a comand line tool main method validation to show that fonctionality can be call Integration test on the cli tool that help to validate the basic core fonctionnality no user easy working thing at this step |
From: Nicolas C. <nch...@us...> - 2005-05-31 19:36:55
|
Update of /cvsroot/ts2-pm/ts2-pm/site/src/site In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25087 Modified Files: site.xml Log Message: add more link in the navigation bar add a release note update the road map to the 0.2-SNAPSHOT state Index: site.xml =================================================================== RCS file: /cvsroot/ts2-pm/ts2-pm/site/src/site/site.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** site.xml 31 May 2005 19:09:58 -0000 1.6 --- site.xml 31 May 2005 19:36:47 -0000 1.7 *************** *** 15,21 **** </links--> ! <menu name="Presentation"> <item name="Introduction" href="index.html"/> <item name="General Information" href="general-info.html"/> <item name="Repository Structure" href="repository-structure.html"/> <item name="Artifact type" href="artifact-type.html"/> --- 15,25 ---- </links--> ! <menu name="TS2 Package manager"> <item name="Introduction" href="index.html"/> <item name="General Information" href="general-info.html"/> + <item name="Release Notes" href="release-notes.html"/> + <item name="Roadmap" href="roadmap.html"/> + </menu> + <menu name="Documentation"> <item name="Repository Structure" href="repository-structure.html"/> <item name="Artifact type" href="artifact-type.html"/> *************** *** 30,34 **** <item name="The sourceforge project" href="http://sourceforge.net/projects/ts2-pm"/> <item name="Fisheyes" href="http://fisheye.cenqua.com/viewrep/ts2-pm"/> ! </menu> </body> </project> \ No newline at end of file --- 34,45 ---- <item name="The sourceforge project" href="http://sourceforge.net/projects/ts2-pm"/> <item name="Fisheyes" href="http://fisheye.cenqua.com/viewrep/ts2-pm"/> ! <item name="Roadmap" href="roadmap.html"/> ! <item name="M2 HowTo" href="m2-howto.html"/> ! </menu> ! <menu name="Links"> ! <a href="http://www.cenqua.com/fisheye"> ! <img src="http://www.cenqua.com/images/fisheyed.gif" width="89" height="33" border="0" alt="Project Supported by FishEye"/> ! </a> ! </menu> </body> </project> \ No newline at end of file |
From: Nicolas C. <nch...@us...> - 2005-05-31 19:10:09
|
Update of /cvsroot/ts2-pm/ts2-pm/site/src/site In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10911 Modified Files: site.xml Log Message: the site.xml define the navigation bar for each doc format Index: site.xml =================================================================== RCS file: /cvsroot/ts2-pm/ts2-pm/site/src/site/site.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** site.xml 14 May 2005 19:09:51 -0000 1.5 --- site.xml 31 May 2005 19:09:58 -0000 1.6 *************** *** 29,32 **** --- 29,33 ---- <menu name="Developers/contributor"> <item name="The sourceforge project" href="http://sourceforge.net/projects/ts2-pm"/> + <item name="Fisheyes" href="http://fisheye.cenqua.com/viewrep/ts2-pm"/> </menu> </body> |
From: Nicolas C. <nch...@us...> - 2005-05-31 19:10:08
|
Update of /cvsroot/ts2-pm/ts2-pm/site/src/site/xdoc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10911/xdoc Removed Files: navigation.xml Log Message: the site.xml define the navigation bar for each doc format --- navigation.xml DELETED --- |
From: Nicolas C. <nch...@us...> - 2005-05-29 00:21:34
|
Update of /cvsroot/ts2-pm/ts2-pm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6477 Modified Files: pom.xml Log Message: 0.2-SNAPSHOT as the IT test work and the CL is calllable Index: pom.xml =================================================================== RCS file: /cvsroot/ts2-pm/ts2-pm/pom.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** pom.xml 27 May 2005 17:18:22 -0000 1.15 --- pom.xml 29 May 2005 00:21:25 -0000 1.16 *************** *** 22,26 **** <groupId>net.sf.ts2.pm</groupId> <packaging>pom</packaging> ! <version>0.1-SNAPSHOT</version> <name>ts2-pm : root project</name> <description>The Sims 2 Package Manager : root project</description> --- 22,26 ---- <groupId>net.sf.ts2.pm</groupId> <packaging>pom</packaging> ! <version>0.2-SNAPSHOT</version> <name>ts2-pm : root project</name> <description>The Sims 2 Package Manager : root project</description> |
From: Nicolas C. <nch...@us...> - 2005-05-29 00:16:22
|
Update of /cvsroot/ts2-pm/ts2-pm/site/src/site/apt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3405 Modified Files: roadmap.apt Log Message: 0.1 is just a validation of the CLI execution and the IT integration Index: roadmap.apt =================================================================== RCS file: /cvsroot/ts2-pm/ts2-pm/site/src/site/apt/roadmap.apt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** roadmap.apt 25 May 2005 00:17:21 -0000 1.2 --- roadmap.apt 29 May 2005 00:15:59 -0000 1.3 *************** *** 9,19 **** * TS2-PM-0.1 ! Just a comand line tool to provide the main fonctionality (list what is in the repositoy descripor, list the download dir content) ! doc improvmement ! Unit test any component * TS2-PM-0.2 Working comand line tool to provide the main fonctionality with more fonctionality (install/browse/add/delete every thing fom a repositoy descripor ie xml file) * TS2-PM-0.3+ --- 9,22 ---- * TS2-PM-0.1 ! Just a comand line tool to show that fonctionality can be call ! Integration test on the cli tool that help to validate the core fonctionnality ! documentation on how to use the command line tool ! no user easy working thing at this step * TS2-PM-0.2 Working comand line tool to provide the main fonctionality with more fonctionality (install/browse/add/delete every thing fom a repositoy descripor ie xml file) + doc improvmement + Unit test any component * TS2-PM-0.3+ |
From: Nicolas C. <nch...@us...> - 2005-05-27 19:51:01
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-core/src/main/java/net/sf/ts2/pm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7017 Modified Files: DefaultTS2PackageManager.java Log Message: disable automatic save when using the CLI Index: DefaultTS2PackageManager.java =================================================================== RCS file: /cvsroot/ts2-pm/ts2-pm/ts2-pm-core/src/main/java/net/sf/ts2/pm/DefaultTS2PackageManager.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** DefaultTS2PackageManager.java 27 May 2005 17:29:43 -0000 1.10 --- DefaultTS2PackageManager.java 27 May 2005 19:50:52 -0000 1.11 *************** *** 312,316 **** if ( res == 0 ) { ! saveRepository( repoDir, repo ); } else --- 312,317 ---- if ( res == 0 ) { ! // TODO enable it when setting will be ok ! //saveRepository( repoDir, repo ); } else *************** *** 342,345 **** --- 343,351 ---- } } + if ( StringUtils.equals( "testCLI", command )) + { + System.out.println( "CLI works\n" ); + return 0; + } String artifactFile = System.getProperty( "ts2pm.artifact.file" ); |
From: Nicolas C. <nch...@us...> - 2005-05-27 17:42:29
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/ts2-pm-cli-it-simplesCommands/src/test/java/net/sf/ts2/pm/cli In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11677/src/test/java/net/sf/ts2/pm/cli Added Files: CommandExecITTest.java Log Message: validate the CLI with no real setting an no complex command --- NEW FILE: CommandExecITTest.java --- /* * ======================================================================== * * Copyright 2005-2005 TS2-PM (Sourceforge project). * * 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 net.sf.ts2.pm.cli; import junit.framework.TestCase; /** * @author Nicolas * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */ public class CommandExecITTest extends TestCase { private String repoHome = System.getProperty( "user.home") + "/TS2Repository"; /** * @param arg0 */ public CommandExecITTest(String arg0) { super(arg0); } public void testCLIInvocation() { // Commandline cl = new Commandline(); // // cl.setExecutable( "ts2-pm" ); // // cl.setWorkingDirectory( repoHome ); // // cl.createArgument().setLine( "-h" ); // // StreamConsumer consumer = new DefaultConsumer(); // // try // { // CommandLineUtils.executeCommandLine( cl, consumer, consumer ); // } // catch ( CommandLineException e ) // { // fail( "unexpected exception" ); // } String [] args = {"testCLI"}; int result = TS2PackageManagerCLI.main( args ); assertEquals( "Execution fail : non zero return", 0, result ); } } |
From: Nicolas C. <nch...@us...> - 2005-05-27 17:42:28
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/ts2-pm-cli-it-simplesCommands/src/test/resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11677/src/test/resources Added Files: applicationContext.xml Log Message: validate the CLI with no real setting an no complex command --- NEW FILE: applicationContext.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <!-- IoC mapping for the artifact package --> <beans> <!-- =========================================================================== A R T I F A C T P A C K A G E =========================================================================== --> <bean id="artifactDeployer" class="net.sf.ts2.pm.artifact.deployer.DefaultArtifactDeployer"> <property name="historyManager"><ref bean="artifactHistoryManager"/></property> </bean> <bean id="extractorFactory" class="net.sf.ts2.pm.artifact.extractor.DefaultExtractorFactory"> </bean> <bean id="artifactHandler" class="net.sf.ts2.pm.artifact.handler.DefaultArtifactHandler"> <property name="extractorFactory"><ref bean="extractorFactory"/></property> </bean> <bean id="artifactHistoryManager" class="net.sf.ts2.pm.artifact.history.manager.DefaultArtifactHistoryManager"> </bean> <bean id="artifactInstaller" class="net.sf.ts2.pm.artifact.installer.DefaultArtifactInstaller"> <property name="historyManager"><ref bean="artifactHistoryManager"/></property> <property name="artifactHandler"><ref bean="artifactHandler"/></property> </bean> <bean id="artifactManager" class="net.sf.ts2.pm.artifact.manager.DefaultArtifactManager"> <property name="artifactDeployer"><ref bean="artifactDeployer"/></property> <property name="artifactInstaller"><ref bean="artifactInstaller"/></property> </bean> <bean id="artifactRepositoryLayout" class="net.sf.ts2.pm.artifact.repository.layout.DefaultArtifactRepositoryLayout"> <property name="repositoryScanner"><ref bean="repositoryScanner"/></property> </bean> <bean id="repositoryScanner" class="net.sf.ts2.pm.artifact.repository.layout.scanner.DefaultRepositoryScanner"> <property name="artifactHandler"><ref bean="artifactHandler"/></property> </bean> <bean id="artifactRepositoryManager" class="net.sf.ts2.pm.artifact.repository.manager.DefaultArtifactRepositoryManager"> <property name="artifactManager"><ref bean="artifactManager"/></property> </bean> <!-- =========================================================================== C O R E P A C K A G E =========================================================================== --> <bean id="ts2PackageManager" class="net.sf.ts2.pm.DefaultTS2PackageManager" init-method="initialize"> <property name="settings"><ref bean="settings"/></property> <property name="artifactRepositoryManager"><ref bean="artifactRepositoryManager"/></property> <property name="repositoryDescriptorManager"><ref bean="repositoryDescriptorManager"/></property> </bean> <!-- =========================================================================== D E S C R I P T O R P A C K A G E =========================================================================== --> <bean id="repositoryDescriptorManager" class="net.sf.ts2.pm.descriptor.DefaultRepositoryDescriptorManager"> <property name="settings"><ref bean="settings"/></property> <property name="reader"><ref bean="ts2RepositoryXpp3Reader"/></property> <property name="writer"><ref bean="ts2RepositoryXpp3Writer"/></property> </bean> <bean id="ts2RepositoryXpp3Reader" class="net.sf.ts2.pm.model.io.xpp3.TS2RepositoryXpp3Reader"> </bean> <bean id="ts2RepositoryXpp3Writer" class="net.sf.ts2.pm.model.io.xpp3.TS2RepositoryXpp3Writer"> </bean> <bean id="settings" class="net.sf.ts2.pm.settings.Settings"> </bean> </beans> |
From: Nicolas C. <nch...@us...> - 2005-05-27 17:40:57
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/ts2-pm-cli-it-simplesCommands/src/test/resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11264/resources Log Message: Directory /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/ts2-pm-cli-it-simplesCommands/src/test/resources added to the repository |
From: Nicolas C. <nch...@us...> - 2005-05-27 17:29:53
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/ts2-pm-cli-it-simplesCommands/src/test/java/net/sf/ts2/pm/cli In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8891/ts2-pm-it/ts2-pm-cli-it-simplesCommands/src/test/java/net/sf/ts2/pm/cli Modified Files: HelpITTest.java VersionITTest.java Log Message: the it test success. The CLI is fonctionnal. Index: VersionITTest.java =================================================================== RCS file: /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/ts2-pm-cli-it-simplesCommands/src/test/java/net/sf/ts2/pm/cli/VersionITTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** VersionITTest.java 26 May 2005 23:02:45 -0000 1.1 --- VersionITTest.java 27 May 2005 17:29:43 -0000 1.2 *************** *** 45,66 **** public void testCLIInvocation() { ! Commandline cl = new Commandline(); ! ! cl.setExecutable( "ts2-pm" ); ! ! cl.setWorkingDirectory( repoHome ); ! ! cl.createArgument().setLine( "-v" ); ! ! StreamConsumer consumer = new DefaultConsumer(); ! ! try ! { ! CommandLineUtils.executeCommandLine( cl, consumer, consumer ); ! } ! catch ( CommandLineException e ) ! { ! fail( "unexpected exception" ); ! } } } --- 45,69 ---- public void testCLIInvocation() { ! // Commandline cl = new Commandline(); ! // ! // cl.setExecutable( "ts2-pm" ); ! // ! // cl.setWorkingDirectory( repoHome ); ! // ! // cl.createArgument().setLine( "-v" ); ! // ! // StreamConsumer consumer = new DefaultConsumer(); ! // ! // try ! // { ! // CommandLineUtils.executeCommandLine( cl, consumer, consumer ); ! // } ! // catch ( CommandLineException e ) ! // { ! // fail( "unexpected exception" ); ! // } ! String [] args = {"-v"}; ! int result = TS2PackageManagerCLI.main( args ); ! assertEquals( "Execution fail : non zero return", 0, result ); } } Index: HelpITTest.java =================================================================== RCS file: /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/ts2-pm-cli-it-simplesCommands/src/test/java/net/sf/ts2/pm/cli/HelpITTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HelpITTest.java 26 May 2005 23:02:45 -0000 1.1 --- HelpITTest.java 27 May 2005 17:29:43 -0000 1.2 *************** *** 45,66 **** public void testCLIInvocation() { ! Commandline cl = new Commandline(); ! ! cl.setExecutable( "ts2-pm" ); ! ! cl.setWorkingDirectory( repoHome ); ! ! cl.createArgument().setLine( "-h" ); ! ! StreamConsumer consumer = new DefaultConsumer(); ! ! try ! { ! CommandLineUtils.executeCommandLine( cl, consumer, consumer ); ! } ! catch ( CommandLineException e ) ! { ! fail( "unexpected exception" ); ! } } } --- 45,69 ---- public void testCLIInvocation() { ! // Commandline cl = new Commandline(); ! // ! // cl.setExecutable( "ts2-pm" ); ! // ! // cl.setWorkingDirectory( repoHome ); ! // ! // cl.createArgument().setLine( "-h" ); ! // ! // StreamConsumer consumer = new DefaultConsumer(); ! // ! // try ! // { ! // CommandLineUtils.executeCommandLine( cl, consumer, consumer ); ! // } ! // catch ( CommandLineException e ) ! // { ! // fail( "unexpected exception" ); ! // } ! String [] args = {"-h"}; ! int result = TS2PackageManagerCLI.main( args ); ! assertEquals( "Execution fail : non zero return", 0, result ); } } |
From: Nicolas C. <nch...@us...> - 2005-05-27 17:29:53
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-core/src/main/java/net/sf/ts2/pm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8891/ts2-pm-core/src/main/java/net/sf/ts2/pm Modified Files: DefaultTS2PackageManager.java Log Message: the it test success. The CLI is fonctionnal. Index: DefaultTS2PackageManager.java =================================================================== RCS file: /cvsroot/ts2-pm/ts2-pm/ts2-pm-core/src/main/java/net/sf/ts2/pm/DefaultTS2PackageManager.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** DefaultTS2PackageManager.java 27 May 2005 17:18:22 -0000 1.9 --- DefaultTS2PackageManager.java 27 May 2005 17:29:43 -0000 1.10 *************** *** 334,337 **** --- 334,338 ---- { System.out.println( "TS2Repository content :\n" + repo.toString() + "\n" ); + return 0; } else *************** *** 343,347 **** String artifactFile = System.getProperty( "ts2pm.artifact.file" ); ! return 0; } --- 344,348 ---- String artifactFile = System.getProperty( "ts2pm.artifact.file" ); ! return 1; } |
From: Nicolas C. <nch...@us...> - 2005-05-27 17:29:53
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/ts2-pm-cli-it-invoke/src/test/java/net/sf/ts2/pm/cli In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8891/ts2-pm-it/ts2-pm-cli-it-invoke/src/test/java/net/sf/ts2/pm/cli Modified Files: InvokeCliITTest.java Log Message: the it test success. The CLI is fonctionnal. Index: InvokeCliITTest.java =================================================================== RCS file: /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/ts2-pm-cli-it-invoke/src/test/java/net/sf/ts2/pm/cli/InvokeCliITTest.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** InvokeCliITTest.java 27 May 2005 17:18:23 -0000 1.2 --- InvokeCliITTest.java 27 May 2005 17:29:43 -0000 1.3 *************** *** 64,70 **** } */ ! String [] args = null; ! int result = TS2PackageManagerCLI.main( args ); ! assertEquals( "Execution fail : non zero return", 0, result ); } } --- 64,70 ---- } */ ! // String [] args = null; ! // int result = TS2PackageManagerCLI.main( args ); ! // assertEquals( "Execution fail : non zero return", 0, result ); } } |
From: Nicolas C. <nch...@us...> - 2005-05-27 17:18:33
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/ts2-pm-cli-it-invoke/src/test/resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6526/ts2-pm-it/ts2-pm-cli-it-invoke/src/test/resources Added Files: applicationContext.xml Log Message: it test are now a part of the build process the it test successfully failed as expected --- NEW FILE: applicationContext.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <!-- IoC mapping for the artifact package --> <beans> <!-- =========================================================================== A R T I F A C T P A C K A G E =========================================================================== --> <bean id="artifactDeployer" class="net.sf.ts2.pm.artifact.deployer.DefaultArtifactDeployer"> <property name="historyManager"><ref bean="artifactHistoryManager"/></property> </bean> <bean id="extractorFactory" class="net.sf.ts2.pm.artifact.extractor.DefaultExtractorFactory"> </bean> <bean id="artifactHandler" class="net.sf.ts2.pm.artifact.handler.DefaultArtifactHandler"> <property name="extractorFactory"><ref bean="extractorFactory"/></property> </bean> <bean id="artifactHistoryManager" class="net.sf.ts2.pm.artifact.history.manager.DefaultArtifactHistoryManager"> </bean> <bean id="artifactInstaller" class="net.sf.ts2.pm.artifact.installer.DefaultArtifactInstaller"> <property name="historyManager"><ref bean="artifactHistoryManager"/></property> <property name="artifactHandler"><ref bean="artifactHandler"/></property> </bean> <bean id="artifactManager" class="net.sf.ts2.pm.artifact.manager.DefaultArtifactManager"> <property name="artifactDeployer"><ref bean="artifactDeployer"/></property> <property name="artifactInstaller"><ref bean="artifactInstaller"/></property> </bean> <bean id="artifactRepositoryLayout" class="net.sf.ts2.pm.artifact.repository.layout.DefaultArtifactRepositoryLayout"> <property name="repositoryScanner"><ref bean="repositoryScanner"/></property> </bean> <bean id="repositoryScanner" class="net.sf.ts2.pm.artifact.repository.layout.scanner.DefaultRepositoryScanner"> <property name="artifactHandler"><ref bean="artifactHandler"/></property> </bean> <bean id="artifactRepositoryManager" class="net.sf.ts2.pm.artifact.repository.manager.DefaultArtifactRepositoryManager"> <property name="artifactManager"><ref bean="artifactManager"/></property> </bean> <!-- =========================================================================== C O R E P A C K A G E =========================================================================== --> <bean id="ts2PackageManager" class="net.sf.ts2.pm.DefaultTS2PackageManager" init-method="initialize"> <property name="settings"><ref bean="settings"/></property> <property name="artifactRepositoryManager"><ref bean="artifactRepositoryManager"/></property> <property name="repositoryDescriptorManager"><ref bean="repositoryDescriptorManager"/></property> </bean> <!-- =========================================================================== D E S C R I P T O R P A C K A G E =========================================================================== --> <bean id="repositoryDescriptorManager" class="net.sf.ts2.pm.descriptor.DefaultRepositoryDescriptorManager"> <property name="settings"><ref bean="settings"/></property> <property name="reader"><ref bean="ts2RepositoryXpp3Reader"/></property> <property name="writer"><ref bean="ts2RepositoryXpp3Writer"/></property> </bean> <bean id="ts2RepositoryXpp3Reader" class="net.sf.ts2.pm.model.io.xpp3.TS2RepositoryXpp3Reader"> </bean> <bean id="ts2RepositoryXpp3Writer" class="net.sf.ts2.pm.model.io.xpp3.TS2RepositoryXpp3Writer"> </bean> <bean id="settings" class="net.sf.ts2.pm.settings.Settings"> </bean> </beans> |
From: Nicolas C. <nch...@us...> - 2005-05-27 17:18:33
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/ts2-pm-cli-it-invoke/src/test/java/net/sf/ts2/pm/cli In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6526/ts2-pm-it/ts2-pm-cli-it-invoke/src/test/java/net/sf/ts2/pm/cli Modified Files: InvokeCliITTest.java Log Message: it test are now a part of the build process the it test successfully failed as expected Index: InvokeCliITTest.java =================================================================== RCS file: /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/ts2-pm-cli-it-invoke/src/test/java/net/sf/ts2/pm/cli/InvokeCliITTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** InvokeCliITTest.java 26 May 2005 23:39:09 -0000 1.1 --- InvokeCliITTest.java 27 May 2005 17:18:23 -0000 1.2 *************** *** 45,49 **** public void testCLIInvocation() { ! Commandline cl = new Commandline(); cl.setExecutable( "ts2-pm" ); --- 45,49 ---- public void testCLIInvocation() { ! /* Commandline cl = new Commandline(); cl.setExecutable( "ts2-pm" ); *************** *** 63,66 **** --- 63,70 ---- fail( "unexpected exception" ); } + */ + String [] args = null; + int result = TS2PackageManagerCLI.main( args ); + assertEquals( "Execution fail : non zero return", 0, result ); } } |
From: Nicolas C. <nch...@us...> - 2005-05-27 17:18:33
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-it In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6526/ts2-pm-it Modified Files: pom.xml Log Message: it test are now a part of the build process the it test successfully failed as expected Index: pom.xml =================================================================== RCS file: /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/pom.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** pom.xml 26 May 2005 22:16:36 -0000 1.1 --- pom.xml 27 May 2005 17:18:23 -0000 1.2 *************** *** 32,35 **** --- 32,36 ---- <modules> <module>ts2-pm-cli-it-invoke</module> + <module>ts2-pm-cli-it-simplesCommands</module> </modules> </project> \ No newline at end of file |
From: Nicolas C. <nch...@us...> - 2005-05-27 17:18:31
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-core/src/main/java/net/sf/ts2/pm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6526/ts2-pm-core/src/main/java/net/sf/ts2/pm Modified Files: DefaultTS2PackageManager.java Log Message: it test are now a part of the build process the it test successfully failed as expected Index: DefaultTS2PackageManager.java =================================================================== RCS file: /cvsroot/ts2-pm/ts2-pm/ts2-pm-core/src/main/java/net/sf/ts2/pm/DefaultTS2PackageManager.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** DefaultTS2PackageManager.java 27 May 2005 16:32:26 -0000 1.8 --- DefaultTS2PackageManager.java 27 May 2005 17:18:22 -0000 1.9 *************** *** 117,128 **** public Repository loadRepository( String url ) { ! try ! { ! Repository descriptor = repositoryDescriptorManager.load( new File( url ) ); ! return descriptor; //artifactRepositoryManager.getArtifactRepositoryFactory( descriptor ); ! } ! catch (Exception e) { ! e.printStackTrace(); } return null; --- 117,131 ---- public Repository loadRepository( String url ) { ! if ( StringUtils.isNotBlank( url) ) { ! try ! { ! Repository descriptor = repositoryDescriptorManager.load( new File( url ) ); ! return descriptor; //artifactRepositoryManager.getArtifactRepositoryFactory( descriptor ); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } } return null; *************** *** 301,311 **** if ( commands != null ) { for ( Iterator it = commands.iterator(); it.hasNext(); ) { String command = (String) it.next(); ! executeCommand( command, repo ); } ! saveRepository( repoDir, repo ); ! return 0; } else --- 304,322 ---- if ( commands != null ) { + int res = 0; for ( Iterator it = commands.iterator(); it.hasNext(); ) { String command = (String) it.next(); ! res += executeCommand( command, repo ); } ! if ( res == 0 ) ! { ! saveRepository( repoDir, repo ); ! } ! else ! { ! System.out.println( "There was " + res + "error(s). The repo descriptor will not be save\n" ); ! } ! return res; } else *************** *** 320,324 **** if ( StringUtils.equals( "printRepo", command )) { ! System.out.println( "TS2Repository content :\n" + repo.toString() + "\n" ); } String artifactFile = System.getProperty( "ts2pm.artifact.file" ); --- 331,343 ---- if ( StringUtils.equals( "printRepo", command )) { ! if ( repo != null ) ! { ! System.out.println( "TS2Repository content :\n" + repo.toString() + "\n" ); ! } ! else ! { ! System.out.println( "ERROR The TS2Repository does'nt exist\n" ); ! return 1; ! } } String artifactFile = System.getProperty( "ts2pm.artifact.file" ); |
From: Nicolas C. <nch...@us...> - 2005-05-27 17:18:31
|
Update of /cvsroot/ts2-pm/ts2-pm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6526 Modified Files: pom.xml Log Message: it test are now a part of the build process the it test successfully failed as expected Index: pom.xml =================================================================== RCS file: /cvsroot/ts2-pm/ts2-pm/pom.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** pom.xml 26 May 2005 23:39:09 -0000 1.14 --- pom.xml 27 May 2005 17:18:22 -0000 1.15 *************** *** 113,117 **** <module>ts2-pm-settings</module> <module>ts2-pm-site</module> ! <!--module>ts2-pm-versionning</module--> </modules> <reports/> --- 113,117 ---- <module>ts2-pm-settings</module> <module>ts2-pm-site</module> ! <module>ts2-pm-it</module> </modules> <reports/> |
From: Nicolas C. <nch...@us...> - 2005-05-27 17:16:58
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/ts2-pm-cli-it-invoke/src/test/resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6260/resources Log Message: Directory /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/ts2-pm-cli-it-invoke/src/test/resources added to the repository |
From: Nicolas C. <nch...@us...> - 2005-05-27 16:48:37
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-gui/src/main/java/net/sf/ts2/pm/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32458/ts2-pm-gui/src/main/java/net/sf/ts2/pm/gui Modified Files: ArtifactFrameProxy.java Log Message: model general usage eclipse refresh Index: ArtifactFrameProxy.java =================================================================== RCS file: /cvsroot/ts2-pm/ts2-pm/ts2-pm-gui/src/main/java/net/sf/ts2/pm/gui/ArtifactFrameProxy.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ArtifactFrameProxy.java 21 May 2005 00:40:26 -0000 1.1 --- ArtifactFrameProxy.java 27 May 2005 16:48:08 -0000 1.2 *************** *** 23,28 **** import net.sf.ts2.pm.TS2PackageManager; ! import net.sf.ts2.pm.artifact.Artifact; ! import net.sf.ts2.pm.model.ArtifactDescriptor; import net.sf.ts2.pm.settings.Settings; --- 23,27 ---- import net.sf.ts2.pm.TS2PackageManager; ! import net.sf.ts2.pm.model.Artifact; import net.sf.ts2.pm.settings.Settings; *************** *** 32,36 **** * //implements Artifact */ ! public class ArtifactFrameProxy extends JFrame implements Artifact { private TS2PackageManager ts2PackageManager; --- 31,35 ---- * //implements Artifact */ ! public class ArtifactFrameProxy extends JFrame //implements Artifact { private TS2PackageManager ts2PackageManager; *************** *** 40,51 **** /* (non-Javadoc) - * @see net.sf.ts2.pm.artifact.Artifact#getArtifactDescriptor() - */ - public ArtifactDescriptor getArtifactDescriptor() - { - // TODO Auto-generated method stub - return null; - } - /* (non-Javadoc) * @see net.sf.ts2.pm.artifact.Artifact#getType() */ --- 39,42 ---- *************** *** 90,94 **** * @see net.sf.ts2.pm.artifact.Artifact#setArtifactDescriptor(net.sf.ts2.pm.model.ArtifactDescriptor) */ ! public void setArtifactDescriptor(ArtifactDescriptor arg0) { // TODO Auto-generated method stub --- 81,85 ---- * @see net.sf.ts2.pm.artifact.Artifact#setArtifactDescriptor(net.sf.ts2.pm.model.ArtifactDescriptor) */ ! public void setArtifactDescriptor(Artifact arg0) { // TODO Auto-generated method stub |
From: Nicolas C. <nch...@us...> - 2005-05-27 16:40:22
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-artifact/src/main/java/net/sf/ts2/pm/artifact/repository In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31032/repository Removed Files: ArtifactRepository.java ArtifactRepositoryFactory.java DefaultArtifactRepository.java DefaultArtifactRepositoryFactory.java Log Message: no more used classes --- DefaultArtifactRepositoryFactory.java DELETED --- --- ArtifactRepository.java DELETED --- --- ArtifactRepositoryFactory.java DELETED --- --- DefaultArtifactRepository.java DELETED --- |
From: Nicolas C. <nch...@us...> - 2005-05-27 16:40:22
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-artifact/src/main/java/net/sf/ts2/pm/artifact In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31032 Removed Files: Artifact.java ArtifactFactory.java DefaultArtifact.java DefaultArtifactFactory.java Log Message: no more used classes --- DefaultArtifact.java DELETED --- --- DefaultArtifactFactory.java DELETED --- --- ArtifactFactory.java DELETED --- --- Artifact.java DELETED --- |
From: Nicolas C. <nch...@us...> - 2005-05-27 16:39:11
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-core/src/assemble In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30839 Added Files: bin.xml Log Message: add assembly script --- NEW FILE: bin.xml --- <assembly> <id>bin</id> <formats> <format>tar.gz</format> <format>tar.bz2</format> <format>zip</format> </formats> <fileSets> <fileSet> <includes> <include>README*</include> <include>LICENSE*</include> <include>NOTICE*</include> </includes> </fileSet> <fileSet> <directory>src/bin</directory> <outputDirectory>bin</outputDirectory> </fileSet> <fileSet> <!-- TODO: use expressions instead: ${project.build.directory}, ${project.build.finalName}, or have a <build /> tag to include the built artifact --> <directory>target</directory> <outputDirectory>lib</outputDirectory> <includes> <include>ts2-pm-core-*.jar</include> </includes> </fileSet> </fileSets> <dependencySets> <dependencySet> <outputDirectory>core</outputDirectory> <includes> <include>plexus:plexus-container-default</include> </includes> </dependencySet> <dependencySet> <outputDirectory>core/boot</outputDirectory> <includes> <include>classworlds:classworlds</include> </includes> </dependencySet> <dependencySet> <outputDirectory>lib</outputDirectory> <excludes> <!-- TODO we don't use plexus --> <exclude>plexus:plexus-container-default</exclude> <exclude>classworlds:classworlds</exclude> <!-- included in default container - not needed --> <exclude>plexus:plexus-utils</exclude> <!-- transitively picked up via default container - not needed --> <exclude>junit:junit</exclude> </excludes> </dependencySet> </dependencySets> </assembly> |
From: Nicolas C. <nch...@us...> - 2005-05-27 16:38:33
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-core/src/assemble In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30720/assemble Log Message: Directory /cvsroot/ts2-pm/ts2-pm/ts2-pm-core/src/assemble added to the repository |
From: Nicolas C. <nch...@us...> - 2005-05-27 16:38:08
|
Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-core/src/main/resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30613 Modified Files: applicationContext.xml Log Message: adaptation of the ArtifactFactory remove Index: applicationContext.xml =================================================================== RCS file: /cvsroot/ts2-pm/ts2-pm/ts2-pm-core/src/main/resources/applicationContext.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** applicationContext.xml 18 May 2005 17:14:09 -0000 1.4 --- applicationContext.xml 27 May 2005 16:38:00 -0000 1.5 *************** *** 16,24 **** <bean - id="artifactFactory" - class="net.sf.ts2.pm.artifact.DefaultArtifactFactory"> - </bean> - - <bean id="artifactDeployer" class="net.sf.ts2.pm.artifact.deployer.DefaultArtifactDeployer"> --- 16,19 ---- *************** *** 54,63 **** <property name="artifactDeployer"><ref bean="artifactDeployer"/></property> <property name="artifactInstaller"><ref bean="artifactInstaller"/></property> - <property name="artifactFactory"><ref bean="artifactFactory"/></property> - </bean> - - <bean - id="artifactRepositoryFactory" - class="net.sf.ts2.pm.artifact.repository.DefaultArtifactRepositoryFactory"> </bean> --- 49,52 ---- |