Skip to content
An Ant plugin to create apt repository from a Debian/Ubuntu development project
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ant-apt-repo
README.md

README.md

ant-apt-repo

An Ant task to create an apt repository from a Debian/Ubuntu development project. It is ported from the maven plugin which does the same - theoweiss/apt-repo

This task is usually used with the debian package creation task ant-deb.

Usage

	<taskdef name="aptrepo" classname="com.codemarvels.ant.aptrepotask.AptRepoTask" >
		<classpath>
			<fileset dir="lib/ant/apt-repo" ><!--all jar files in this project is expected to be found here -->
				 <include name="*.jar"/>
			</fileset>
		</classpath>
	</taskdef>
<target name="createRepository">
  <aptrepo repoDir="${debian.folder}/output/repository"/> <!-- keep all .deb files in this folder -->
</target>

Note

  • Keep all .deb files you want to publish in the repoDir folder. The package listings will be created in the same folder, which can then be published using a web-server as debian repository.
You can’t perform that action at this time.