From: <id...@us...> - 2006-05-15 12:49:55
|
Revision: 3 Author: idueppe Date: 2006-05-15 05:49:27 -0700 (Mon, 15 May 2006) ViewCVS: http://svn.sourceforge.net/openuss/?rev=3&view=rev Log Message: ----------- setup openuss 3.0 subversion trunk Added Paths: ----------- trunk/openuss/tools/ trunk/openuss/tools/missing-dependencies/ trunk/openuss/tools/missing-dependencies/install-missing.xml trunk/openuss/tools/missing-dependencies/javax.transaction/ trunk/openuss/tools/missing-dependencies/javax.transaction/jta-1.0.1B.jar trunk/openuss/tools/missing-dependencies/jaybird/ trunk/openuss/tools/missing-dependencies/jaybird/jaybird-2.0.1.jar trunk/openuss/tools/missing-dependencies/jaybird/jaybird-2.0.1.rar trunk/openuss/tools/missing-dependencies/jaybird/jaybird-full-2.0.1.jar trunk/openuss/tools/missing-dependencies/jaybird/jaybird-pool-2.0.1.jar trunk/openuss/tools/missing-dependencies/readme.txt Added: trunk/openuss/tools/missing-dependencies/install-missing.xml =================================================================== --- trunk/openuss/tools/missing-dependencies/install-missing.xml (rev 0) +++ trunk/openuss/tools/missing-dependencies/install-missing.xml 2006-05-15 12:49:27 UTC (rev 3) @@ -0,0 +1,26 @@ +<project name="install-mising-files" default="install-all" basedir="."> + <target name="install-all"> + <antcall target="jaybird"/> + <antcall target="jta"/> + </target> + <target name="jaybird"> + <exec executable="mvn.bat"> + <arg value="install:install-file"/> + <arg value="-Dfile=./jaybird/jaybird-full-2.0.1.jar"/> + <arg value="-DgroupId=jaybird"/> + <arg value="-DartifactId=jaybird-full"/> + <arg value="-Dversion=2.0.1"/> + <arg value="-Dpackaging=jar"/> + </exec> + </target> + <target name="jta"> + <exec executable="mvn.bat"> + <arg value="install:install-file"/> + <arg value="-Dfile=./javax.transaction/jta-1.0.1B.jar"/> + <arg value="-DgroupId=javax.transaction"/> + <arg value="-DartifactId=jtal"/> + <arg value="-Dversion=1.0.1B"/> + <arg value="-Dpackaging=jar"/> + </exec> + </target> +</project> Added: trunk/openuss/tools/missing-dependencies/javax.transaction/jta-1.0.1B.jar =================================================================== (Binary files differ) Property changes on: trunk/openuss/tools/missing-dependencies/javax.transaction/jta-1.0.1B.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/openuss/tools/missing-dependencies/jaybird/jaybird-2.0.1.jar =================================================================== (Binary files differ) Property changes on: trunk/openuss/tools/missing-dependencies/jaybird/jaybird-2.0.1.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/openuss/tools/missing-dependencies/jaybird/jaybird-2.0.1.rar =================================================================== (Binary files differ) Property changes on: trunk/openuss/tools/missing-dependencies/jaybird/jaybird-2.0.1.rar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/openuss/tools/missing-dependencies/jaybird/jaybird-full-2.0.1.jar =================================================================== (Binary files differ) Property changes on: trunk/openuss/tools/missing-dependencies/jaybird/jaybird-full-2.0.1.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/openuss/tools/missing-dependencies/jaybird/jaybird-pool-2.0.1.jar =================================================================== (Binary files differ) Property changes on: trunk/openuss/tools/missing-dependencies/jaybird/jaybird-pool-2.0.1.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/openuss/tools/missing-dependencies/readme.txt =================================================================== --- trunk/openuss/tools/missing-dependencies/readme.txt (rev 0) +++ trunk/openuss/tools/missing-dependencies/readme.txt 2006-05-15 12:49:27 UTC (rev 3) @@ -0,0 +1,11 @@ +The libraries in this folder can't be find within public remote repositories. +There for this libraries have to be copied manualy to your local repository. + +----------------------------------------------------------------------------- +Jaybird +Jaybird 2.0.1 is not deployed to remote repositories + +Sun Microsystems - Java Transaction API +Due to license restrictions this jar is not deployed to public repositories. + +----------------------------------------------------------------------------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <id...@us...> - 2006-05-15 14:26:56
|
Revision: 8 Author: idueppe Date: 2006-05-15 07:26:50 -0700 (Mon, 15 May 2006) ViewCVS: http://svn.sourceforge.net/openuss/?rev=8&view=rev Log Message: ----------- setup openuss 3.0 trunk Added Paths: ----------- trunk/openuss/servers/ trunk/openuss/servers/tomcat/ trunk/openuss/servers/tomcat/webapps/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <id...@us...> - 2006-05-15 16:35:36
|
Revision: 25 Author: idueppe Date: 2006-05-15 09:35:28 -0700 (Mon, 15 May 2006) ViewCVS: http://svn.sourceforge.net/openuss/?rev=25&view=rev Log Message: ----------- setup openuss 3.0 trunk Modified Paths: -------------- trunk/openuss/.project trunk/openuss/build.xml trunk/openuss/pom.xml Modified: trunk/openuss/.project =================================================================== --- trunk/openuss/.project 2006-05-15 16:35:14 UTC (rev 24) +++ trunk/openuss/.project 2006-05-15 16:35:28 UTC (rev 25) @@ -5,13 +5,7 @@ <projects> </projects> <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> </buildSpec> <natures> - <nature>org.eclipse.jdt.core.javanature</nature> </natures> </projectDescription> Modified: trunk/openuss/build.xml =================================================================== --- trunk/openuss/build.xml 2006-05-15 16:35:14 UTC (rev 24) +++ trunk/openuss/build.xml 2006-05-15 16:35:28 UTC (rev 25) @@ -21,8 +21,8 @@ </target> <target name="eclipse"> <exec executable="mvn.bat"> - <arg line="eclipse:eclipse"/> - <arg line="-Declipse.downloadSources=true"/> + <arg line="eclipse:clean eclipse:eclipse"/> + <arg line="-DdownloadSources=true"/> </exec> </target> <target name="copy-profiles"> Modified: trunk/openuss/pom.xml =================================================================== --- trunk/openuss/pom.xml 2006-05-15 16:35:14 UTC (rev 24) +++ trunk/openuss/pom.xml 2006-05-15 16:35:28 UTC (rev 25) @@ -15,8 +15,8 @@ <name>OpenUSS</name> <url>http://openuss.sourceforge.net</url> </organization> - + <developers> <developer> <id>idueppe</id> @@ -33,11 +33,17 @@ </developer> </developers> - <scm> - <connection>scm:svn:https://svn.sourceforge.net/svnroot/openuss/trunk/openuss</connection> - <developerConnection>scm:svn:https://svn.sourceforge.net/svnroot/openuss/trunk/openuss</developerConnection> - <url>http://svn.sourceforge.net/viewcvs.cgi/openuss/trunk/openuss/</url> - </scm> + <scm> + <connection> + scm:svn:https://svn.sourceforge.net/svnroot/openuss/trunk/openuss + </connection> + <developerConnection> + scm:svn:https://svn.sourceforge.net/svnroot/openuss/trunk/openuss + </developerConnection> + <url> + http://svn.sourceforge.net/viewcvs.cgi/openuss/trunk/openuss/ + </url> + </scm> <modules> <module>foundation</module> @@ -45,7 +51,64 @@ <dependencyManagement> <dependencies> + + <!-- OpenUSS Runtime Dependencies --> + <dependency> + <groupId>commons-beanutils</groupId> + <artifactId>commons-beanutils</artifactId> + <version>[1.7.0,)</version> + </dependency> + + <dependency> + <groupId>org.hibernate</groupId> + <artifactId>hibernate</artifactId> + <version>[3.1.2,)</version> + </dependency> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + <version>[2.1,)</version> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring</artifactId> + <version>[2.0-m1,)</version> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-hibernate3</artifactId> + <version>[2.0-m1,)</version> + <exclusions> + <exclusion> + <groupId>javax.persistence</groupId> + <artifactId>ejb</artifactId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>jaybird</groupId> + <artifactId>jaybird-full</artifactId> + <scope>test</scope> + <version>[2.0.1,)</version> + </dependency> + <dependency> + <groupId>opensymphony</groupId> + <artifactId>oscache</artifactId> + <scope>test</scope> + <version>2.1.1</version> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-mock</artifactId> + <scope>test</scope> + <version>2.0-m1</version> + </dependency> + + + <!-- AndroMDA Dependencies --> + <dependency> <groupId>org.andromda.profiles.uml14</groupId> <artifactId>andromda-profile</artifactId> <version>3.2-RC1-SNAPSHOT</version> @@ -115,6 +178,8 @@ <version>3.2-RC1-SNAPSHOT</version> <scope>runtime</scope> </dependency> + + </dependencies> </dependencyManagement> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <id...@us...> - 2006-05-15 14:11:40
|
Revision: 6 Author: idueppe Date: 2006-05-15 07:11:33 -0700 (Mon, 15 May 2006) ViewCVS: http://svn.sourceforge.net/openuss/?rev=6&view=rev Log Message: ----------- setup openuss 3.0 trunk Added Paths: ----------- trunk/openuss/foundation/ trunk/openuss/foundation/foundation-core/ trunk/openuss/foundation/foundation-core/.classpath trunk/openuss/foundation/foundation-core/.project Added: trunk/openuss/foundation/foundation-core/.classpath =================================================================== --- trunk/openuss/foundation/foundation-core/.classpath (rev 0) +++ trunk/openuss/foundation/foundation-core/.classpath 2006-05-15 14:11:33 UTC (rev 6) @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path="src/main/java"/> + <classpathentry kind="src" path="src/test/java"/> + <classpathentry kind="src" path="target/src"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry sourcepath="M2_REPO/commons-lang/commons-lang/2.1/commons-lang-2.1-sources.jar" kind="var" path="M2_REPO/commons-lang/commons-lang/2.1/commons-lang-2.1.jar"/> + <classpathentry sourcepath="/M2_REPO/org/springframework/spring/2.0-m1/spring-2.0-m1-sources.jar" kind="var" path="M2_REPO/org/springframework/spring/2.0-m1/spring-2.0-m1.jar"/> + <classpathentry sourcepath="M2_REPO/junit/junit/3.8.2/junit-3.8.2-sources.jar" kind="var" path="M2_REPO/junit/junit/3.8.2/junit-3.8.2.jar"/> + <classpathentry sourcepath="M2_REPO/javax/transaction/jta/1.0.1B/jta-1.0.1B-sources.jar" kind="var" path="M2_REPO/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar"/> + <classpathentry sourcepath="M2_REPO/org/springframework/spring-mock/2.0-m1/spring-mock-2.0-m1-sources.jar" kind="var" path="M2_REPO/org/springframework/spring-mock/2.0-m1/spring-mock-2.0-m1.jar"/> + <classpathentry sourcepath="M2_REPO/antlr/antlr/2.7.6rc1/antlr-2.7.6rc1-sources.jar" kind="var" path="M2_REPO/antlr/antlr/2.7.6rc1/antlr-2.7.6rc1.jar"/> + <classpathentry sourcepath="M2_REPO/ehcache/ehcache/1.1/ehcache-1.1-sources.jar" kind="var" path="M2_REPO/ehcache/ehcache/1.1/ehcache-1.1.jar"/> + <classpathentry kind="src" path="/foundation-api"/> + <classpathentry sourcepath="M2_REPO/opensymphony/oscache/2.1.1/oscache-2.1.1-sources.jar" kind="var" path="M2_REPO/opensymphony/oscache/2.1.1/oscache-2.1.1.jar"/> + <classpathentry sourcepath="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-sources.jar" kind="var" path="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"/> + <classpathentry sourcepath="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1-sources.jar" kind="var" path="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar"/> + <classpathentry sourcepath="M2_REPO/org/hibernate/hibernate/3.1.2/hibernate-3.1.2-sources.jar" kind="var" path="M2_REPO/org/hibernate/hibernate/3.1.2/hibernate-3.1.2.jar"/> + <classpathentry kind="var" path="M2_REPO/jaybird/jaybird-full/2.0.1/jaybird-full-2.0.1.jar"/> + <classpathentry sourcepath="M2_REPO/org/springframework/spring-hibernate3/2.0-m1/spring-hibernate3-2.0-m1-sources.jar" kind="var" path="M2_REPO/org/springframework/spring-hibernate3/2.0-m1/spring-hibernate3-2.0-m1.jar"/> + <classpathentry sourcepath="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar" kind="var" path="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar"/> + <classpathentry sourcepath="M2_REPO/cglib/cglib/2.1_3/cglib-2.1_3-sources.jar" kind="var" path="M2_REPO/cglib/cglib/2.1_3/cglib-2.1_3.jar"/> + <classpathentry sourcepath="M2_REPO/asm/asm/1.5.3/asm-1.5.3-sources.jar" kind="var" path="M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar"/> + <classpathentry sourcepath="M2_REPO/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1-sources.jar" kind="var" path="M2_REPO/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.jar"/> + <classpathentry kind="output" path="target/classes"/> +</classpath> Added: trunk/openuss/foundation/foundation-core/.project =================================================================== --- trunk/openuss/foundation/foundation-core/.project (rev 0) +++ trunk/openuss/foundation/foundation-core/.project 2006-05-15 14:11:33 UTC (rev 6) @@ -0,0 +1,16 @@ +<projectDescription> + <name>foundation-core</name> + <comment/> + <projects> + <project>foundation-api</project> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments/> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <id...@us...> - 2006-05-21 09:51:16
|
Revision: 39 Author: idueppe Date: 2006-05-21 02:50:54 -0700 (Sun, 21 May 2006) ViewCVS: http://svn.sourceforge.net/openuss/?rev=39&view=rev Log Message: ----------- added independent factory utility classes Added Paths: ----------- trunk/openuss/framework/ trunk/openuss/framework/build.xml trunk/openuss/framework/pom.xml trunk/openuss/framework/utilities/ trunk/openuss/framework/utilities/.classpath trunk/openuss/framework/utilities/.project trunk/openuss/framework/utilities/.settings/ trunk/openuss/framework/utilities/.settings/org.eclipse.jdt.core.prefs trunk/openuss/framework/utilities/build.xml trunk/openuss/framework/utilities/pom.xml trunk/openuss/framework/utilities/src/ trunk/openuss/framework/utilities/src/main/ trunk/openuss/framework/utilities/src/main/java/ trunk/openuss/framework/utilities/src/main/java/org/ trunk/openuss/framework/utilities/src/main/java/org/openuss/ trunk/openuss/framework/utilities/src/main/java/org/openuss/framework/ trunk/openuss/framework/utilities/src/main/java/org/openuss/framework/utilities/ trunk/openuss/framework/utilities/src/main/java/org/openuss/framework/utilities/FactoryFinder.java trunk/openuss/framework/utilities/src/main/java/org/openuss/framework/utilities/SecuritySupport.java Added: trunk/openuss/framework/build.xml =================================================================== --- trunk/openuss/framework/build.xml (rev 0) +++ trunk/openuss/framework/build.xml 2006-05-21 09:50:54 UTC (rev 39) @@ -0,0 +1,24 @@ +<project name="openuss :: framework :: build" default="install" basedir="."> + <target name="compile"> + <exec executable="mvn.bat"> + <arg line="compile"/> + </exec> + </target> + <target name="install"> + <exec executable="mvn.bat"> + <arg line="-e install"/> + </exec> + </target> + <target name="clean"> + <exec executable="mvn.bat"> + <arg line="clean"/> + </exec> + </target> + <target name="eclipse"> + <exec executable="mvn.bat"> + <arg line="eclipse:eclipse"/> + </exec> + </target> + + +</project> Added: trunk/openuss/framework/pom.xml =================================================================== --- trunk/openuss/framework/pom.xml (rev 0) +++ trunk/openuss/framework/pom.xml 2006-05-21 09:50:54 UTC (rev 39) @@ -0,0 +1,48 @@ +<?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/maven-v4_0_0.xsd"> + + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.openuss</groupId> + <artifactId>openuss</artifactId> + <version>3.0-SNAPSHOT</version> + </parent> + <groupId>org.openuss.framework</groupId> + <artifactId>openuss-framework</artifactId> + <name>OpenUSS - Framework</name> + <packaging>pom</packaging> + <url>http://openuss.sf.net</url> + + <organization> + <name>openuss</name> + <url>http://openuss.sourceforge.net</url> + </organization> + + <build> + <plugins> + <plugin> + <groupId>org.andromda.maven.plugins</groupId> + <artifactId>andromda-multi-source-plugin</artifactId> + </plugin> + </plugins> + <resources> + <resource> + <directory>target/src</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + <resource> + <directory>src/main/resources</directory> + </resource> + </resources> + </build> + + <modules> + <module>utilities</module> + </modules> + +</project> Property changes on: trunk/openuss/framework/utilities ___________________________________________________________________ Name: svn:ignore + target Added: trunk/openuss/framework/utilities/.classpath =================================================================== --- trunk/openuss/framework/utilities/.classpath (rev 0) +++ trunk/openuss/framework/utilities/.classpath 2006-05-21 09:50:54 UTC (rev 39) @@ -0,0 +1,6 @@ +<classpath> + <classpathentry kind="src" path="src/main/java"/> + <classpathentry kind="output" path="target/classes"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.2/junit-3.8.2.jar" sourcepath="M2_REPO/junit/junit/3.8.2/junit-3.8.2-sources.jar"/> +</classpath> \ No newline at end of file Added: trunk/openuss/framework/utilities/.project =================================================================== --- trunk/openuss/framework/utilities/.project (rev 0) +++ trunk/openuss/framework/utilities/.project 2006-05-21 09:50:54 UTC (rev 39) @@ -0,0 +1,14 @@ +<projectDescription> + <name>framework-utilities</name> + <comment/> + <projects/> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments/> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> \ No newline at end of file Added: trunk/openuss/framework/utilities/.settings/org.eclipse.jdt.core.prefs =================================================================== --- trunk/openuss/framework/utilities/.settings/org.eclipse.jdt.core.prefs (rev 0) +++ trunk/openuss/framework/utilities/.settings/org.eclipse.jdt.core.prefs 2006-05-21 09:50:54 UTC (rev 39) @@ -0,0 +1,5 @@ +#Sun May 21 00:08:39 CEST 2006 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.source=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 Added: trunk/openuss/framework/utilities/build.xml =================================================================== --- trunk/openuss/framework/utilities/build.xml (rev 0) +++ trunk/openuss/framework/utilities/build.xml 2006-05-21 09:50:54 UTC (rev 39) @@ -0,0 +1,17 @@ +<project name="openuss :: framework :: utilities :: build" default="install" basedir="."> + <target name="compile"> + <exec executable="mvn.bat"> + <arg line="install"/> + </exec> + </target> + <target name="clean"> + <exec executable="mvn.bat"> + <arg line="clean"/> + </exec> + </target> + <target name="install"> + <exec executable="mvn.bat"> + <arg line="install"/> + </exec> + </target> +</project> \ No newline at end of file Added: trunk/openuss/framework/utilities/pom.xml =================================================================== --- trunk/openuss/framework/utilities/pom.xml (rev 0) +++ trunk/openuss/framework/utilities/pom.xml 2006-05-21 09:50:54 UTC (rev 39) @@ -0,0 +1,19 @@ +<?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/maven-v4_0_0.xsd"> + + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.openuss.framework</groupId> + <artifactId>openuss-framework</artifactId> + <version>3.0-SNAPSHOT</version> + </parent> + <groupId>org.openuss.framework</groupId> + <artifactId>framework-utilities</artifactId> + <name>OpenUSS - Framework - Utilities</name> + <packaging>jar</packaging> + + +</project> Added: trunk/openuss/framework/utilities/src/main/java/org/openuss/framework/utilities/FactoryFinder.java =================================================================== --- trunk/openuss/framework/utilities/src/main/java/org/openuss/framework/utilities/FactoryFinder.java (rev 0) +++ trunk/openuss/framework/utilities/src/main/java/org/openuss/framework/utilities/FactoryFinder.java 2006-05-21 09:50:54 UTC (rev 39) @@ -0,0 +1,135 @@ +/** + * Title: OpenUSS - Open University Support System + * Description: Utility Class to find factories + * Copyright: Copyright (c) Ingo D\xFCppe + * Company: University of Muenster + */ +package org.openuss.framework.utilities; + +import java.io.BufferedReader; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.UnsupportedEncodingException; + +/** + * @author Ingo D\xFCppe + * @version 1.0 - 25.11.2004 + */ +public class FactoryFinder { + private static SecuritySupport securitySupport = new SecuritySupport(); + + /** + * Obtain a instance of the <code>Factory</code> defined by the factoryId. + * This static method creates a new factory instance + * + * This method uses the following ordered lookup procedure to determine the + * factory implementation class to load: + * <ul> + * <li>Use the <strong>factoryId </strong> system property.</li> + * <li>Use the Services API (as detailed in the JAR specification), if + * available, to determine the classname. The Services API will look for a + * classname in the file + * <code>META-INF/services/<strong>factoryId</strong></code> in jars + * available to the runtime.</li> + * </ul> + * + * @param factoryId + * @return instance of a factory implementation + * @throws ConfigurationError + * if no implementation could be found + */ + public static Object find(String factoryId) throws ConfigurationError { + // Figure out which ClassLoader to use for loading the provider class. + // If there is a Context ClassLoad then use it. + ClassLoader classLoader = securitySupport.getContextClassLoader(); + + if (classLoader == null) { + // if no Context ClassLoader then une current class loader. + classLoader = FactoryFinder.class.getClassLoader(); + } + + // lookup system properties for factoryId + try { + String factoryClassName = securitySupport.getSystemProperty(factoryId); + + if (factoryClassName != null) { + return newInstance(factoryClassName, classLoader); + } + } catch (SecurityException sr) { + // first option fails due to any reason try next option. + } + + // lookup jar service provider mechanism + String serviceId = "META-INF/services/" + factoryId; + InputStream is = null; + is = securitySupport.getResourceAsStream(classLoader, serviceId); + if (is != null) { + BufferedReader rd; + + try { + rd = new BufferedReader(new InputStreamReader(is, "UTF-8")); + } catch (UnsupportedEncodingException e) { + rd = new BufferedReader(new InputStreamReader(is)); + } + + String factoryClassName = null; + + try { + factoryClassName = rd.readLine(); + rd.close(); + } catch (Exception e) { + // No provider found; + } + + if ((factoryClassName != null) && !"".equals(factoryClassName)) { + return newInstance(factoryClassName, classLoader); + } + } + throw new ConfigurationError("Couldn't find implementation for " + factoryId); + } + + /** + * @param factoryClassName + * @param classLoader + * @return Instance of the factory implementation. + */ + private static Object newInstance(String factoryClassName, ClassLoader classLoader) throws ConfigurationError { + try { + Class provider; + + if (classLoader == null) { + provider = Class.forName(factoryClassName); + } else { + provider = classLoader.loadClass(factoryClassName); + } + + return provider.newInstance(); + } catch (ClassNotFoundException ex) { + throw new ConfigurationError("Provider " + factoryClassName + " not found.", ex); + } catch (Exception ex) { + throw new ConfigurationError("Provider " + factoryClassName + " could not be instantiated.", ex); + } + } + + static public class ConfigurationError extends Error { + private static final long serialVersionUID = 1L; + private Exception exception; + + /** + * Construct a new instance with the specified detail string and + * exception. + */ + ConfigurationError(String msg, Exception x) { + super(msg); + this.exception = x; + } + + ConfigurationError(String msg) { + super(msg); + } + + Exception getException() { + return exception; + } + } +} \ No newline at end of file Added: trunk/openuss/framework/utilities/src/main/java/org/openuss/framework/utilities/SecuritySupport.java =================================================================== --- trunk/openuss/framework/utilities/src/main/java/org/openuss/framework/utilities/SecuritySupport.java (rev 0) +++ trunk/openuss/framework/utilities/src/main/java/org/openuss/framework/utilities/SecuritySupport.java 2006-05-21 09:50:54 UTC (rev 39) @@ -0,0 +1,75 @@ +/** + * Title: OpenUSS - Open University Support System + * Description: Utility Class to find factories + * Copyright: Copyright (c) Ingo D\xFCppe + * Company: University of Muenster + */ +package org.openuss.framework.utilities; + +import java.io.InputStream; + +import java.security.AccessController; +import java.security.PrivilegedAction; + +/** + * @author Ingo D\xFCppe + * @version 1.0 - 25.11.2004 + */ +/*package*/ class SecuritySupport { + /** + * + * @return Context ClassLoader of current Thread + */ + @SuppressWarnings("unchecked") + ClassLoader getContextClassLoader() { + return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction() { + public Object run() { + ClassLoader cl = null; + + try { + cl = Thread.currentThread().getContextClassLoader(); + } catch (SecurityException ex) { + ex.printStackTrace(); + } + + return cl; + } + }); + } + + /** + * @param factoryId + * @return Value of the system property + */ + @SuppressWarnings("unchecked") + public String getSystemProperty(final String propertyName) { + return (String) AccessController.doPrivileged(new PrivilegedAction() { + public Object run() { + return System.getProperty(propertyName); + } + }); + } + + /** + * @param classLoader + * @param serviceId + * @return + */ + @SuppressWarnings("unchecked") + public InputStream getResourceAsStream(final ClassLoader classLoader, + final String serviceId) { + return (InputStream) AccessController.doPrivileged(new PrivilegedAction() { + public Object run() { + InputStream is; + + if (classLoader == null) { + is = ClassLoader.getSystemResourceAsStream(serviceId); + } else { + is = classLoader.getResourceAsStream(serviceId); + } + + return is; + } + }); + } +} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <id...@us...> - 2006-05-21 09:56:58
|
Revision: 42 Author: idueppe Date: 2006-05-21 02:56:49 -0700 (Sun, 21 May 2006) ViewCVS: http://svn.sourceforge.net/openuss/?rev=42&view=rev Log Message: ----------- add framework module Modified Paths: -------------- trunk/openuss/build.xml trunk/openuss/pom.xml Modified: trunk/openuss/build.xml =================================================================== --- trunk/openuss/build.xml 2006-05-21 09:54:46 UTC (rev 41) +++ trunk/openuss/build.xml 2006-05-21 09:56:49 UTC (rev 42) @@ -9,6 +9,11 @@ <arg line="-e install"/> </exec> </target> + <target name="install w/o tests"> + <exec executable="mvn.bat"> + <arg line="-e install -Dmaven.test.skip=true"/> + </exec> + </target> <target name="clean-all"> <exec executable="mvn.bat"> <arg line="-o clean"/> Modified: trunk/openuss/pom.xml =================================================================== --- trunk/openuss/pom.xml 2006-05-21 09:54:46 UTC (rev 41) +++ trunk/openuss/pom.xml 2006-05-21 09:56:49 UTC (rev 42) @@ -45,7 +45,10 @@ </url> </scm> + <!-- Modules --> + <modules> + <module>framework</module> <module>foundation</module> </modules> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <id...@us...> - 2006-05-23 12:20:28
|
Revision: 48 Author: idueppe Date: 2006-05-23 05:19:58 -0700 (Tue, 23 May 2006) ViewCVS: http://svn.sourceforge.net/openuss/?rev=48&view=rev Log Message: ----------- separate generated test sources(target/test-src) from manual test sources (src/test/java. Modified Paths: -------------- trunk/openuss/foundation/foundation-core/.classpath trunk/openuss/foundation/foundation-core/.project trunk/openuss/foundation/foundation-core/build.xml trunk/openuss/foundation/foundation-core/pom.xml trunk/openuss/foundation/foundation-model/pom.xml trunk/openuss/foundation/foundation-web/build.xml trunk/openuss/foundation/foundation-web/pom.xml trunk/openuss/foundation/pom.xml trunk/openuss/pom.xml Removed Paths: ------------- trunk/openuss/foundation/foundation-core/src/test/java/org/openuss/foundation/lecture/EnrollmentDaoTestBase.java trunk/openuss/foundation/foundation-core/src/test/java/org/openuss/foundation/lecture/FacultyDaoTestBase.java trunk/openuss/foundation/foundation-core/src/test/java/org/openuss/foundation/lecture/PeriodDaoTestBase.java trunk/openuss/foundation/foundation-core/src/test/java/org/openuss/foundation/lecture/SubjectDaoTestBase.java Modified: trunk/openuss/foundation/foundation-core/.classpath =================================================================== --- trunk/openuss/foundation/foundation-core/.classpath 2006-05-23 10:33:13 UTC (rev 47) +++ trunk/openuss/foundation/foundation-core/.classpath 2006-05-23 12:19:58 UTC (rev 48) @@ -1,30 +1,30 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="src" path="src/main/java"/> - <classpathentry kind="src" path="src/main/resources"/> - <classpathentry output="target/test-classes" kind="src" path="src/test/java"/> - <classpathentry output="target/test-classes" kind="src" path="src/test/resources"/> - <classpathentry kind="src" path="target/src"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> - <classpathentry sourcepath="M2_REPO/org/springframework/spring/2.0-m4/spring-2.0-m4-sources.jar" kind="var" path="M2_REPO/org/springframework/spring/2.0-m4/spring-2.0-m4.jar"/> - <classpathentry sourcepath="M2_REPO/ehcache/ehcache/1.1/ehcache-1.1-sources.jar" kind="var" path="M2_REPO/ehcache/ehcache/1.1/ehcache-1.1.jar"/> - <classpathentry sourcepath="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar" kind="var" path="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar"/> - <classpathentry sourcepath="M2_REPO/org/hibernate/hibernate/3.1.3/hibernate-3.1.3-sources.jar" kind="var" path="M2_REPO/org/hibernate/hibernate/3.1.3/hibernate-3.1.3.jar"/> - <classpathentry sourcepath="M2_REPO/org/springframework/spring-hibernate3/2.0-m1/spring-hibernate3-2.0-m1-sources.jar" kind="var" path="M2_REPO/org/springframework/spring-hibernate3/2.0-m1/spring-hibernate3-2.0-m1.jar"/> - <classpathentry sourcepath="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13-sources.jar" kind="var" path="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13.jar"/> - <classpathentry sourcepath="M2_REPO/junit/junit/3.8.2/junit-3.8.2-sources.jar" kind="var" path="M2_REPO/junit/junit/3.8.2/junit-3.8.2.jar"/> - <classpathentry sourcepath="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1-sources.jar" kind="var" path="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar"/> - <classpathentry sourcepath="M2_REPO/cglib/cglib/2.1_3/cglib-2.1_3-sources.jar" kind="var" path="M2_REPO/cglib/cglib/2.1_3/cglib-2.1_3.jar"/> - <classpathentry sourcepath="M2_REPO/commons-collections/commons-collections/2.1/commons-collections-2.1-sources.jar" kind="var" path="M2_REPO/commons-collections/commons-collections/2.1/commons-collections-2.1.jar"/> - <classpathentry sourcepath="M2_REPO/javax/transaction/jta/1.0.1B/jta-1.0.1B-sources.jar" kind="var" path="M2_REPO/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar"/> - <classpathentry sourcepath="M2_REPO/asm/asm/1.5.3/asm-1.5.3-sources.jar" kind="var" path="M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar"/> - <classpathentry kind="src" path="/foundation-api"/> - <classpathentry kind="var" path="M2_REPO/org/springframework/spring-mock/2.0-m4/spring-mock-2.0-m4.jar"/> - <classpathentry sourcepath="M2_REPO/asm/asm-attrs/1.5.3/asm-attrs-1.5.3-sources.jar" kind="var" path="M2_REPO/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar"/> - <classpathentry sourcepath="M2_REPO/net/sf/ehcache/ehcache/1.2/ehcache-1.2-sources.jar" kind="var" path="M2_REPO/net/sf/ehcache/ehcache/1.2/ehcache-1.2.jar"/> - <classpathentry sourcepath="M2_REPO/antlr/antlr/2.7.6rc1/antlr-2.7.6rc1-sources.jar" kind="var" path="M2_REPO/antlr/antlr/2.7.6rc1/antlr-2.7.6rc1.jar"/> - <classpathentry sourcepath="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-sources.jar" kind="var" path="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"/> - <classpathentry sourcepath="M2_REPO/commons-lang/commons-lang/2.1/commons-lang-2.1-sources.jar" kind="var" path="M2_REPO/commons-lang/commons-lang/2.1/commons-lang-2.1.jar"/> - <classpathentry sourcepath="M2_REPO/jaybird/jaybird-full/2.0.1/jaybird-full-2.0.1-sources.jar" kind="var" path="M2_REPO/jaybird/jaybird-full/2.0.1/jaybird-full-2.0.1.jar"/> - <classpathentry kind="output" path="target/classes"/> -</classpath> +<classpath> + <classpathentry kind="src" path="src/main/java"/> + <classpathentry kind="src" path="src/main/resources"/> + <classpathentry kind="src" path="src/test/java" output="target/test-classes"/> + <classpathentry kind="src" path="src/test/resources" output="target/test-classes"/> + <classpathentry kind="src" path="target/src"/> + <classpathentry kind="output" path="target/classes"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13.jar" sourcepath="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/jaybird/jaybird-full/2.0.1/jaybird-full-2.0.1.jar" sourcepath="M2_REPO/jaybird/jaybird-full/2.0.1/jaybird-full-2.0.1-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/cglib/cglib/2.1_3/cglib-2.1_3.jar" sourcepath="M2_REPO/cglib/cglib/2.1_3/cglib-2.1_3-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.2/junit-3.8.2.jar" sourcepath="M2_REPO/junit/junit/3.8.2/junit-3.8.2-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/org/springframework/spring-mock/2.0-m4/spring-mock-2.0-m4.jar"/> + <classpathentry kind="var" path="M2_REPO/org/openuss/foundation/foundation-api/3.0-SNAPSHOT/foundation-api-3.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/openuss/foundation/foundation-api/3.0-SNAPSHOT/foundation-api-3.0-SNAPSHOT-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar" sourcepath="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar" sourcepath="M2_REPO/javax/transaction/jta/1.0.1B/jta-1.0.1B-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar" sourcepath="M2_REPO/asm/asm-attrs/1.5.3/asm-attrs-1.5.3-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/org/springframework/spring/2.0-m4/spring-2.0-m4.jar" sourcepath="M2_REPO/org/springframework/spring/2.0-m4/spring-2.0-m4-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/commons-collections/commons-collections/2.1/commons-collections-2.1.jar" sourcepath="M2_REPO/commons-collections/commons-collections/2.1/commons-collections-2.1-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate/3.1.3/hibernate-3.1.3.jar" sourcepath="M2_REPO/org/hibernate/hibernate/3.1.3/hibernate-3.1.3-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar" sourcepath="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar" sourcepath="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/org/springframework/spring-hibernate3/2.0-m1/spring-hibernate3-2.0-m1.jar" sourcepath="M2_REPO/org/springframework/spring-hibernate3/2.0-m1/spring-hibernate3-2.0-m1-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.1/commons-lang-2.1.jar" sourcepath="M2_REPO/commons-lang/commons-lang/2.1/commons-lang-2.1-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/net/sf/ehcache/ehcache/1.2/ehcache-1.2.jar" sourcepath="M2_REPO/net/sf/ehcache/ehcache/1.2/ehcache-1.2-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar" sourcepath="M2_REPO/asm/asm/1.5.3/asm-1.5.3-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/org/openuss/framework/framework-utilities/3.0-SNAPSHOT/framework-utilities-3.0-SNAPSHOT.jar"/> + <classpathentry kind="var" path="M2_REPO/ehcache/ehcache/1.1/ehcache-1.1.jar" sourcepath="M2_REPO/ehcache/ehcache/1.1/ehcache-1.1-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/antlr/antlr/2.7.6rc1/antlr-2.7.6rc1.jar" sourcepath="M2_REPO/antlr/antlr/2.7.6rc1/antlr-2.7.6rc1-sources.jar"/> +</classpath> \ No newline at end of file Modified: trunk/openuss/foundation/foundation-core/.project =================================================================== --- trunk/openuss/foundation/foundation-core/.project 2006-05-23 10:33:13 UTC (rev 47) +++ trunk/openuss/foundation/foundation-core/.project 2006-05-23 12:19:58 UTC (rev 48) @@ -1,9 +1,7 @@ <projectDescription> <name>foundation-core</name> <comment/> - <projects> - <project>foundation-api</project> - </projects> + <projects/> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> Modified: trunk/openuss/foundation/foundation-core/build.xml =================================================================== --- trunk/openuss/foundation/foundation-core/build.xml 2006-05-23 10:33:13 UTC (rev 47) +++ trunk/openuss/foundation/foundation-core/build.xml 2006-05-23 12:19:58 UTC (rev 48) @@ -1,7 +1,7 @@ <project name="openuss :: foundation :: core :: build" default="install" basedir="."> <target name="compile"> <exec executable="mvn.bat"> - <arg line="install" /> + <arg line="compile" /> </exec> </target> <target name="clean"> Modified: trunk/openuss/foundation/foundation-core/pom.xml =================================================================== --- trunk/openuss/foundation/foundation-core/pom.xml 2006-05-23 10:33:13 UTC (rev 47) +++ trunk/openuss/foundation/foundation-core/pom.xml 2006-05-23 12:19:58 UTC (rev 48) @@ -1,9 +1,9 @@ <?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/maven-v4_0_0.xsd"> - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.openuss.foundation</groupId> @@ -79,7 +79,33 @@ <groupId>org.springframework</groupId> <artifactId>spring-mock</artifactId> <scope>test</scope> - </dependency> + </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <executions> + <execution> + <id>add-test-source</id> + <phase>generate-test-sources</phase> + <goals> + <goal>add-test-source</goal> + </goals> + <configuration> + <sources> + <source> + ${project.build.directory}/test-src + </source> + </sources> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </project> Deleted: trunk/openuss/foundation/foundation-core/src/test/java/org/openuss/foundation/lecture/EnrollmentDaoTestBase.java =================================================================== --- trunk/openuss/foundation/foundation-core/src/test/java/org/openuss/foundation/lecture/EnrollmentDaoTestBase.java 2006-05-23 10:33:13 UTC (rev 47) +++ trunk/openuss/foundation/foundation-core/src/test/java/org/openuss/foundation/lecture/EnrollmentDaoTestBase.java 2006-05-23 12:19:58 UTC (rev 48) @@ -1,41 +0,0 @@ -// OpenUSS - Open Source University Support System -/** - * This is only generated once! It will never be overwritten. - * You can (and have to!) safely modify it by hand. - */ -package org.openuss.foundation.lecture; - -import org.springframework.test.AbstractTransactionalDataSourceSpringContextTests; -import org.apache.log4j.Logger; - - -/** - * JUnit Test for Spring Hibernate EnrollmentDao class. - * @see org.openuss.foundation.lecture.EnrollmentDao - */ -public abstract class EnrollmentDaoTestBase extends AbstractTransactionalDataSourceSpringContextTests { - - protected static final Logger logger = Logger.getLogger(EnrollmentDaoTest.class); - - protected EnrollmentDao enrollmentDao; - - public EnrollmentDao getEnrollmentDao() { - return enrollmentDao; - } - - public void setEnrollmentDao(EnrollmentDao enrollmentDao) { - this.enrollmentDao = enrollmentDao; - } - - public void testEnrollmentDaoInjection() { - assertNotNull(enrollmentDao); - } - - protected String[] getConfigLocations() { - return new String[] { - "classpath*:applicationContext.xml", - "classpath*:applicationContext-localDataSource.xml", - "classpath*:applicationContext-beans.xml", - "classpath*:beanRefFactory"}; - } -} \ No newline at end of file Deleted: trunk/openuss/foundation/foundation-core/src/test/java/org/openuss/foundation/lecture/FacultyDaoTestBase.java =================================================================== --- trunk/openuss/foundation/foundation-core/src/test/java/org/openuss/foundation/lecture/FacultyDaoTestBase.java 2006-05-23 10:33:13 UTC (rev 47) +++ trunk/openuss/foundation/foundation-core/src/test/java/org/openuss/foundation/lecture/FacultyDaoTestBase.java 2006-05-23 12:19:58 UTC (rev 48) @@ -1,41 +0,0 @@ -// OpenUSS - Open Source University Support System -/** - * This is only generated once! It will never be overwritten. - * You can (and have to!) safely modify it by hand. - */ -package org.openuss.foundation.lecture; - -import org.springframework.test.AbstractTransactionalDataSourceSpringContextTests; -import org.apache.log4j.Logger; - - -/** - * JUnit Test for Spring Hibernate FacultyDao class. - * @see org.openuss.foundation.lecture.FacultyDao - */ -public abstract class FacultyDaoTestBase extends AbstractTransactionalDataSourceSpringContextTests { - - protected static final Logger logger = Logger.getLogger(FacultyDaoTest.class); - - protected FacultyDao facultyDao; - - public FacultyDao getFacultyDao() { - return facultyDao; - } - - public void setFacultyDao(FacultyDao facultyDao) { - this.facultyDao = facultyDao; - } - - public void testFacultyDaoInjection() { - assertNotNull(facultyDao); - } - - protected String[] getConfigLocations() { - return new String[] { - "classpath*:applicationContext.xml", - "classpath*:applicationContext-localDataSource.xml", - "classpath*:applicationContext-beans.xml", - "classpath*:beanRefFactory"}; - } -} \ No newline at end of file Deleted: trunk/openuss/foundation/foundation-core/src/test/java/org/openuss/foundation/lecture/PeriodDaoTestBase.java =================================================================== --- trunk/openuss/foundation/foundation-core/src/test/java/org/openuss/foundation/lecture/PeriodDaoTestBase.java 2006-05-23 10:33:13 UTC (rev 47) +++ trunk/openuss/foundation/foundation-core/src/test/java/org/openuss/foundation/lecture/PeriodDaoTestBase.java 2006-05-23 12:19:58 UTC (rev 48) @@ -1,41 +0,0 @@ -// OpenUSS - Open Source University Support System -/** - * This is only generated once! It will never be overwritten. - * You can (and have to!) safely modify it by hand. - */ -package org.openuss.foundation.lecture; - -import org.springframework.test.AbstractTransactionalDataSourceSpringContextTests; -import org.apache.log4j.Logger; - - -/** - * JUnit Test for Spring Hibernate PeriodDao class. - * @see org.openuss.foundation.lecture.PeriodDao - */ -public abstract class PeriodDaoTestBase extends AbstractTransactionalDataSourceSpringContextTests { - - protected static final Logger logger = Logger.getLogger(PeriodDaoTest.class); - - protected PeriodDao periodDao; - - public PeriodDao getPeriodDao() { - return periodDao; - } - - public void setPeriodDao(PeriodDao periodDao) { - this.periodDao = periodDao; - } - - public void testPeriodDaoInjection() { - assertNotNull(periodDao); - } - - protected String[] getConfigLocations() { - return new String[] { - "classpath*:applicationContext.xml", - "classpath*:applicationContext-localDataSource.xml", - "classpath*:applicationContext-beans.xml", - "classpath*:beanRefFactory"}; - } -} \ No newline at end of file Deleted: trunk/openuss/foundation/foundation-core/src/test/java/org/openuss/foundation/lecture/SubjectDaoTestBase.java =================================================================== --- trunk/openuss/foundation/foundation-core/src/test/java/org/openuss/foundation/lecture/SubjectDaoTestBase.java 2006-05-23 10:33:13 UTC (rev 47) +++ trunk/openuss/foundation/foundation-core/src/test/java/org/openuss/foundation/lecture/SubjectDaoTestBase.java 2006-05-23 12:19:58 UTC (rev 48) @@ -1,41 +0,0 @@ -// OpenUSS - Open Source University Support System -/** - * This is only generated once! It will never be overwritten. - * You can (and have to!) safely modify it by hand. - */ -package org.openuss.foundation.lecture; - -import org.springframework.test.AbstractTransactionalDataSourceSpringContextTests; -import org.apache.log4j.Logger; - - -/** - * JUnit Test for Spring Hibernate SubjectDao class. - * @see org.openuss.foundation.lecture.SubjectDao - */ -public abstract class SubjectDaoTestBase extends AbstractTransactionalDataSourceSpringContextTests { - - protected static final Logger logger = Logger.getLogger(SubjectDaoTest.class); - - protected SubjectDao subjectDao; - - public SubjectDao getSubjectDao() { - return subjectDao; - } - - public void setSubjectDao(SubjectDao subjectDao) { - this.subjectDao = subjectDao; - } - - public void testSubjectDaoInjection() { - assertNotNull(subjectDao); - } - - protected String[] getConfigLocations() { - return new String[] { - "classpath*:applicationContext.xml", - "classpath*:applicationContext-localDataSource.xml", - "classpath*:applicationContext-beans.xml", - "classpath*:beanRefFactory"}; - } -} \ No newline at end of file Modified: trunk/openuss/foundation/foundation-model/pom.xml =================================================================== --- trunk/openuss/foundation/foundation-model/pom.xml 2006-05-23 10:33:13 UTC (rev 47) +++ trunk/openuss/foundation/foundation-model/pom.xml 2006-05-23 12:19:58 UTC (rev 48) @@ -100,7 +100,7 @@ </core.tests.manual.dir> <!-- @TODO: Need to be separated --> <core.tests.generated.dir> - ${pom.basedir}/../foundation-core/src/test/java + ${pom.basedir}/../foundation-core/target/test-src </core.tests.generated.dir> <web.generated.dir> ${pom.basedir}/../foundation-web/target/src Modified: trunk/openuss/foundation/foundation-web/build.xml =================================================================== --- trunk/openuss/foundation/foundation-web/build.xml 2006-05-23 10:33:13 UTC (rev 47) +++ trunk/openuss/foundation/foundation-web/build.xml 2006-05-23 12:19:58 UTC (rev 48) @@ -11,12 +11,12 @@ </target> <target name="install"> <exec executable="mvn.bat"> - <arg line="-e install"/> + <arg line="install"/> </exec> </target> <target name="eclipse"> <exec executable="mvn.bat"> - <arg line="eclipse:eclipse"/> + <arg line="eclipse:eclipse -DdownloadSources=true -Dwtpversion=1.0"/> </exec> </target> <target name="tomcat start"> Modified: trunk/openuss/foundation/foundation-web/pom.xml =================================================================== --- trunk/openuss/foundation/foundation-web/pom.xml 2006-05-23 10:33:13 UTC (rev 47) +++ trunk/openuss/foundation/foundation-web/pom.xml 2006-05-23 12:19:58 UTC (rev 48) @@ -1,8 +1,8 @@ <?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/maven-v4_0_0.xsd"> - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.openuss.foundation</groupId> @@ -16,30 +16,23 @@ <dependencies> <dependency> - <groupId>org.ejosa</groupId> - <artifactId>piggybank-api</artifactId> - <version>1.0-SNAPSHOT</version> + <groupId>org.openuss.foundation</groupId> + <artifactId>foundation-core</artifactId> + <version>${pom.version}</version> </dependency> <dependency> - <groupId>org.ejosa</groupId> - <artifactId>piggybank-core</artifactId> - <version>1.0-SNAPSHOT</version> + <groupId>org.apache.myfaces.core</groupId> + <artifactId>myfaces-api</artifactId> </dependency> <dependency> - <groupId>myfaces</groupId> - <artifactId>myfaces-all</artifactId> - <version>[1.1.1,)</version> + <groupId>org.apache.myfaces.core</groupId> + <artifactId>myfaces-impl</artifactId> </dependency> <dependency> - <groupId>myfaces</groupId> + <groupId>org.apache.myfaces.tomahawk</groupId> <artifactId>tomahawk</artifactId> - <version>[1.1.1,)</version> </dependency> - <dependency> - <groupId>opensymphony</groupId> - <artifactId>oscache</artifactId> - <version>2.1.1</version> - </dependency> + </dependencies> - + </project> Modified: trunk/openuss/foundation/pom.xml =================================================================== --- trunk/openuss/foundation/pom.xml 2006-05-23 10:33:13 UTC (rev 47) +++ trunk/openuss/foundation/pom.xml 2006-05-23 12:19:58 UTC (rev 48) @@ -45,7 +45,7 @@ <module>foundation-model</module> <module>foundation-api</module> <module>foundation-core</module> - <module>foundation-web</module> +<!-- <module>foundation-web</module>--> </modules> </project> Modified: trunk/openuss/pom.xml =================================================================== --- trunk/openuss/pom.xml 2006-05-23 10:33:13 UTC (rev 47) +++ trunk/openuss/pom.xml 2006-05-23 12:19:58 UTC (rev 48) @@ -68,12 +68,32 @@ <artifactId>hibernate</artifactId> <version>[3.1.3,)</version> </dependency> + <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>[2.1,)</version> </dependency> + <dependency> + <groupId>org.apache.myfaces.core</groupId> + <artifactId>myfaces-api</artifactId> + <version>[1.1.3,)</version> + </dependency> + <dependency> + <groupId>org.apache.myfaces.core</groupId> + <artifactId>myfaces-impl</artifactId> + <version>[1.1.3,)</version> + </dependency> + <dependency> + <groupId>org.apache.myfaces.tomahawk</groupId> + <artifactId>tomahawk</artifactId> + <version>[1.1.2,)</version> + </dependency> + + + + <dependency> <groupId>org.springframework</groupId> <artifactId>spring</artifactId> <version>[2.0-m1,)</version> @@ -185,8 +205,6 @@ <version>3.2-RC1-SNAPSHOT</version> <scope>runtime</scope> </dependency> - - </dependencies> </dependencyManagement> @@ -210,6 +228,7 @@ <version>3.2-RC1-SNAPSHOT</version> <executions> <execution> + <id>add-source</id> <goals> <goal>add-source</goal> </goals> @@ -357,6 +376,13 @@ <url>http://repo1.ibilio.org/maven2</url> </repository> <repository> + <id>myfaces-apache</id> + <name>myfaces-apache</name> + <url> + http://myfaces.zones.apache.org/dist/maven-repository/ + </url> + </repository> + <repository> <id>apache</id> <name>apache</name> <url>http://cvs.apache.org/repository</url> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <id...@us...> - 2006-05-25 20:58:51
|
Revision: 55 Author: idueppe Date: 2006-05-25 13:58:37 -0700 (Thu, 25 May 2006) ViewCVS: http://svn.sourceforge.net/openuss/?rev=55&view=rev Log Message: ----------- pom improvements Modified Paths: -------------- trunk/openuss/foundation/foundation-api/pom.xml trunk/openuss/foundation/foundation-core/pom.xml trunk/openuss/foundation/pom.xml trunk/openuss/pom.xml trunk/openuss/readme.txt Modified: trunk/openuss/foundation/foundation-api/pom.xml =================================================================== --- trunk/openuss/foundation/foundation-api/pom.xml 2006-05-24 19:36:07 UTC (rev 54) +++ trunk/openuss/foundation/foundation-api/pom.xml 2006-05-25 20:58:37 UTC (rev 55) @@ -19,7 +19,6 @@ <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> - <version>1.7.0</version> </dependency> <dependency> <groupId>org.openuss.framework</groupId> Modified: trunk/openuss/foundation/foundation-core/pom.xml =================================================================== --- trunk/openuss/foundation/foundation-core/pom.xml 2006-05-24 19:36:07 UTC (rev 54) +++ trunk/openuss/foundation/foundation-core/pom.xml 2006-05-25 20:58:37 UTC (rev 55) @@ -36,7 +36,6 @@ <dependency> <groupId>org.springframework</groupId> <artifactId>spring-hibernate3</artifactId> - <version>2.0-m1</version> <exclusions> <exclusion> <groupId>ehcache</groupId> @@ -60,7 +59,6 @@ </exclusion> </exclusions> </dependency> - <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> @@ -80,32 +78,6 @@ <artifactId>spring-mock</artifactId> <scope>test</scope> </dependency> - </dependencies> - - <build> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <executions> - <execution> - <id>add-test-source</id> - <phase>generate-test-sources</phase> - <goals> - <goal>add-test-source</goal> - </goals> - <configuration> - <sources> - <source> - ${project.build.directory}/test-src - </source> - </sources> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> </project> Modified: trunk/openuss/foundation/pom.xml =================================================================== --- trunk/openuss/foundation/pom.xml 2006-05-24 19:36:07 UTC (rev 54) +++ trunk/openuss/foundation/pom.xml 2006-05-25 20:58:37 UTC (rev 55) @@ -21,26 +21,6 @@ <url>http://openuss.sourceforge.net</url> </organization> - <build> - <plugins> - <plugin> - <groupId>org.andromda.maven.plugins</groupId> - <artifactId>andromda-multi-source-plugin</artifactId> - </plugin> - </plugins> - <resources> - <resource> - <directory>target/src</directory> - <excludes> - <exclude>**/*.java</exclude> - </excludes> - </resource> - <resource> - <directory>src/main/resources</directory> - </resource> - </resources> - </build> - <modules> <module>foundation-model</module> <module>foundation-api</module> Modified: trunk/openuss/pom.xml =================================================================== --- trunk/openuss/pom.xml 2006-05-24 19:36:07 UTC (rev 54) +++ trunk/openuss/pom.xml 2006-05-25 20:58:37 UTC (rev 55) @@ -96,12 +96,12 @@ <dependency> <groupId>org.springframework</groupId> <artifactId>spring</artifactId> - <version>[2.0-m1,)</version> + <version>2.0-m4</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-hibernate3</artifactId> - <version>[2.0-m1,)</version> + <version>2.0-m4</version> <exclusions> <exclusion> <groupId>javax.persistence</groupId> @@ -109,6 +109,11 @@ </exclusion> </exclusions> </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-mock</artifactId> + <version>2.0-m4</version> + </dependency> <dependency> <groupId>jaybird</groupId> @@ -122,11 +127,6 @@ <version>1.2</version> </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-mock</artifactId> - <version>[2.0-m1,)</version> - </dependency> <dependency> <groupId>log4j</groupId> @@ -222,26 +222,6 @@ <plugins> <plugin> <groupId>org.andromda.maven.plugins</groupId> - <artifactId> - andromda-multi-source-plugin - </artifactId> - <version>3.2-SNAPSHOT</version> - <executions> - <execution> - <id>add-source</id> - <goals> - <goal>add-source</goal> - </goals> - <configuration> - <sourceDirectories> - <directory>target/src</directory> - </sourceDirectories> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.andromda.maven.plugins</groupId> <artifactId>andromda-maven-plugin</artifactId> <version>3.2-SNAPSHOT</version> </plugin> @@ -250,79 +230,48 @@ <artifactId>andromdapp-maven-plugin</artifactId> <version>3.2-SNAPSHOT</version> </plugin> - <plugin> - <inherited>true</inherited> - <groupId>org.codehaus.cargo</groupId> - <artifactId>cargo-maven2-plugin</artifactId> - <executions> - <execution> - <id>verify-deploy</id> - <phase>install</phase> - <goals> - <goal>deployer-deploy</goal> - </goals> - </execution> - <execution> - <id>clean-undeploy</id> - <phase>pre-clean</phase> - <goals> - <goal>deployer-undeploy</goal> - </goals> - </execution> - </executions> - - <configuration> - - <!-- Container Configuration --> - <container> - <containerId>tomcat5x</containerId> - <type>remote</type> - </container> - - <!-- Configuration to use with the container --> - <configuration> - <type>runtime</type> - <properties> - <cargo.tomcat.manager.url> - http://localhost:8080/manager - </cargo.tomcat.manager.url> - <cargo.remote.username> - manager - </cargo.remote.username> - <cargo.remote.password> - manager - </cargo.remote.password> - </properties> - </configuration> - - <!-- Deployer and Deployables configuration --> - <deployer> - <type>remote</type> - <deployables> - <deployable> - <groupId>${pom.groupId}</groupId> - <artifactId> - ${pom.artifactId} - </artifactId> - <type>war</type> - </deployable> - </deployables> - </deployer> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>tomcat-maven-plugin</artifactId> - <configuration> - <mode>both</mode> - </configuration> - <version>1.0-SNAPSHOT</version> - </plugin> </plugins> + </pluginManagement> <plugins> <plugin> + <groupId>org.andromda.maven.plugins</groupId> + <artifactId>andromda-multi-source-plugin</artifactId> + <version>3.2-SNAPSHOT</version> + <executions> + <execution> + <id>add-source</id> + <goals> + <goal>add-source</goal> + </goals> + <configuration> + <sourceDirectories> + <directory>target/src</directory> + </sourceDirectories> + </configuration> + </execution> + </executions> + </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <phase>generate-sources</phase> + <configuration> + <target></target> + <testSourceRoot> + ${project.build.directory}/test-src + </testSourceRoot> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> @@ -330,6 +279,17 @@ </configuration> </plugin> </plugins> + <resources> + <resource> + <directory>target/src</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + <resource> + <directory>src/main/resources</directory> + </resource> + </resources> </build> <reporting> @@ -369,19 +329,26 @@ <id>ibiblio</id> <name>ibiblio</name> <url>http://repo1.ibilio.org/maven2</url> - <releases><enabled>true</enabled></releases> - <snapshots><enabled>true</enabled></snapshots> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> </repository> <repository> <id>andromda</id> <name>AndroMDA Repository</name> <url>http://team.andromda.org/maven2</url> - <snapshots><enabled>true</enabled></snapshots> + <snapshots> + <enabled>true</enabled> + </snapshots> </repository> <repository> <id>myfaces-apache</id> <name>myfaces-apache</name> - <url>http://myfaces.zones.apache.org/dist/maven-repository/ + <url> + http://myfaces.zones.apache.org/dist/maven-repository/ </url> </repository> <repository> @@ -392,10 +359,23 @@ </repositories> <pluginRepositories> <pluginRepository> + <id>ibiblio</id> + <name>ibiblio</name> + <url>http://repo1.ibilio.org/maven2</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </pluginRepository> + <pluginRepository> <id>andromda</id> <name>AndroMDA Repository</name> <url>http://team.andromda.org/maven2</url> - <snapshots><enabled>true</enabled></snapshots> + <snapshots> + <enabled>true</enabled> + </snapshots> </pluginRepository> </pluginRepositories> <prerequisites> Modified: trunk/openuss/readme.txt =================================================================== --- trunk/openuss/readme.txt 2006-05-24 19:36:07 UTC (rev 54) +++ trunk/openuss/readme.txt 2006-05-25 20:58:37 UTC (rev 55) @@ -17,8 +17,8 @@ user: sysdba password: masterkey +The database schema will be created automatically by hibernate. - Building: ----------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <id...@us...> - 2006-05-15 15:09:44
|
Revision: 17 Author: idueppe Date: 2006-05-15 08:09:33 -0700 (Mon, 15 May 2006) ViewCVS: http://svn.sourceforge.net/openuss/?rev=17&view=rev Log Message: ----------- setup openuss 3.0 trunk Modified Paths: -------------- trunk/openuss/foundation/foundation-core/.classpath trunk/openuss/foundation/foundation-core/.project Added Paths: ----------- trunk/openuss/.classpath trunk/openuss/.project trunk/openuss/foundation/foundation-api/.classpath trunk/openuss/foundation/foundation-api/.project Added: trunk/openuss/.classpath =================================================================== --- trunk/openuss/.classpath (rev 0) +++ trunk/openuss/.classpath 2006-05-15 15:09:33 UTC (rev 17) @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path=""/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="output" path=""/> +</classpath> Added: trunk/openuss/.project =================================================================== --- trunk/openuss/.project (rev 0) +++ trunk/openuss/.project 2006-05-15 15:09:33 UTC (rev 17) @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>openuss</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> Added: trunk/openuss/foundation/foundation-api/.classpath =================================================================== --- trunk/openuss/foundation/foundation-api/.classpath (rev 0) +++ trunk/openuss/foundation/foundation-api/.classpath 2006-05-15 15:09:33 UTC (rev 17) @@ -0,0 +1,8 @@ +<classpath> + <classpathentry kind="src" path="target/src"/> + <classpathentry kind="output" path="target/classes"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.2/junit-3.8.2.jar" sourcepath="M2_REPO/junit/junit/3.8.2/junit-3.8.2-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar" sourcepath="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar" sourcepath="M2_REPO/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3-sources.jar"/> +</classpath> \ No newline at end of file Added: trunk/openuss/foundation/foundation-api/.project =================================================================== --- trunk/openuss/foundation/foundation-api/.project (rev 0) +++ trunk/openuss/foundation/foundation-api/.project 2006-05-15 15:09:33 UTC (rev 17) @@ -0,0 +1,14 @@ +<projectDescription> + <name>foundation-api</name> + <comment/> + <projects/> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments/> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> \ No newline at end of file Modified: trunk/openuss/foundation/foundation-core/.classpath =================================================================== --- trunk/openuss/foundation/foundation-core/.classpath 2006-05-15 15:07:35 UTC (rev 16) +++ trunk/openuss/foundation/foundation-core/.classpath 2006-05-15 15:09:33 UTC (rev 17) @@ -1,26 +1,8 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="src" path="src/main/java"/> - <classpathentry kind="src" path="src/test/java"/> - <classpathentry kind="src" path="target/src"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> - <classpathentry sourcepath="M2_REPO/commons-lang/commons-lang/2.1/commons-lang-2.1-sources.jar" kind="var" path="M2_REPO/commons-lang/commons-lang/2.1/commons-lang-2.1.jar"/> - <classpathentry sourcepath="/M2_REPO/org/springframework/spring/2.0-m1/spring-2.0-m1-sources.jar" kind="var" path="M2_REPO/org/springframework/spring/2.0-m1/spring-2.0-m1.jar"/> - <classpathentry sourcepath="M2_REPO/junit/junit/3.8.2/junit-3.8.2-sources.jar" kind="var" path="M2_REPO/junit/junit/3.8.2/junit-3.8.2.jar"/> - <classpathentry sourcepath="M2_REPO/javax/transaction/jta/1.0.1B/jta-1.0.1B-sources.jar" kind="var" path="M2_REPO/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar"/> - <classpathentry sourcepath="M2_REPO/org/springframework/spring-mock/2.0-m1/spring-mock-2.0-m1-sources.jar" kind="var" path="M2_REPO/org/springframework/spring-mock/2.0-m1/spring-mock-2.0-m1.jar"/> - <classpathentry sourcepath="M2_REPO/antlr/antlr/2.7.6rc1/antlr-2.7.6rc1-sources.jar" kind="var" path="M2_REPO/antlr/antlr/2.7.6rc1/antlr-2.7.6rc1.jar"/> - <classpathentry sourcepath="M2_REPO/ehcache/ehcache/1.1/ehcache-1.1-sources.jar" kind="var" path="M2_REPO/ehcache/ehcache/1.1/ehcache-1.1.jar"/> - <classpathentry kind="src" path="/foundation-api"/> - <classpathentry sourcepath="M2_REPO/opensymphony/oscache/2.1.1/oscache-2.1.1-sources.jar" kind="var" path="M2_REPO/opensymphony/oscache/2.1.1/oscache-2.1.1.jar"/> - <classpathentry sourcepath="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-sources.jar" kind="var" path="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"/> - <classpathentry sourcepath="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1-sources.jar" kind="var" path="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar"/> - <classpathentry sourcepath="M2_REPO/org/hibernate/hibernate/3.1.2/hibernate-3.1.2-sources.jar" kind="var" path="M2_REPO/org/hibernate/hibernate/3.1.2/hibernate-3.1.2.jar"/> - <classpathentry kind="var" path="M2_REPO/jaybird/jaybird-full/2.0.1/jaybird-full-2.0.1.jar"/> - <classpathentry sourcepath="M2_REPO/org/springframework/spring-hibernate3/2.0-m1/spring-hibernate3-2.0-m1-sources.jar" kind="var" path="M2_REPO/org/springframework/spring-hibernate3/2.0-m1/spring-hibernate3-2.0-m1.jar"/> - <classpathentry sourcepath="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar" kind="var" path="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar"/> - <classpathentry sourcepath="M2_REPO/cglib/cglib/2.1_3/cglib-2.1_3-sources.jar" kind="var" path="M2_REPO/cglib/cglib/2.1_3/cglib-2.1_3.jar"/> - <classpathentry sourcepath="M2_REPO/asm/asm/1.5.3/asm-1.5.3-sources.jar" kind="var" path="M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar"/> - <classpathentry sourcepath="M2_REPO/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1-sources.jar" kind="var" path="M2_REPO/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.jar"/> - <classpathentry kind="output" path="target/classes"/> -</classpath> +<classpath> + <classpathentry kind="src" path="src/main/java"/> + <classpathentry kind="src" path="src/test/java" output="target/test-classes"/> + <classpathentry kind="src" path="src/test/resources" output="target/test-classes"/> + <classpathentry kind="src" path="target/src"/> + <classpathentry kind="output" path="target/classes"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> +</classpath> \ No newline at end of file Modified: trunk/openuss/foundation/foundation-core/.project =================================================================== --- trunk/openuss/foundation/foundation-core/.project 2006-05-15 15:07:35 UTC (rev 16) +++ trunk/openuss/foundation/foundation-core/.project 2006-05-15 15:09:33 UTC (rev 17) @@ -1,9 +1,7 @@ <projectDescription> <name>foundation-core</name> <comment/> - <projects> - <project>foundation-api</project> - </projects> + <projects/> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <id...@us...> - 2006-05-19 16:20:39
|
Revision: 32 Author: idueppe Date: 2006-05-19 09:20:30 -0700 (Fri, 19 May 2006) ViewCVS: http://svn.sourceforge.net/openuss/?rev=32&view=rev Log Message: ----------- setup openuss 3.0 trunk Modified Paths: -------------- trunk/openuss/build.xml trunk/openuss/pom.xml Added Paths: ----------- trunk/openuss/readme.txt Modified: trunk/openuss/build.xml =================================================================== --- trunk/openuss/build.xml 2006-05-19 16:18:06 UTC (rev 31) +++ trunk/openuss/build.xml 2006-05-19 16:20:30 UTC (rev 32) @@ -6,13 +6,18 @@ </target> <target name="install"> <exec executable="mvn.bat"> - <arg line="-o install"/> + <arg line="-e install"/> </exec> </target> - <target name="clean"> + <target name="clean-all"> <exec executable="mvn.bat"> <arg line="-o clean"/> </exec> + <delete verbose="true" includeemptydirs="true"> + <fileset dir="."> + <include name="**/andromda*.log"/> + </fileset> + </delete> </target> <target name="site"> <exec executable="mvn.bat"> Modified: trunk/openuss/pom.xml =================================================================== --- trunk/openuss/pom.xml 2006-05-19 16:18:06 UTC (rev 31) +++ trunk/openuss/pom.xml 2006-05-19 16:20:30 UTC (rev 32) @@ -63,7 +63,7 @@ <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate</artifactId> - <version>[3.1.2,)</version> + <version>[3.1.3,)</version> </dependency> <dependency> <groupId>commons-lang</groupId> @@ -90,22 +90,26 @@ <dependency> <groupId>jaybird</groupId> <artifactId>jaybird-full</artifactId> - <scope>test</scope> <version>[2.0.1,)</version> </dependency> + <dependency> - <groupId>opensymphony</groupId> - <artifactId>oscache</artifactId> - <scope>test</scope> - <version>2.1.1</version> + <groupId>net.sf.ehcache</groupId> + <artifactId>ehcache</artifactId> + <version>1.2</version> </dependency> + <dependency> <groupId>org.springframework</groupId> <artifactId>spring-mock</artifactId> - <scope>test</scope> - <version>2.0-m1</version> + <version>[2.0-m1,)</version> </dependency> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <version>[1.2.9,)</version> + </dependency> <!-- AndroMDA Dependencies --> <dependency> @@ -354,16 +358,6 @@ <name>apache</name> <url>http://cvs.apache.org/repository</url> </repository> - <repository> - <id>Maven Snapshots</id> - <url>http://snapshots.maven.codehaus.org/maven2/</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - <releases> - <enabled>true</enabled> - </releases> - </repository> </repositories> <pluginRepositories> <pluginRepository> @@ -371,16 +365,6 @@ <name>AndroMDA Repository</name> <url>http://team.andromda.org/maven2</url> </pluginRepository> - <pluginRepository> - <id>Maven Snapshots</id> - <url>http://snapshots.maven.codehaus.org/maven2/</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - <releases> - <enabled>true</enabled> - </releases> - </pluginRepository> </pluginRepositories> <prerequisites> <maven>2.0.1</maven> Added: trunk/openuss/readme.txt =================================================================== --- trunk/openuss/readme.txt (rev 0) +++ trunk/openuss/readme.txt 2006-05-19 16:20:30 UTC (rev 32) @@ -0,0 +1,6 @@ +OpenUSS - Open University Support System +========================================= + +The source code can be build with maven 2.0. + +@TODO Describe how to build and setup the development environment. \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <id...@us...> - 2006-05-24 19:16:03
|
Revision: 52 Author: idueppe Date: 2006-05-24 12:15:49 -0700 (Wed, 24 May 2006) ViewCVS: http://svn.sourceforge.net/openuss/?rev=52&view=rev Log Message: ----------- improved pom configuration - now building openuss from scratch (with an empty repository) should working. Just follow the instrunction within the readme.txt file. Modified Paths: -------------- trunk/openuss/pom.xml trunk/openuss/readme.txt Modified: trunk/openuss/pom.xml =================================================================== --- trunk/openuss/pom.xml 2006-05-24 18:50:58 UTC (rev 51) +++ trunk/openuss/pom.xml 2006-05-24 19:15:49 UTC (rev 52) @@ -138,14 +138,14 @@ <dependency> <groupId>org.andromda.profiles.uml14</groupId> <artifactId>andromda-profile</artifactId> - <version>3.2-RC1-SNAPSHOT</version> + <version>3.2-SNAPSHOT</version> <type>xml.zip</type> <scope>runtime</scope> </dependency> <dependency> <groupId>org.andromda</groupId> <artifactId>andromda-core</artifactId> - <version>3.2-RC1-SNAPSHOT</version> + <version>3.2-SNAPSHOT</version> <exclusions> <exclusion> <groupId>xml-apis</groupId> @@ -168,41 +168,41 @@ <dependency> <groupId>org.andromda.translationlibraries</groupId> <artifactId>andromda-ocl-translation-core</artifactId> - <version>3.2-RC1-SNAPSHOT</version> + <version>3.2-SNAPSHOT</version> </dependency> <dependency> <groupId>org.andromda.translationlibraries</groupId> <artifactId>andromda-ocl-validation-library</artifactId> - <version>3.2-RC1-SNAPSHOT</version> + <version>3.2-SNAPSHOT</version> </dependency> <dependency> <groupId>org.andromda.cartridges</groupId> <artifactId>andromda-spring-cartridge</artifactId> - <version>3.2-RC1-SNAPSHOT</version> + <version>3.2-SNAPSHOT</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.andromda.cartridges</groupId> <artifactId>andromda-hibernate-cartridge</artifactId> - <version>3.2-RC1-SNAPSHOT</version> + <version>3.2-SNAPSHOT</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.andromda.cartridges</groupId> <artifactId>andromda-jsf-cartridge</artifactId> - <version>3.2-RC1-SNAPSHOT</version> + <version>3.2-SNAPSHOT</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.andromda.cartridges</groupId> <artifactId>andromda-java-cartridge</artifactId> - <version>3.2-RC1-SNAPSHOT</version> + <version>3.2-SNAPSHOT</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.andromda.translationlibraries</groupId> <artifactId>andromda-ocl-query-library</artifactId> - <version>3.2-RC1-SNAPSHOT</version> + <version>3.2-SNAPSHOT</version> <scope>runtime</scope> </dependency> </dependencies> @@ -225,7 +225,7 @@ <artifactId> andromda-multi-source-plugin </artifactId> - <version>3.2-RC1-SNAPSHOT</version> + <version>3.2-SNAPSHOT</version> <executions> <execution> <id>add-source</id> @@ -243,12 +243,12 @@ <plugin> <groupId>org.andromda.maven.plugins</groupId> <artifactId>andromda-maven-plugin</artifactId> - <version>3.2-RC1-SNAPSHOT</version> + <version>3.2-SNAPSHOT</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>andromdapp-maven-plugin</artifactId> - <version>3.2-RC1-SNAPSHOT</version> + <version>3.2-SNAPSHOT</version> </plugin> <plugin> <inherited>true</inherited> @@ -366,20 +366,22 @@ <repositories> <repository> + <id>ibiblio</id> + <name>ibiblio</name> + <url>http://repo1.ibilio.org/maven2</url> + <releases><enabled>true</enabled></releases> + <snapshots><enabled>true</enabled></snapshots> + </repository> + <repository> <id>andromda</id> <name>AndroMDA Repository</name> <url>http://team.andromda.org/maven2</url> + <snapshots><enabled>true</enabled></snapshots> </repository> <repository> - <id>ibiblio</id> - <name>ibiblio</name> - <url>http://repo1.ibilio.org/maven2</url> - </repository> - <repository> <id>myfaces-apache</id> <name>myfaces-apache</name> - <url> - http://myfaces.zones.apache.org/dist/maven-repository/ + <url>http://myfaces.zones.apache.org/dist/maven-repository/ </url> </repository> <repository> @@ -393,6 +395,7 @@ <id>andromda</id> <name>AndroMDA Repository</name> <url>http://team.andromda.org/maven2</url> + <snapshots><enabled>true</enabled></snapshots> </pluginRepository> </pluginRepositories> <prerequisites> Modified: trunk/openuss/readme.txt =================================================================== --- trunk/openuss/readme.txt 2006-05-24 18:50:58 UTC (rev 51) +++ trunk/openuss/readme.txt 2006-05-24 19:15:49 UTC (rev 52) @@ -1,6 +1,33 @@ OpenUSS - Open University Support System ========================================= -The source code can be build with maven 2.0. +Building OpenUSS from source code: -@TODO Describe how to build and setup the development environment. \ No newline at end of file +Requisites: +------------ + +Maven 2.0.4 +Java SE 5 Update 6 +Ant 1.6.5 +Firebird 1.5.3 + +Installed empty Firebird Database that is reachable with + +url: jdbc:firebirdsql:localhost:openuss30 +user: sysdba +password: masterkey + + + +Building: +----------- + +1. Install missing libraries. +You call install needed libraries that currently cannot find in public repositories. +To install these libraries run the install-missing ant script from {openuss}/tools/missing-dependencies} folder. + +2. Cleaning current source folder +mvn clean + +3. Building current source folder +mvn install \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <id...@us...> - 2006-06-01 13:25:28
|
Revision: 60 Author: idueppe Date: 2006-06-01 06:07:45 -0700 (Thu, 01 Jun 2006) ViewCVS: http://svn.sourceforge.net/openuss/?rev=60&view=rev Log Message: ----------- improvements Modified Paths: -------------- trunk/openuss/pom.xml trunk/openuss/readme.txt Modified: trunk/openuss/pom.xml =================================================================== --- trunk/openuss/pom.xml 2006-06-01 13:03:46 UTC (rev 59) +++ trunk/openuss/pom.xml 2006-06-01 13:07:45 UTC (rev 60) @@ -114,6 +114,11 @@ <artifactId>spring-mock</artifactId> <version>2.0-m4</version> </dependency> + <dependency> + <groupId>org.acegisecurity</groupId> + <artifactId>acegi-security</artifactId> + <version>[1.0.0-RC2,)</version> + </dependency> <dependency> <groupId>jaybird</groupId> @@ -326,7 +331,7 @@ <repositories> <repository> - <id>ibiblio</id> + <id>central</id> <name>ibiblio</name> <url>http://www.ibiblio.org/maven2</url> <releases> @@ -337,6 +342,12 @@ </snapshots> </repository> <repository> + <id>java.net</id> + <name>maven-repository.dev.java.net</name> + <url>https://maven-repository.dev.java.net/nonav/repository/</url> + <layout>legacy</layout> + </repository> + <repository> <id>andromda</id> <name>AndroMDA Repository</name> <url>http://team.andromda.org/maven2</url> Modified: trunk/openuss/readme.txt =================================================================== --- trunk/openuss/readme.txt 2006-06-01 13:03:46 UTC (rev 59) +++ trunk/openuss/readme.txt 2006-06-01 13:07:45 UTC (rev 60) @@ -19,6 +19,9 @@ The database schema will be created automatically by hibernate. +Be sure that the java command at your shell points to Java SE 5. +Check it by typing java -version into your shell. + Building: ----------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |