Return-Path: Delivered-To: apmail-incubator-directory-cvs-archive@www.apache.org Received: (qmail 6685 invoked from network); 23 Jan 2005 05:18:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Jan 2005 05:18:03 -0000 Received: (qmail 87216 invoked by uid 500); 23 Jan 2005 05:18:02 -0000 Delivered-To: apmail-incubator-directory-cvs-archive@incubator.apache.org Received: (qmail 87172 invoked by uid 500); 23 Jan 2005 05:18:02 -0000 Mailing-List: contact directory-cvs-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: directory-dev@incubator.apache.org Delivered-To: mailing list directory-cvs@incubator.apache.org Received: (qmail 87156 invoked by uid 99); 23 Jan 2005 05:18:02 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 22 Jan 2005 21:18:02 -0800 Received: (qmail 6668 invoked by uid 65534); 23 Jan 2005 05:18:00 -0000 Date: 23 Jan 2005 05:18:00 -0000 Message-ID: <20050123051800.6656.qmail@minotaur.apache.org> From: erodriguez@apache.org To: directory-cvs@incubator.apache.org Subject: svn commit: r126197 - in incubator/directory/dhcp/trunk: . core core/src/java/org/apache/dhcp/io main protocol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: erodriguez Date: Sat Jan 22 21:17:57 2005 New Revision: 126197 URL: http://svn.apache.org/viewcvs?view=rev&rev=126197 Log: DHCP maven infrastructure for multiproject build and javaapp executable jar. Added: incubator/directory/dhcp/trunk/core/project.properties incubator/directory/dhcp/trunk/core/project.xml incubator/directory/dhcp/trunk/main/project.properties incubator/directory/dhcp/trunk/main/project.xml incubator/directory/dhcp/trunk/project.properties incubator/directory/dhcp/trunk/project.xml incubator/directory/dhcp/trunk/protocol/project.properties incubator/directory/dhcp/trunk/protocol/project.xml Modified: incubator/directory/dhcp/trunk/core/ (props changed) incubator/directory/dhcp/trunk/core/src/java/org/apache/dhcp/io/DhcpMessageDecoder.java incubator/directory/dhcp/trunk/main/ (props changed) incubator/directory/dhcp/trunk/protocol/ (props changed) Added: incubator/directory/dhcp/trunk/core/project.properties Url: http://svn.apache.org/viewcvs/incubator/directory/dhcp/trunk/core/project.properties?view=auto&rev=126197 ============================================================================== --- (empty file) +++ incubator/directory/dhcp/trunk/core/project.properties Sat Jan 22 21:17:57 2005 @@ -0,0 +1,4 @@ +maven.xdoc.includeProjectDocumentation=yes +maven.license.licenseFile=${basedir}/../LICENSE.txt +module.path=core + Added: incubator/directory/dhcp/trunk/core/project.xml Url: http://svn.apache.org/viewcvs/incubator/directory/dhcp/trunk/core/project.xml?view=auto&rev=126197 ============================================================================== --- (empty file) +++ incubator/directory/dhcp/trunk/core/project.xml Sat Jan 22 21:17:57 2005 @@ -0,0 +1,17 @@ + + + + ${basedir}/../project.xml + 1 + dhcp-core + incubator-directory + dhcp-core + DHCP Server Core + org.apache.dhcp + 2005 + The Apache DHCP Server Core + + A DHCP protocol server. + + + Modified: incubator/directory/dhcp/trunk/core/src/java/org/apache/dhcp/io/DhcpMessageDecoder.java Url: http://svn.apache.org/viewcvs/incubator/directory/dhcp/trunk/core/src/java/org/apache/dhcp/io/DhcpMessageDecoder.java?view=diff&rev=126197&p1=incubator/directory/dhcp/trunk/core/src/java/org/apache/dhcp/io/DhcpMessageDecoder.java&r1=126196&p2=incubator/directory/dhcp/trunk/core/src/java/org/apache/dhcp/io/DhcpMessageDecoder.java&r2=126197 ============================================================================== --- incubator/directory/dhcp/trunk/core/src/java/org/apache/dhcp/io/DhcpMessageDecoder.java (original) +++ incubator/directory/dhcp/trunk/core/src/java/org/apache/dhcp/io/DhcpMessageDecoder.java Sat Jan 22 21:17:57 2005 @@ -23,7 +23,6 @@ import org.apache.dhcp.messages.DhcpMessage; import org.apache.dhcp.messages.DhcpMessageModifier; import org.apache.dhcp.messages.MessageType; -import org.apache.dns.io.ByteBufferCodec; public class DhcpMessageDecoder @@ -48,7 +47,7 @@ modifier.setOpCode( buffer.get() ); modifier.setHardwareAddressType( buffer.get() ); - short hardwareAddressLength = ByteBufferCodec.getUnsignedByte( buffer ); + short hardwareAddressLength = (short)( buffer.get() & 0xff ); modifier.setHardwareAddressLength( (byte)hardwareAddressLength ); modifier.setHardwareOptions( buffer.get() ); Added: incubator/directory/dhcp/trunk/main/project.properties Url: http://svn.apache.org/viewcvs/incubator/directory/dhcp/trunk/main/project.properties?view=auto&rev=126197 ============================================================================== --- (empty file) +++ incubator/directory/dhcp/trunk/main/project.properties Sat Jan 22 21:17:57 2005 @@ -0,0 +1,14 @@ +maven.xdoc.includeProjectDocumentation=yes +maven.license.licenseFile=${basedir}/../LICENSE.txt +module.path=main + +# +# Javaapp plugin properties +# + +maven.javaapp.jar.exclude=junit, maven-javaapp-plugin +maven.javaapp.mainclass=org.apache.dhcp.Main +maven.javaapp.jar.name=${maven.final.name}.jar +maven.javaapp.sysproperties= +maven.javaapp.jvmargs= + Added: incubator/directory/dhcp/trunk/main/project.xml Url: http://svn.apache.org/viewcvs/incubator/directory/dhcp/trunk/main/project.xml?view=auto&rev=126197 ============================================================================== --- (empty file) +++ incubator/directory/dhcp/trunk/main/project.xml Sat Jan 22 21:17:57 2005 @@ -0,0 +1,40 @@ + + + + ${basedir}/../project.xml + dhcp + DHCP Server Main + 2005 + A DHCP Server executable jar. + + + A single executable DHCP Server jar containing all dependencies. + + + + + + + incubator-directory + mina + 0.7-SNAPSHOT + + + incubator-directory + dhcp-core + 0.1-SNAPSHOT + + + incubator-directory + dhcp-protocol + 0.1-SNAPSHOT + + + maven-plugins + maven-javaapp-plugin + 1.3 + plugin + + + + Added: incubator/directory/dhcp/trunk/project.properties Url: http://svn.apache.org/viewcvs/incubator/directory/dhcp/trunk/project.properties?view=auto&rev=126197 ============================================================================== --- (empty file) +++ incubator/directory/dhcp/trunk/project.properties Sat Jan 22 21:17:57 2005 @@ -0,0 +1,21 @@ +maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory +maven.license.licenseFile=../LICENSE.txt +maven.xdoc.date=left +maven.xdoc.includeProjectDocumentation=no +maven.xdoc.poweredby.image= + +# +# remote repository properties +# + +maven.repo.remote=http://cvs.apache.org/repository, http://ibiblio.org/maven +maven.multiproject.includes=*/project.xml +maven.repo.list=apachecvs +maven.repo.apachecvs=scp://cvs.apache.org +maven.repo.apachecvs.directory=/www/cvs.apache.org/repository +maven.repo.apachecvs.group=apcvs + +maven.gump.module.name=dhcp + +maven.site.stage.directory=/home/akarasulu/public_html/rsynced-sites/directory/subprojects/dhcp + Added: incubator/directory/dhcp/trunk/project.xml Url: http://svn.apache.org/viewcvs/incubator/directory/dhcp/trunk/project.xml?view=auto&rev=126197 ============================================================================== --- (empty file) +++ incubator/directory/dhcp/trunk/project.xml Sat Jan 22 21:17:57 2005 @@ -0,0 +1,137 @@ + + + + incubator-directory + dhcp-parent + Apache DHCP Server + SNAPSHOT + 0.1-SNAPSHOT + + + The Apache Incubator + http://incubator.apache.org + http://incubator.apache.org/directory/images/apache-incubator-logo.png + + + 2005 + org.apache.dhcp + + http://nagoya.apache.org/jira/browse/DIRKERBEROS + + http://incubator.apache.org/directory/images/apache-directory-logo.png + http://incubator.apache.org/directory/subprojects/kerberos + + apache-incubator-svn + + + + scm:svn:http://cvs.apache.org/repos/asf/incubator:directory/dhcp/trunk/${module.path} + + + + http://cvs.apache.org/viewcvs.cgi/incubator/directory/dhcp/trunk/${module.path}/?root=Apache-SVN + + + + https://cvs.apache.org/repos/asf/incubator:directory/dhcp/trunk/${module.path} + + + + DHCP Server + + + An embeddable DHCP Server. + + + + + Apache Directory Development - use [dhcp] prefix + + directory-dev-subscribe@incubator.apache.org + + + directory-dev-unsubscribe@incubator.apache.org + + + http://nagoya.apache.org/eyebrowse/SummarizeList?listId=181 + + + + + + + Apache 1.1 License + + http://cvs.apache.org/viewcvs.cgi/incubator/directory/LICENSE.txt?rev=1369&root=Apache-SVN&view=markup + + repo + + + + + + junit + junit + 3.8.1 + http://junit.org + + + + + directory-dev@incubator.apache.org + ${basedir}/src/java + ${basedir}/src/test + + + + + + **/*Test* + **/*TestCase* + + + + **/Abstract*Test* + **/*TestUtils* + **/*TestCase* + + + + + ${basedir}/src/test + + **/*.dtd + **/*.ldif + **/*.properties + **/*.x* + **/*.mf + **/*.jar + **/*.pdu + + + + + + + + ${basedir}/src/java + + **/*.dtd + **/*.properties + **/*.ldif + **/*.x* + + + + + ${basedir}/etc + org/apache/dhcp + + *.properties + + + + + + + Added: incubator/directory/dhcp/trunk/protocol/project.properties Url: http://svn.apache.org/viewcvs/incubator/directory/dhcp/trunk/protocol/project.properties?view=auto&rev=126197 ============================================================================== --- (empty file) +++ incubator/directory/dhcp/trunk/protocol/project.properties Sat Jan 22 21:17:57 2005 @@ -0,0 +1,4 @@ +maven.xdoc.includeProjectDocumentation=yes +maven.license.licenseFile=${basedir}/../LICENSE.txt +module.path=protocol + Added: incubator/directory/dhcp/trunk/protocol/project.xml Url: http://svn.apache.org/viewcvs/incubator/directory/dhcp/trunk/protocol/project.xml?view=auto&rev=126197 ============================================================================== --- (empty file) +++ incubator/directory/dhcp/trunk/protocol/project.xml Sat Jan 22 21:17:57 2005 @@ -0,0 +1,29 @@ + + + + ${basedir}/../project.xml + 1 + dhcp-protocol + incubator-directory + dhcp-protocol + DHCP Server Protocol Front-End + org.apache.dhcp + 2005 + Apache DHCP Front-End + + The Apache DHCP protocol front-end. + + + + incubator-directory + mina + 0.7-SNAPSHOT + + + incubator-directory + dhcp-core + 0.1-SNAPSHOT + + + +