Commit 8d604d84 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@1794 f5b180c5-49ee-4939-b20e-b6ed35f0f7b7
parent fd58409a
......@@ -279,11 +279,14 @@ $(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
$(RELDIR)/current.txt:
......
<project name="Create mathExpr jar and javadoc" default="release" basedir=".">
<description>
mathExpr build file
</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="javadoc_dir" location="doc/api" />
<property name="release_dir" location="release" />
<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}/mathExpr.jar"
basedir="bin"
includes="
de/jtem/mathExpr/**"
update="false"
>
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<attribute name="Implementation-Vendor" value="${vendor}"/>
<attribute name="Implementation-Title" value="jTEM mathExpr"/>
<attribute name="Implementation-Version" value="${version}"/>
<attribute name="Implementation-URL" value="https://svn.math.tu-berlin.de/svn/jtem/mathExpr/"/>
<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}/mathExpr.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="beans 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>
\ No newline at end of file
......@@ -18,13 +18,14 @@
package de.jtem.mathExpr;
import java.io.*;
import java.io.IOException;
//import java.util.Stack;
import junit.framework.*;
import junit.framework.TestCase;
import de.jtem.mathExpr.evaluator.Variable;
//import de.jtem.mfc.field.Complex;
import de.jtem.mathExpr.evaluator.realEvaluator.Real;
import de.jtem.mathExpr.evaluator.realEvaluator.RealType;
import de.jtem.mathExpr.evaluator.Variable;
/**
*
......
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