Contributors set-up advices (which IDE to use, how to configure it ?) #2147
Unanswered
sbernard31
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I try to edit some Bouncy Castle code (java).
For now I just want to experiment a little bit some idea but maybe that will lead to some code contribution.
To code the project for which I need bc-java, I use Eclipse (and more generally I use Eclipse for java coding).
So my first try was to try to import bc-java in eclipse.
(Each try, I start with fresh git clone :
git clone [email protected]:bcgit/bc-java.git
)First try : Use Eclipse Gradle support (Buildship plugin)
Then I install Buildship in eclipse.
Then build with gradle
The I try to import that in eclipse with
Import Existing Gradle project
but project doesn't compile. (mainly about symbol which can not be resolved, e.g :Arrays cannot be resolved to a type
)Second Try : Generate Eclipse project files via Gradle
This seems to be a deprecated way but I try it anyway :
.project
,.classpath
and other eclipse files are generated but when I tried to import it in eclipse I get again compilation errors. (same kind of compilation issue)Third Try : Code in Eclipse with compilation problem (or a text editor) then publish to maven locally
This is clearly a not so convenient solution but the only one I succeed to make it works for now.
To publish to maven
Then add the SNAPSHOT dependencies to your project.
Strangely I need to add
bcprov-jdk18on
andbctls-jdk18on
dependency where with maven central release I only needbctls-jdk18on
So even with that not to convenient method, there is maybe something which smell not so good.
Any recommendation ?
Beta Was this translation helpful? Give feedback.
All reactions