development setup #4347
-
For building and testing, I am using eclipse. I build dost.jar with gradle and copy it into src/main/lib so src/main can be used as dita.dir. Is there a better way? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
You shouldn't have to copy anything manually to use your repo clone as a functional toolkit.
Then you should be able to use |
Beta Was this translation helpful? Give feedback.
-
In eclipse, for example, run/debug configurations find dost.jar in bin/... until ant is invoked, then it finds the jar in lib/, so I copy the jar into lib after builds, otherwise changes aren't found. |
Beta Was this translation helpful? Give feedback.
That's how I test. You need to remember to update any plugins you install this way, as they won't be updated just by pulling & running the Gradle build, but the advantage is you can also test this way with newer plugin versions that aren't yet included in the build.
Anything you install this way will show up in Git as new, but you can add the directories to $GIT_DIR/info/exclude so Git won't notice.
Here's what (this part of) my local exclude file looks like: