Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
target/
target
**/target/
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM openjdk:8-jdk-slim

# Install Ant
RUN apt-get update && \
apt-get install -y ant && \
rm -rf /var/lib/apt/lists/*

WORKDIR /app

# Copy the project files
COPY . .

# Set Java home
ENV JAVA_HOME=/usr/local/openjdk-8
ENV PATH=$JAVA_HOME/bin:$PATH

# Run tests
CMD ["sh", "-c", "ant clean build && cd core && ant test -Dtest.name.undefined=true"]
6 changes: 3 additions & 3 deletions client/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@
classpathref="lib.path"
debug="on"
debuglevel="lines,vars,source"
source="1.5"
target="1.5"
source="1.8"
target="1.8"
/>
<copy todir="target/classes">
<fileset dir="src/java" includes="**/*.properties,**/*.xml,**/*.dtd"/>
Expand All @@ -95,7 +95,7 @@
<jar destfile="target/${product.name}-${product.version}.jar">
<fileset dir="target/classes"/>
<manifest>
<attribute name="Specification-Version" value="${product.specification}"/>
<attribute name="Specification-Version" value="2.0"/>
<attribute name="Implementation-Title" value="${product.title}"/>
<attribute name="Implementation-Version" value="${product.version}"/>
<attribute name="Implementation-Vendor" value="${product.vendor}"/>
Expand Down
6 changes: 3 additions & 3 deletions common/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@
classpathref="lib.path"
debug="on"
debuglevel="lines,vars,source"
source="1.5"
target="1.5"
source="1.8"
target="1.8"
/>
<copy todir="target/classes">
<fileset dir="src/java" includes="**/*.properties,**/*.xml,**/*.dtd"/>
Expand All @@ -109,7 +109,7 @@
<jar destfile="target/${product.name}-${product.version}.jar">
<fileset dir="target/classes"/>
<manifest>
<attribute name="Specification-Version" value="${product.specification}"/>
<attribute name="Specification-Version" value="2.0"/>
<attribute name="Implementation-Title" value="${product.title}"/>
<attribute name="Implementation-Version" value="${product.version}"/>
<attribute name="Implementation-Vendor" value="${product.vendor}"/>
Expand Down
2 changes: 1 addition & 1 deletion conf/connections.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE connections PUBLIC
"-//Penrose/DTD Connections ${product.specification}//EN"
"-//Penrose/DTD Connections 2.0//EN"
"http://penrose.safehaus.org/dtd/connections.dtd">

<connections>
Expand Down
2 changes: 1 addition & 1 deletion conf/directory.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE directory PUBLIC
"-//Penrose/DTD Directory ${product.specification}//EN"
"-//Penrose/DTD Directory 2.0//EN"
"http://penrose.safehaus.org/dtd/directory.dtd">

<directory>
Expand Down
2 changes: 1 addition & 1 deletion conf/mappings.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mappings PUBLIC
"-//Penrose/DTD Mappings ${product.specification}//EN"
"-//Penrose/DTD Mappings 2.0//EN"
"http://penrose.safehaus.org/dtd/mappings.dtd">

<mappings>
Expand Down
2 changes: 1 addition & 1 deletion conf/modules.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE modules PUBLIC
"-//Penrose/DTD Modules ${product.specification}//EN"
"-//Penrose/DTD Modules 2.0//EN"
"http://penrose.safehaus.org/dtd/modules.dtd">

<modules>
Expand Down
2 changes: 1 addition & 1 deletion conf/server.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server PUBLIC
"-//Penrose/DTD Server ${product.specification}//EN"
"-//Penrose/DTD Server 2.0//EN"
"http://penrose.safehaus.org/dtd/server.dtd">

<server>
Expand Down
2 changes: 1 addition & 1 deletion conf/sources.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sources PUBLIC
"-//Penrose/DTD Sources ${product.specification}//EN"
"-//Penrose/DTD Sources 2.0//EN"
"http://penrose.safehaus.org/dtd/sources.dtd">

<sources>
Expand Down
12 changes: 6 additions & 6 deletions core/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@
classpathref="lib.path"
debug="on"
debuglevel="lines,vars,source"
source="1.5"
target="1.5"
source="1.8"
target="1.8"
/>
<copy todir="target/classes">
<fileset dir="src/java" includes="**/*.properties,**/*.xml,**/*.dtd"/>
Expand All @@ -112,8 +112,8 @@
classpathref="test.path"
debug="on"
debuglevel="lines,vars,source"
source="1.5"
target="1.5"
source="1.8"
target="1.8"
/>
<copy todir="target/tests">
<fileset dir="src/test" includes="**/*.properties,**/*.xml,**/*.dtd"/>
Expand All @@ -129,7 +129,7 @@

<target name="singletest" depends="compile" unless="test.name.undefined">
<mkdir dir="target/reports"/>
<junit fork="yes" showoutput="true" printsummary="yes">
<junit fork="no" showoutput="true" printsummary="yes">
<classpath>
<fileset dir="../lib">
<include name="**/*.jar"/>
Expand Down Expand Up @@ -165,7 +165,7 @@
<jar jarfile="target/${product.name}-${product.version}.jar">
<fileset dir="target/classes"/>
<manifest>
<attribute name="Specification-Version" value="${product.specification}"/>
<attribute name="Specification-Version" value="2.0"/>
<attribute name="Implementation-Title" value="${product.title}"/>
<attribute name="Implementation-Version" value="${product.version}"/>
<attribute name="Implementation-Vendor" value="${product.vendor}"/>
Expand Down
6 changes: 3 additions & 3 deletions ldap-backend/apacheds/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@
classpathref="lib.path"
debug="on"
debuglevel="lines,vars,source"
source="1.5"
target="1.5"
source="1.8"
target="1.8"
/>
<copy todir="target/classes">
<fileset dir="src" includes="**/*.properties,**/*.xml,**/*.dtd"/>
</copy>
<jar jarfile="target/${product.fullName}.jar">
<fileset dir="target/classes"/>
<manifest>
<attribute name="Specification-Version" value="${product.specification}"/>
<attribute name="Specification-Version" value="2.0"/>
<attribute name="Implementation-Title" value="${product.title}"/>
<attribute name="Implementation-Version" value="${product.version}"/>
<attribute name="Implementation-Vendor" value="${product.vendor}"/>
Expand Down
6 changes: 3 additions & 3 deletions ldap-backend/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@
classpathref="lib.path"
debug="on"
debuglevel="lines,vars,source"
source="1.5"
target="1.5"
source="1.8"
target="1.8"
/>
<copy todir="target/classes">
<fileset dir="src/java" includes="**/*.properties,**/*.xml,**/*.dtd"/>
</copy>
<jar jarfile="target/${product.name}-${product.version}.jar">
<fileset dir="target/classes"/>
<manifest>
<attribute name="Specification-Version" value="${product.specification}"/>
<attribute name="Specification-Version" value="2.0"/>
<attribute name="Implementation-Title" value="${product.title}"/>
<attribute name="Implementation-Version" value="${product.version}"/>
<attribute name="Implementation-Vendor" value="${product.vendor}"/>
Expand Down
6 changes: 3 additions & 3 deletions ldap-backend/mina/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@
classpathref="lib.path"
debug="on"
debuglevel="lines,vars,source"
source="1.5"
target="1.5"
source="1.8"
target="1.8"
/>
<copy todir="target/classes">
<fileset dir="src" includes="**/*.properties,**/*.xml,**/*.dtd"/>
</copy>
<jar jarfile="target/${product.fullName}.jar">
<fileset dir="target/classes"/>
<manifest>
<attribute name="Specification-Version" value="${product.specification}"/>
<attribute name="Specification-Version" value="2.0"/>
<attribute name="Implementation-Title" value="${product.title}"/>
<attribute name="Implementation-Version" value="${product.version}"/>
<attribute name="Implementation-Vendor" value="${product.vendor}"/>
Expand Down
6 changes: 3 additions & 3 deletions ldap-backend/opends/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@
classpathref="lib.path"
debug="on"
debuglevel="lines,vars,source"
source="1.5"
target="1.5"
source="1.8"
target="1.8"
/>
<copy todir="target/classes">
<fileset dir="src" includes="**/*.properties,**/*.xml,**/*.dtd"/>
</copy>
<jar jarfile="target/${product.fullName}.jar">
<fileset dir="target/classes"/>
<manifest>
<attribute name="Specification-Version" value="${product.specification}"/>
<attribute name="Specification-Version" value="2.0"/>
<attribute name="Implementation-Title" value="${product.title}"/>
<attribute name="Implementation-Version" value="${product.version}"/>
<attribute name="Implementation-Vendor" value="${product.vendor}"/>
Expand Down
6 changes: 3 additions & 3 deletions ldap-backend/openldap/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@
destdir="target/classes"
debug="on"
debuglevel="lines,vars,source"
source="1.5"
target="1.5"
source="1.8"
target="1.8"
/>
<copy todir="target/classes">
<fileset dir="src/java" includes="**/*.properties,**/*.xml,**/*.dtd"/>
Expand All @@ -114,7 +114,7 @@
<jar jarfile="target/${product.name}-${product.version}.jar">
<fileset dir="target/classes"/>
<manifest>
<attribute name="Specification-Version" value="${product.specification}"/>
<attribute name="Specification-Version" value="2.0"/>
<attribute name="Implementation-Title" value="${product.title}"/>
<attribute name="Implementation-Version" value="${product.version}"/>
<attribute name="Implementation-Vendor" value="${product.vendor}"/>
Expand Down
2 changes: 1 addition & 1 deletion monitors/JMX/MONITOR-INF/monitor.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE monitor PUBLIC
"-//Penrose/DTD Monitor ${product.specification}//EN"
"-//Penrose/DTD Monitor 2.0//EN"
"http://penrose.safehaus.org/dtd/monitor.dtd">

