Component docs

Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/12e0ce4c
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/12e0ce4c
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/12e0ce4c

Branch: refs/heads/master
Commit: 12e0ce4c0f79486faa3adc8e93af160a73375bf8
Parents: 827bcf5
Author: Claus Ibsen <davscl...@apache.org>
Authored: Sun Jun 14 13:56:57 2015 +0200
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Sun Jun 14 15:22:20 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/tools/apt/DocumentationHelper.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/12e0ce4c/tooling/apt/src/main/java/org/apache/camel/tools/apt/DocumentationHelper.java
----------------------------------------------------------------------
diff --git 
a/tooling/apt/src/main/java/org/apache/camel/tools/apt/DocumentationHelper.java 
b/tooling/apt/src/main/java/org/apache/camel/tools/apt/DocumentationHelper.java
index 916e0e3..e8e8cf7 100644
--- 
a/tooling/apt/src/main/java/org/apache/camel/tools/apt/DocumentationHelper.java
+++ 
b/tooling/apt/src/main/java/org/apache/camel/tools/apt/DocumentationHelper.java
@@ -91,8 +91,8 @@ public final class DocumentationHelper {
     }
 
     private static File jsonFile(String scheme, String extendsScheme) {
-        // TODO: scan components for each component and find component name 
from extendsScheme
-        // and then find the package name where the json file is
+        // we cannot use classloader to load external resources from other 
JARs during apt plugin,
+        // so load these resources using the file system
 
         if ("file".equals(extendsScheme)) {
             return new 
File("../../camel-core/target/classes/org/apache/camel/component/file/file.json");

Reply via email to