Commits

tbrugz committed f0b69da

build: compile to java 1.6, added manifest info ; ivy: conf: main->default

Comments (0)

Files changed (2)

 	</target>
 
 	<target name="compile" depends="prepare">
-		<javac destdir="${bin.dir}" classpathref="classpath.compile" debug="on">
+		<javac destdir="${bin.dir}" classpathref="classpath.compile" debug="on" source="1.6" target="1.6">
 			<src path="${src.dir}"/>
 			<src path="${src.jaxb.dir}"/>
 		</javac>
 			basedir="${bin.dir}"
 			includes="**/*.class, *.properties">
 			<manifest>
+				<attribute name="Implementation-Title" value="${ant.project.name}"/>
+				<attribute name="Implementation-Version" value="${version}"/>
 				<attribute name="Main-Class" value="tbrugz.mondrian.schema2graphml.MondrianSchema2GraphML"/>
 			</manifest>
 		</jar>
 
 	<target name="config-ivy" depends="config-ivy-file,config-ivy-dir"/>
 	
-	<target name="resolve-ivy" depends="config-ivy" description="retrieve dependencies with ivy">
+	<target name="resolve" depends="config-ivy" description="retrieve dependencies with ivy">
 		<ivy:retrieve />
 	</target>
 
 		xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
 	<info organisation="org.bitbucket.tbrugz" module="mondrianschema2graphml"/>
 	<configurations>
-		<conf name="main"/>
+		<conf name="default"/>
 	</configurations>
 	<publications>
-		<artifact name="mondrianschema2graphml" type="jar"/>
+		<artifact name="mondrianschema2graphml" type="jar" conf="default"/>
 	</publications>
 	<dependencies>
 		<dependency org="commons-logging" name="commons-logging" rev="1.1.1"/>