[
https://issues.apache.org/jira/browse/CAMEL-3667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995164#comment-12995164
]
Antoine Toulme commented on CAMEL-3667:
---------------------------------------
Edstrom, this diff does the job for the build.xml against HEAD:
Index: build.xml
===================================================================
--- build.xml (revision 1630)
+++ build.xml (working copy)
@@ -54,9 +54,11 @@
Bundle-Version: ${version}
Bundle-Name: dnsjava is an implementation of DNS in Java
Bundle-SymbolicName: org.xbill.dns
- Export-Package:
org.xbill.DNS;uses:="org.xbill.DNS.utils",org.xbill.DNS.spi;uses:="org.xbill.DNS,sun.net.spi.nameservice",org.xbill.DNS.utils,org.xbill.DNS.windows
+ Export-Package:
org.xbill.DNS;version=${version};uses:="org.xbill.DNS.utils",org.xbill.DNS.spi;version=${version};uses:="org.xbill.DNS,sun.net.spi.nameservice",org.xbill.DNS.utils,org.xbill.DNS.windows
Bundle-Vendor: dnsjava.org
Bundle-RequiredExecutionEnvironment: J2SE-1.4
+ Private-Package: !*
+ Import-Package: !org.xbill.DNS*,!sun.*,*
</echo>
<bndwrap
definitions="${dist_dir}"
It creates the following MANIFEST.MF:
Manifest-Version: 1.0
Export-Package: org.xbill.DNS;uses:="org.xbill.DNS.utils";version="2.1
.1",org.xbill.DNS.spi;uses:="org.xbill.DNS,sun.net.spi.nameservice";v
ersion="2.1.1",org.xbill.DNS.utils,org.xbill.DNS.windows
Private-Package: .
Ignore-Package: org.xbill.DNS.windows,org.xbill.DNS.utils,org.xbill.DN
S,org.xbill.DNS.spi,sun.net.spi.nameservice
Implementation-Title: dnsjava
Implementation-Version: 2.1.1
Tool: Bnd-0.0.384
Bundle-Name: dnsjava is an implementation of DNS in Java
Created-By: 1.6.0_15 (Apple Inc.)
Bundle-RequiredExecutionEnvironment: J2SE-1.4
Ant-Version: Apache Ant 1.7.0
Bundle-Vendor: dnsjava.org
Bundle-Version: 2.1.1
Bnd-LastModified: 1297832053582
Bundle-ManifestVersion: 2
Bundle-SymbolicName: org.xbill.dns
Originally-Created-By: 14.1-b02-90 (Apple Inc.)
Does that sound good enough ?
> Camel DNS component
> -------------------
>
> Key: CAMEL-3667
> URL: https://issues.apache.org/jira/browse/CAMEL-3667
> Project: Camel
> Issue Type: New Feature
> Affects Versions: 2.6.0
> Reporter: Antoine Toulme
> Assignee: Edstrom Johan
> Fix For: 2.7.0
>
> Attachments: camel-dns-2011-02-15.zip, camel-dns.zip, camel-dns.zip
>
>
> This patch is a new feature for Camel.
> It builds on top of dnsjava enough functionality to do DNS lookups and
> dig-like functionality.
> It has a neat side feature: you can look up word definitions from Wikipedia
> with it.
> There are maybe more use cases that can easily be implemented, like having
> dynamic DNS.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira