Permalink
Browse files

converted Valencia sim. to maven (added pom.xml missing from Leimen)

  • Loading branch information...
1 parent 0a22784 commit 71adc2471246180380a45b2a2a9358e831b24584 @nfvs committed Apr 18, 2012
Showing 328 changed files with 34 additions and 127 deletions.
View
@@ -22,3 +22,8 @@ Siafu/target
/Simulation-Testland/.settings
/Simulation-Testland/target
/Simulation-Testland/.classpath
+
+/Simulation-Valencia/.project
+/Simulation-Valencia/.settings
+/Simulation-Valencia/target
+/Simulation-Valencia/.classpath
View
@@ -0,0 +1,16 @@
+<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">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>Siafu</groupId>
+ <artifactId>Simulation-Leimen</artifactId>
+ <version>1.0.6-SNAPSHOT</version>
+
+ <dependencies>
+ <dependency>
+ <groupId>Siafu</groupId>
+ <artifactId>Siafu</artifactId>
+ <version>1.0.6-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+
+</project>
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry combineaccessrules="false" kind="src" path="/Siafu"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>Simulation-Valencia</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>com.atlassw.tools.eclipse.checkstyle.CheckstyleNature</nature>
- </natures>
-</projectDescription>
@@ -1,12 +0,0 @@
-#Tue Dec 09 17:11:31 CET 2008
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
@@ -1,85 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- * Copyright NEC Europe Ltd. 2006-2007
- *
- * This file is part of the context simulator called Siafu.
- *
- * Siafu is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Siafu is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
- * details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program. If not, see <http://www.gnu.org/licenses/>.
- -->
-
-<project basedir="." default="release" name="simulation">
-
- <property name="name" value="Valencia"/>
- <property name="jarFile" value="${name}.jar"/>
- <property name="siafuJar" value="../Siafu/release/Siafu.jar"/>
-
- <target name="clean">
- <delete dir="bin"/>
- <delete dir="doc/api" />
- <delete dir="release"/>
- </target>
-
- <target name="help">
- <echo>
- Syntax:
- ant -DsiafuJar=(path to Siafu.jar)
- </echo>
- </target>
-
-
- <target name="build">
- <echo message="building ${name}"/>
- <mkdir dir="bin"/>
- <copy todir="bin/res">
- <fileset dir="src/res"/>
- </copy>
- <copy todir="bin/etc">
- <fileset dir="src/etc"/>
- </copy>
-
- <javac srcdir="src" destdir="bin" includes="**/*.java">
-
- <classpath>
- <fileset file="${siafuJar}">
- <include name="**/*.jar"/>
- </fileset>
- </classpath>
- </javac>
- </target>
-
- <target name="release" depends="build">
- <mkdir dir="release"/>
- <jar file="release/${jarFile}" compress="true" >
- <fileset dir="bin"/>
- <fileset dir="src">
- <include name="**/*.java"/>
- </fileset>
- </jar>
- </target>
-
- <target name="javadoc">
- <delete dir="doc/api" />
- <mkdir dir="doc/api" />
- <javadoc destdir="doc/api" sourcepath="src" author="true" use="true" windowtitle="Siafu API" packagenames="de.nec.nle.siafu.*">
- <doctitle>${name} javadoc. A Siafu simulation</doctitle>
- <classpath>
- <fileset file="${siafuJar}">
- <include name="**/*.jar" />
- </fileset>
- </classpath>
- <link href="http://siafusimulator.sf.net/javadoc/" offline="true" packagelistloc="../Siafu/doc/api/" />
- </javadoc>
- </target>
-</project>
@@ -0,0 +1,13 @@
+<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">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>Siafu</groupId>
+ <artifactId>Simulation-Valencia</artifactId>
+ <version>1.0.6-SNAPSHOT</version>
+ <dependencies>
+ <dependency>
+ <groupId>Siafu</groupId>
+ <artifactId>Siafu</artifactId>
+ <version>1.0.6-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+</project>
Oops, something went wrong.

0 comments on commit 71adc24

Please sign in to comment.