Commit 7a20738e authored by Andre Heydt's avatar Andre Heydt
Browse files

added permissions, codebase and built-by to the manifest/ant file

git-svn-id: https://svn.math.tu-berlin.de/svn/jtem@1799 f5b180c5-49ee-4939-b20e-b6ed35f0f7b7
parent 1efa9467
......@@ -279,10 +279,13 @@ $(RELDIR)/$(NAME)-api.tgz: $(DOCDIR)
#Manifest
$(RELDIR)/manifest.txt: $(RELDIR)/current.txt
@if [ ! -d $(RELDIR) ]; then mkdir $(RELDIR); fi
@echo "Built-By: ${USER}" >> $(RELDIR)/manifest.txt
@echo "Implementation-Title: $(NAME)" > $(RELDIR)/manifest.txt
@echo "Implementation-Version: "`cat $(RELDIR)/current.txt` >> $(RELDIR)/manifest.txt
@echo "Implementation-Vendor: jTEM ($(JTEMURL))" >> $(RELDIR)/manifest.txt
@echo "Implementation-URL: $(JTEMURL)/downloads/$(NAME).jar" >> $(RELDIR)/manifest.txt
@echo "Permissions: all-permissions" >> $(RELDIR)/manifest.txt
@echo "Codebase: *.math.tu-berlin.de" >> $(RELDIR)/manifest.txt
#release date
.PHONY: $(RELDIR)/current.txt
......
<project name="Create riemann jar and javadoc" default="release" basedir=".">
<description>
Jtem riemann package
</description>
<tstamp>
<format property="version" pattern="yyyy-MM-dd"/>
</tstamp>
<property name="vendor" value="jTem Development Team" />
<property name="src" location="src"/>
<!-- these folders will be created -->
<property name="release_dir" location="release" />
<property name="javadoc_dir" location="doc/api"/>
<target name="init">
<!-- Create the build directory structure used by compile -->
<mkdir dir="${release_dir}" />
<mkdir dir="${javadoc_dir}" />
</target>
<target name="release" depends="init, javadoc" description="builds the jar and the javadoc" >
<jar
destfile="${release_dir}/riemann.jar"
basedir="bin"
includes="
de/jtem/modelling/**"
update="false"
>
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<attribute name="Implementation-Vendor" value="${vendor}"/>
<attribute name="Implementation-Title" value="jTEM riemann"/>
<attribute name="Implementation-Version" value="${version}"/>
<attribute name="Implementation-URL" value="https://svn.math.tu-berlin.de/svn/jtem/riemann/"/>
<attribute name="Implementation-Homepage" value="http://jtem.de"/>
<attribute name="Permissions" value="all-permissions"/>
<attribute name="Codebase" value="*.math.tu-berlin.de"/>
</manifest>
</jar>
<jar
destfile="${release_dir}/riemann.jar"
basedir="src"
includes="${sdkpackagedir}/**"
update="true"
/>
</target>
<target name="javadoc" description="generate javadoc in doc/api">
<javadoc destdir="${javadoc_dir}" access="public" author="true"
version="true" use="true" useexternalfile="true" windowtitle="riemann API" source="1.6">
<fileset dir="${src}" defaultexcludes="yes">
<include name="de/jtem/**/*.java" />
</fileset>
<link href="http://docs.oracle.com/javase/7/docs/api/"/>
<link href="http://www3.math.tu-berlin.de/jreality/api/"/>
</javadoc>
</target>
<target name="clean" description="clean up">
<delete dir="${release_dir}" />
<delete dir="${javadoc_dir}"/>
</target>
</project>
......@@ -32,8 +32,8 @@ OF SUCH DAMAGE.
package de.jtem.riemann.schottky;
import junit.framework.TestCase;
import de.jtem.mfc.field.Complex;
import de.jtem.blas.ComplexVector;
import de.jtem.mfc.field.Complex;
public class AbelMapTest extends TestCase {
......
......@@ -32,9 +32,9 @@ OF SUCH DAMAGE.
package de.jtem.riemann.schottky;
import junit.framework.TestCase;
import de.jtem.mfc.field.Complex;
import de.jtem.blas.ComplexMatrix;
import de.jtem.blas.ComplexVector;
import de.jtem.mfc.field.Complex;
public class TestSchottky extends TestCase {
......
......@@ -32,10 +32,10 @@ OF SUCH DAMAGE.
package de.jtem.riemann.theta;
import junit.framework.TestCase;
import de.jtem.mfc.field.Complex;
import de.jtem.blas.ComplexMatrix;
import de.jtem.blas.ComplexVector;
import de.jtem.blas.IntegerMatrix;
import de.jtem.mfc.field.Complex;
/**
* Testing directly by evaluating thata functions.
......
......@@ -31,9 +31,9 @@ OF SUCH DAMAGE.
package de.jtem.riemann.theta;
import de.jtem.mfc.field.Complex;
import de.jtem.blas.ComplexMatrix;
import de.jtem.blas.ComplexVector;
import de.jtem.mfc.field.Complex;
public class TestSiegelTransform {
......
......@@ -32,9 +32,9 @@ OF SUCH DAMAGE.
package de.jtem.riemann.theta;
import junit.framework.TestCase;
import de.jtem.mfc.field.Complex;
import de.jtem.blas.ComplexMatrix;
import de.jtem.blas.ComplexVector;
import de.jtem.mfc.field.Complex;
/**
* We test the theta functions via its modular transformation property.
......
......@@ -31,9 +31,9 @@ OF SUCH DAMAGE.
package de.jtem.riemann.theta;
import de.jtem.mfc.field.Complex;
import de.jtem.blas.ComplexMatrix;
import de.jtem.blas.ComplexVector;
import de.jtem.mfc.field.Complex;
class TestThetaWithChar {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment