This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant-antlibs-common.git
The following commit(s) were added to refs/heads/master by this push:
new b7962d5 more steps
b7962d5 is described below
commit b7962d5efe06e17223c84633868ee03c33851cb7
Author: Stefan Bodewig <[email protected]>
AuthorDate: Sun Apr 26 12:43:37 2026 +0200
more steps
---
README.md | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 75 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index bca722a..83c4841 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
-<project default="compile" name="antunit">
+<project default="compile" name="YOUR_ANTLIB_NAME">
<!-- easy way to override properties -->
<property file="build.properties"/>
@@ -162,3 +162,77 @@ artifact.version=0.1alpha
```
* if you want to use Ivy to manage your dependencies, add a file
`ivy.xml` to the root directory of your antlib and set it up.
+ A starting point may be
+```xml
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ https://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<ivy-module version="2.0">
+ <info organisation="org.apache.ant"
+ module="${artifact.name}"
+ revision="${artifact.version}"
+ publication="${artifact.publication.datetime}">
+ <license name="Apache Software License 2.0"
+ url="https://www.apache.org/licenses/LICENSE-2.0"/>
+ <ivyauthor name="Apache Ant Development Team"
+ url="https://ant.apache.org/"/>
+ <description homepage="YOUR-ANTLIB_HOMEPAGE">
+ YOUR_DESCRIPTION
+ </description>
+ </info>
+ <configurations>
+ <conf name="default" description="full antlib with all
dependencies"/>
+ <conf name="provided" description="Ant must be present at runtime"/>
+ <conf name="test" description="dependencies used for tests of
the antlib" transitive="false" visibility="private"/>
+ </configurations>
+ <publications xmlns:e="urn:ant.apache.org:ivy-extras">
+ <artifact name="${artifact.name}" type="pom" ext="pom"/>
+ <artifact name="${artifact.name}" type="pom.asc" ext="pom.asc"/>
+ <artifact name="${artifact.name}" type="jar" ext="jar"/>
+ <artifact name="${artifact.name}" type="jar.asc" ext="jar.asc"/>
+ <artifact name="${artifact.name}" type="source" ext="jar"
+ e:classifier="sources"/>
+ <artifact name="${artifact.name}" type="source.asc" ext="jar.asc"
+ e:classifier="sources"/>
+ <artifact name="${artifact.name}" type="javadoc" ext="jar"
+ e:classifier="javadoc"/>
+ <artifact name="${artifact.name}" type="javadoc.asc" ext="jar.asc"
+ e:classifier="javadoc"/>
+ <artifact name="${artifact.name}" type="ivy" ext="xml"
+ e:classifier="ivy"/>
+ <artifact name="${artifact.name}" type="ivy.asc" ext="xml.asc"
+ e:classifier="ivy"/>
+ </publications>
+ <dependencies>
+ <dependency org="org.apache.ant" name="ant" rev="1.10.17"
conf="provided->default"/>
+ </dependencies>
+</ivy-module>
+```
+* documentation should go to a `docs` directory, copy `style.css` from
+ `common` to your `docs` directory if you want to use the commons
+ styles.
+* sources are expected to go to `src/main`, test sources to
+ `src/tests` (JUnit tests to `src/tests/junit`, AntUnit tests to
+ `src/tests/antunit`).
+* if you want to set up a Jenkins build you can copy and adapt the
+ `prepare.xml` file from `common` to the root directory of your
+ antlib.
+* once you want to publish your antlib, you'll likely need a
+ `project-template.pom` like
+
https://github.com/apache/ant-antlibs-compress/blob/master/project-template.pom