<monitor enabled="false">
Expand Down
2 changes: 1 addition & 1 deletion monitors/JMX/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<jar jarfile="MONITOR-INF/target/${project.name}-${monitor.name}-monitor-${product.version}.jar">
<fileset dir="MONITOR-INF/target/classes"/>
<manifest>
<attribute name="Specification-Version" value="${product.specification}"/>
<attribute name="Specification-Version" value="2.0"/>
<attribute name="Implementation-Title" value="${project.title} ${monitor.title} Monitor"/>
<attribute name="Implementation-Version" value="${product.version}"/>
<attribute name="Implementation-Vendor" value="${product.vendor}"/>
Expand Down
2 changes: 1 addition & 1 deletion monitors/LDAP/MONITOR-INF/monitor.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE monitor PUBLIC
"-//Penrose/DTD Monitor ${product.specification}//EN"
"-//Penrose/DTD Monitor 2.0//EN"
"http://penrose.safehaus.org/dtd/monitor.dtd">

<monitor enabled="true">
Expand Down
2 changes: 1 addition & 1 deletion monitors/LDAP/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<jar jarfile="MONITOR-INF/target/${project.name}-${monitor.name}-monitor-${product.version}.jar">
<fileset dir="MONITOR-INF/target/classes"/>
<manifest>
<attribute name="Specification-Version" value="${product.specification}"/>
<attribute name="Specification-Version" value="2.0"/>
<attribute name="Implementation-Title" value="${project.title} ${monitor.title} Monitor"/>
<attribute name="Implementation-Version" value="${product.version}"/>
<attribute name="Implementation-Vendor" value="${product.vendor}"/>
Expand Down
2 changes: 1 addition & 1 deletion samples/abandon/DIR-INF/connections.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE connections PUBLIC
"-//Penrose/DTD Connections ${product.specification}//EN"
"-//Penrose/DTD Connections 2.0//EN"
"http://penrose.safehaus.org/dtd/connections.dtd">

<connections>
Expand Down
2 changes: 1 addition & 1 deletion samples/abandon/DIR-INF/directory.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE directory PUBLIC
"-//Penrose/DTD Directory ${product.specification}//EN"
"-//Penrose/DTD Directory 2.0//EN"
"http://penrose.safehaus.org/dtd/directory.dtd">

<directory>
Expand Down
2 changes: 1 addition & 1 deletion samples/abandon/DIR-INF/modules.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE modules PUBLIC
"-//Penrose/DTD Modules ${product.specification}//EN"
"-//Penrose/DTD Modules 2.0//EN"
"http://penrose.safehaus.org/dtd/modules.dtd">

<modules>
Expand Down
2 changes: 1 addition & 1 deletion samples/abandon/DIR-INF/partition.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE partition PUBLIC
"-//Penrose/DTD Partition ${product.specification}//EN"
"-//Penrose/DTD Partition 2.0//EN"
"http://penrose.safehaus.org/dtd/partition.dtd">

<partition>
Expand Down
2 changes: 1 addition & 1 deletion samples/abandon/DIR-INF/sources.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sources PUBLIC
"-//Penrose/DTD Sources ${product.specification}//EN"
"-//Penrose/DTD Sources 2.0//EN"
"http://penrose.safehaus.org/dtd/sources.dtd">

<sources>
Expand Down
2 changes: 1 addition & 1 deletion samples/acl/DIR-INF/connections.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE connections PUBLIC
"-//Penrose/DTD Connections ${product.specification}//EN"
"-//Penrose/DTD Connections 2.0//EN"
"http://penrose.safehaus.org/dtd/connections.dtd">

<connections>
Expand Down
2 changes: 1 addition & 1 deletion samples/acl/DIR-INF/directory.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE directory PUBLIC
"-//Penrose/DTD Directory ${product.specification}//EN"
"-//Penrose/DTD Directory 2.0//EN"
"http://penrose.safehaus.org/dtd/directory.dtd">

<directory>
Expand Down
2 changes: 1 addition & 1 deletion samples/acl/DIR-INF/modules.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE modules PUBLIC
"-//Penrose/DTD Modules ${product.specification}//EN"
"-//Penrose/DTD Modules 2.0//EN"
"http://penrose.safehaus.org/dtd/modules.dtd">

<modules>
Expand Down
2 changes: 1 addition & 1 deletion samples/acl/DIR-INF/partition.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE partition PUBLIC
"-//Penrose/DTD Partition ${product.specification}//EN"
"-//Penrose/DTD Partition 2.0//EN"
"http://penrose.safehaus.org/dtd/partition.dtd">

<partition>
Expand Down
2 changes: 1 addition & 1 deletion samples/acl/DIR-INF/sources.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sources PUBLIC
"-//Penrose/DTD Sources ${product.specification}//EN"
"-//Penrose/DTD Sources 2.0//EN"
"http://penrose.safehaus.org/dtd/sources.dtd">

<sources>
Expand Down
2 changes: 1 addition & 1 deletion samples/activeDirectory/DIR-INF/connections.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE connections PUBLIC
"-//Penrose/DTD Connections ${product.specification}//EN"
"-//Penrose/DTD Connections 2.0//EN"
"http://penrose.safehaus.org/dtd/connections.dtd">

<connections>
Expand Down
2 changes: 1 addition & 1 deletion samples/activeDirectory/DIR-INF/directory.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE directory PUBLIC
"-//Penrose/DTD Directory ${product.specification}//EN"
"-//Penrose/DTD Directory 2.0//EN"
"http://penrose.safehaus.org/dtd/directory.dtd">

<directory>
Expand Down
2 changes: 1 addition & 1 deletion samples/activeDirectory/DIR-INF/modules.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE modules PUBLIC
"-//Penrose/DTD Modules ${product.specification}//EN"
"-//Penrose/DTD Modules 2.0//EN"
"http://penrose.safehaus.org/dtd/modules.dtd">

<modules>
Expand Down
2 changes: 1 addition & 1 deletion samples/activeDirectory/DIR-INF/partition.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE partition PUBLIC
"-//Penrose/DTD Partition ${product.specification}//EN"
"-//Penrose/DTD Partition 2.0//EN"
"http://penrose.safehaus.org/dtd/partition.dtd">

<partition>
Expand Down
Loading