2
0
Fork 0

[svn r368] updated maven names

This commit is contained in:
willemc 2008-12-07 19:26:44 +01:00
parent 818ed10649
commit a9520b3804
11 changed files with 365 additions and 174 deletions

View file

@ -1,24 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="src" output="www/WEB-INF/classes" path="src"/> <classpathentry kind="src" output="target/classes" path="src/main/java"/>
<classpathentry kind="src" output="www/WEB-INF/classes" path="tests"/> <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry kind="lib" path="lib/idcanet-x4o-bin.jar"/> <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
<classpathentry kind="lib" path="lib/juel-2.1.0-rc1.jar"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="lib" path="lib/juel-2.1.0-rc1-impl.jar"/>
<classpathentry kind="lib" path="lib/idcanet-xtes-bin.jar"/>
<classpathentry kind="lib" path="lib/idcanet-serv5-bin.jar"/>
<classpathentry kind="lib" path="lib/hibernate3.jar"/>
<classpathentry kind="lib" path="lib/jgoodies-binding.jar"/>
<classpathentry kind="con" path="SWT_CONTAINER/JFACE/PLATFORM"/> <classpathentry kind="con" path="SWT_CONTAINER/JFACE/PLATFORM"/>
<classpathentry kind="lib" path="lib/idcanet-jmx-bin.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/> <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="lib" path="lib/idcanet-fff-bin.jar"/>
<classpathentry kind="lib" path="lib/hibernate-annotations.jar"/>
<classpathentry kind="lib" path="lib/microba-0.4.2-bin.jar"/>
<classpathentry kind="lib" path="lib/hibernate-entitymanager.jar"/>
<classpathentry kind="lib" path="lib/ejb3-persistence.jar"/>
<classpathentry kind="lib" path="lib/ldap.jar"/>
<classpathentry kind="con" path="melibrary.com.genuitec.eclipse.j2eedt.core.MYECLIPSE_JAVAEE_5_CONTAINER"/> <classpathentry kind="con" path="melibrary.com.genuitec.eclipse.j2eedt.core.MYECLIPSE_JAVAEE_5_CONTAINER"/>
<classpathentry kind="output" path="www/WEB-INF/classes"/> <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/>
</classpath> </classpath>

View file

@ -35,8 +35,14 @@
<arguments> <arguments>
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec> </buildSpec>
<natures> <natures>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
<nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature> <nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
<nature>com.genuitec.eclipse.j2eedt.core.webnature</nature> <nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature> <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

500
pom.xml
View file

