forked from camel-tooling/vscode-camelk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FUSETOOLS2-826 - add dependencies in classpath
provide command to add dependencies on classpath. no test to handle 1.3- as this use case is considered as best effort only. for next iterations: - automatically call refresh when needed (to be determined when it is needed) - use a specific folder per file - find a way to support two files opened at same time in different window which are not sharing the same dependencies - allow to configure parameters to provide to the call (like a maven repository) - provide progress report of refresh limitations due to upstream: - some notations not supported apache/camel-k#2213 - a lot of place is taken in internal folders as jars are duplicated instead of simply pointing to local .m2 apache/camel-k#2179 - use an API to refresh the classpath to avoid workaround of changing back and forth the settings redhat-developer/vscode-java#1874 Signed-off-by: Aurélien Pupier <apupier@redhat.com>
- Loading branch information
Showing
8 changed files
with
155 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
test Fixture with speci@l chars/MyRouteBuilderWithAdditionalDependencies.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// camel-k: dependency=mvn:org.apache.commons:commons-math3:3.6.1 | ||
|
||
import org.apache.camel.builder.RouteBuilder; | ||
|
||
public class MyRouteBuilderWithAdditionalDependencies extends RouteBuilder{ | ||
public void configure() { | ||
ArithmeticUt | ||
} | ||
} |