[SNMP][JAVA][Open Source] How to compile mibble
Install compiler tool in ubuntu 14.04
sudo apt-get install ant
sudo apt-get install openjdk-7-jdk
Under mibble-2.9.3 then run
ant -buildfile build.xml
...
doc-html: [0/1956]
[copy] Copying 1 file to /home/freeman/Downloads/mibble-2.9.3/doc
[xslt] Transforming into /home/freeman/Downloads/mibble-2.9.3/doc
[xslt] Processing /home/freeman/Downloads/mibble-2.9.3/src/doc/release/authors.xml to /home/freeman/Downloads/mibble-2.9.3/doc/authors.html
[xslt] Loading stylesheet /home/freeman/Downloads/mibble-2.9.3/src/doc/html.xsl
[xslt] Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
[xslt] Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
[xslt] Processing /home/freeman/Downloads/mibble-2.9.3/src/doc/release/bugs.xml to /home/freeman/Downloads/mibble-2.9.3/doc/bugs.html
[xslt] Processing /home/freeman/Downloads/mibble-2.9.3/src/doc/release/features.xml to /home/freeman/Downloads/mibble-2.9.3/doc/features.html
[xslt] Processing /home/freeman/Downloads/mibble-2.9.3/src/doc/release/index.xml to /home/freeman/Downloads/mibble-2.9.3/doc/index.html
[xslt] Processing /home/freeman/Downloads/mibble-2.9.3/src/doc/release/install.xml to /home/freeman/Downloads/mibble-2.9.3/doc/install.html
[xslt] Processing /home/freeman/Downloads/mibble-2.9.3/src/doc/release/version.xml to /home/freeman/Downloads/mibble-2.9.3/doc/version.html
doc-java:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Loading source files for package net.percederberg.mibble...
[javadoc] Loading source files for package net.percederberg.mibble.snmp...
[javadoc] Loading source files for package net.percederberg.mibble.type...
[javadoc] Loading source files for package net.percederberg.mibble.value...
[javadoc] Constructing Javadoc information...
[javadoc] Standard Doclet version 1.7.0_65
[javadoc] Building tree for all the packages and classes...
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
doc:
all:
BUILD SUCCESSFUL
Total time: 22 seconds
Compile specific function
ant -buildfile build.xml doc-html
Buildfile: /home/freeman/Downloads/mibble-2.9.3/build.xml
doc-html:
[xslt] Transforming into /home/freeman/Downloads/mibble-2.9.3/doc
BUILD SUCCESSFUL
Total time: 0 seconds
Reference :
1. mibble :: MIB Parser
0 意見:
張貼留言