@ -1,166 +1,362 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.idcanet</groupId>
<artifactId>vasc</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Vasc with maven</name>
<url>http://maven.apache.org</url>
<modelVersion>4.0.0</modelVersion>
<repositories> <groupId>com.idcanet.vasc</groupId>
<repository> <artifactId>vasc-main</artifactId>
<id>maven.dev.java.net</id> <packaging>jar</packaging>
<name>Java.net Repository for Maven</name> <version>0.8-SNAPSHOT</version>
<url>http://download.java.net/maven/2/</url> <name>vasc</name>
<layout>default</layout> <description>Simple crud'ing for all.</description>
</repository> <url>http://www.x4o.org/vasc</url>
<organization>
<name>IDCA</name>
<url>http://www.idca.nl</url>
</organization>
<issueManagement>
<system>Trac</system>
<url>https://decaid.idca.nl/trac/oss/</url>
</issueManagement>
<scm>
<connection>scm:svn:https://decaid.idca.nl/svn/oss/com.idcanet.vasc/</connection>
<developerConnection>scm:svn:https://decaid.idca.nl/svn/oss/com.idcanet.vasc/</developerConnection>
<url>https://decaid.idca.nl/svn/oss/com.idcanet.vasc/</url>
</scm>
<developers>
<developer>
<id>willem.cazander</id>
<name>Willem Cazander</name>
<email>w.cazander@gmail.com</email>
<organization>IDCA</organization>
<timezone>+2</timezone>
<roles>
<role>Project Manager</role>
<role>Architect</role>
</roles>
</developer>
<developer>
<id>sqrbass</id>
<name>Bas van Oostveen</name>
<email></email>
<organization>IDCA</organization>
<timezone>+2</timezone>
<roles>
<role>Architect Reviewer</role>
</roles>
</developer>
</developers>
<repositories>
<repository> <repository>
<id>maven.jboss.org</id> <id>jboss</id>
<name>JBoss.org maven2 Repository</name> <name>JBoss Repository Switchboard</name>
<url>http://repository.jboss.org/maven2/</url> <layout>default</layout>
<layout>default</layout> <url>http://repository.jboss.com/maven2/</url>
</repository> <releases><enabled>true</enabled></releases>
<snapshots><enabled>false</enabled></snapshots>
</repositories> </repository>
<repository>
<id>ops4j-microba</id>
<dependencies> <name>ops4j.org</name>
<dependency> <layout>default</layout>
<groupId>junit</groupId> <url>http://repository.ops4j.org/maven2/</url>
<artifactId>junit</artifactId> <snapshots><enabled>false</enabled></snapshots>
<version>4.0</version> </repository>
<scope>test</scope> </repositories>
</dependency>
<dependency> <dependencies>
<groupId>dk.eobjects.metamodel</groupId>
<artifactId>MetaModel-full</artifactId> <!-- X4O dependcy -->
<version>1.1.1</version> <dependency>
</dependency> <groupId>com.idcanet.x4o</groupId>
<artifactId>x4o-main</artifactId>
<dependency>
<groupId>de.odysseus.juel</groupId>
<artifactId>juel</artifactId>
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>com.novell.ldap</groupId>
<artifactId>jldap</artifactId>
<version>4.3</version>
</dependency>
<dependency>
<groupId>com.idcanet</groupId>
<artifactId>x4o</artifactId>
<version>0.8-SNAPSHOT</version> <version>0.8-SNAPSHOT</version>
</dependency> </dependency>
</dependencies>
<build> <!-- Serv5 depency -->
<directory>target</directory> <dependency>
<outputDirectory>target/classes</outputDirectory> <groupId>com.idcanet.serv5</groupId>
<finalName>${project.artifactId}-${project.version}</finalName> <artifactId>serv5-main</artifactId>
<testOutputDirectory>target/test-classes</testOutputDirectory> <version>0.6-SNAPSHOT</version>
<sourceDirectory>src/</sourceDirectory> </dependency>
<testSourceDirectory>tests/</testSourceDirectory>
<!-- <!-- Xtes depency -->
<scriptSourceDirectory>build/</scriptSourceDirectory> <dependency>
<testSourceDirectory>test/</testSourceDirectory> <groupId>com.idcanet.xtes</groupId>
<resources> <artifactId>xtes-main</artifactId>
<resource> <version>0.6-SNAPSHOT</version>
<directory>src/main/resources</directory> </dependency>
</resource>
</resources> <!-- FFF depency -->
<testResources> <dependency>
<testResource> <groupId>com.idcanet.fff</groupId>
<directory>src/test/resources</directory> <artifactId>fff-main</artifactId>
</testResource> <version>0.8-SNAPSHOT</version>
</testResources> </dependency>
<!-- Ldap depency -->
<dependency>
<groupId>com.novell.ldap</groupId>
<artifactId>jldap</artifactId>
<version>4.3</version>
</dependency>
<!-- Swing date editor depency -->
<dependency>
<groupId>com.michaelbaranov</groupId>
<artifactId>microba</artifactId>
<version>0.4.4.1</version>
</dependency>
<!-- SWT depency TODO: linux only, wait for 3.4 !! -->
<dependency>
<groupId>org.eclipse</groupId>
<artifactId>swt</artifactId>
<version>3.3.0-v3346</version>
</dependency>
<!-- Unit tests cases -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>5.8</version>
<scope>test</scope>
<classifier>jdk15</classifier>
</dependency>
</dependencies>
<!--
<profiles>
<profile>
<id>unix</id>
<activation>
<os>
<family>unix</family>
</os>
</activation>
<properties>
<swt.os-specific-dep>swt-linux-gtk</swt.os-specific-dep>
<swt.version>3.2.2</swt.version>
</properties>
</profile>
<profile>
<id>windows</id>
<activation>
<os>
<family>windows</family>
</os>
</activation>
<properties>
<swt.os-specific-dep>swt-win32</swt.os-specific-dep>
<swt.version>3.2.2</swt.version>
</properties>
</profile>
<profile>
<id>mac</id>
<activation>
<os>
<family>macosx</family>
</os>
</activation>
<properties>
<swt.os-specific-dep>swt-macosx</swt.os-specific-dep>
<swt.version>3.2.2</swt.version>
</properties>
</profile>
</profiles>
--> -->
<plugins> <build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId> <!-- Compile source -->
<configuration> <plugin>
<encoding>UTF-8</encoding> <artifactId>maven-compiler-plugin</artifactId>
<source>1.5</source> <configuration>
<target>1.5</target> <encoding>UTF-8</encoding>
</configuration> <source>1.5</source>
</plugin> <target>1.5</target>
<plugin> </configuration>
<artifactId>maven-site-plugin</artifactId> </plugin>
<version>2.0-beta-7</version>
<configuration> <!-- Generate site -->
<outputEncoding>UTF-8</outputEncoding> <plugin>
</configuration> <artifactId>maven-site-plugin</artifactId>
</plugin> <version>2.0-beta-7</version>
<configuration>
<outputEncoding>UTF-8</outputEncoding>
</configuration>
</plugin>
<!-- Run tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4</version>
<configuration></configuration>
</plugin>
<!-- Build documention -->
</plugins> <plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
<!-- Any parameters common to both HTML and PDF go here -->
<configuration>
<sourceDirectory>src/main/docbook/</sourceDirectory>
<targetDirectory>target/site/docbook/</targetDirectory>
<!-- input config -->
<includes>*.xml</includes>
<!-- <foCustomization>src/main/config/docbook-fo.xsl</foCustomization> -->
<!-- runtime config -->
<xincludeSupported>true</xincludeSupported>
<entities><!-- pom vars to docbook vars -->
<entity>
<name>version</name>
<value>${version}</value>
</entity>
</entities>
<!-- output config -->
<chunkedOutput>true</chunkedOutput>
<!-- <htmlStylesheet>http://.....</htmlStylesheet> -->
</configuration>
<executions>
</build> <execution>
<!-- <id>create-pdf-docs</id>
| <phase>site</phase>
| <goals><goal>generate-pdf</goal></goals>
| <configuration>
--> <!-- Any parameters specific to the PDF version go here -->
<distributionManagement> <imgSrcPath>file:///${basedir}/src/main/docbook/</imgSrcPath>
<!-- </configuration>
<repository> </execution>
<id>mycompany-repository</id>
<name>MyCompany Repository</name> <execution>
<url>scp://repository.mycompany.com/repository/maven2</url> <id>create-html-docs</id>
</repository> <phase>site</phase>
--> <goals><goal>generate-html</goal></goals>
</distributionManagement> <configuration>
<!-- This copies content (images, etc) for the HTML version -->
<preProcess>
<reporting> <copy todir="target/site/docbook/images">
<outputDirectory>target/site</outputDirectory> <fileset dir="src/main/docbook/images"/>
</reporting> </copy>
</preProcess>
</project> <!-- Any parameters specific to HTML version go here -->
</configuration>
</execution>
<!--
<dependency> </executions>
<groupId>com.mycompany.myappfrmk.console</groupId> <dependencies>
<artifactId>console-svcs</artifactId> <dependency>
<type>ejb</type> <groupId>org.docbook</groupId>
<version>1.0</version> <artifactId>docbook-xml</artifactId>
</dependency> <version>4.4</version>
<dependency> <scope>runtime</scope>
<groupId>com.mycompany.myappfrmk.console</groupId>e </dependency>
<artifactId>web-console</artifactId> </dependencies>
<type>war</type> </plugin>
<version>1.0</version>
</dependency> <!--
</dependencies> <plugin>
<build>
<plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId> <artifactId>maven-dependency-plugin</artifactId>
<version>2.3.1</version> <executions>
<configuration> <execution>
<generateApplicationXml>true</generateApplicationXml> <id>unpack</id>
<generatedDescriptorLocation>${basedir}/target</generatedDescriptorLocation> <phase>package</phase>
<finalName>FrmkConsole</finalName> <goals>
</configuration> <goal>unpack</goal>
</plugin> </goals>
</plugins> <configuration>
<artifactItems>
<artifactItem>
<groupId>swt</groupId>
<artifactId>${swt.os-specific-dep}-native</artifactId>
<version>${swt.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>
${project.build.directory}/appassembler/lib
</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
-->
</plugins>
</build> </build>
-->
<reporting>
<outputDirectory>target/site</outputDirectory>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<report>summary</report>
<report>dependencies</report>
<report>project-team</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jxr-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.4.2</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.0</version>
<configuration>
<xmlPath>${basedir}/src/site/changes.xml</xmlPath>
</configuration>
<reportSets>
<reportSet>
<reports><report>changes-report</report></reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
<!-- END -->
</project>

View file

@ -29,9 +29,6 @@ package com.idcanet.vasc;
import java.io.InputStream; import java.io.InputStream;
import java.util.logging.LogManager; import java.util.logging.LogManager;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import com.idcanet.vasc.frontends.swt.SwtVascFrontend; import com.idcanet.vasc.frontends.swt.SwtVascFrontend;
@ -60,6 +57,7 @@ public class SWTTest extends TestCase {
public void testAll() throws Exception { public void testAll() throws Exception {
// get GUI // get GUI
/*
Display display = new Display(); Display display = new Display();
Shell shell = new Shell(display); Shell shell = new Shell(display);
shell.setText("Vasc Test - Swt"); shell.setText("Vasc Test - Swt");
@ -79,6 +77,8 @@ public class SWTTest extends TestCase {
} }
} }
display.dispose(); display.dispose();
*/
} }

View file

@ -117,7 +117,7 @@ public class TestTable {
VascController c = getDefaultVascController(); VascController c = getDefaultVascController();
VascParser parser = new VascParser(c); VascParser parser = new VascParser(c);
parser.parseResource("resources/vasc/tables.xml"); parser.parseResource("vasc/tables.xml");
VascEntry entry = parser.getVascController().getVascEntryControllerResolver().getVascEntryController().getVascEntryById("test1"); VascEntry entry = parser.getVascController().getVascEntryControllerResolver().getVascEntryController().getVascEntryById("test1");
fill(entry,c); fill(entry,c);