Oh I have no problems with the eclipse task, this is for local usage. I use it 
of course, else Eclipse is lost with the OFBiz project.

I was more asking where are the Java sources available, in the Gradle cache? 
And if it's there, where exactly?

Also, from your answer I understand that you use the OOTB eclipse task w/o the <<downloadSources=true">> stuff that I found in a Stackoverflow answer linked below

Thanks

Jacques


Le 26/07/2016 à 11:47, Taher Alkhateeb a écrit :
Oh, allow me to explain:

./gradlew cleanAll loadDefault -> This would download the dependencies and
load your data
./gradlew cleanAll build eclipse loadDefault -> this would be same as above
but would additionally download the source Jars.

So if you avoid calling the eclipse tasks, then no source jars will
download. I can double check exactly how this happens if you like, but I
think we are safe as a general idea.

On Tue, Jul 26, 2016 at 12:43 PM, Jacques Le Roux <
[email protected]> wrote:

Does this mean that you used

downloadSources=true"

In you local Eclipse task?
Because you said you had the sources easily available. Beside, where did
you find the sources exactly?

Thanks

Jacques



Le 24/07/2016 à 17:54, Taher Alkhateeb a écrit :

Hi All,

After a bit of investigation I believe Gradle will _not_ download source
libraries _unless_ someone calls the "eclipse" task. So I think no need to
do any changes for releases.

Cheers,

Taher Alkhateeb

On Fri, Jul 22, 2016 at 11:08 PM, Taher Alkhateeb <
[email protected]> wrote:

Hi Jacques,
Sure. I have an idea in mind for how to make this very trivial so that
minimal code is needed to prepare for a release. Whenever you issue the
jira I'll attach a patch for a convenient solution.

Regards,

Taher Alkhateeb

On Jul 22, 2016 11:04 PM, "Jacques Le Roux" <
[email protected]>
wrote:

I think a Jira is appropriate. I believe it should be a subtask of
OFBIZ-7534. I like them because it's easy to spot the state (advance of
work done, and especially remaining issue to work on). I'll handle the
wiki
side when I'll get a chance...

Thanks

Jacques



Le 21/07/2016 à 14:39, Taher Alkhateeb a écrit :

Nice work okay we have the answer on how to stop downloading the sources
:)

On Jul 21, 2016 3:35 PM, "Jacques Le Roux" <
[email protected]>
wrote:

Thanks Taher,

I guess you spoke about Eclipse. BTW should we not add "
downloadSources=true"


https://stackoverflow.com/questions/10156847/how-to-tell-gradle-to-download-all-the-source-jars#answer-10655347
?

For IntelliJ it's here


https://stackoverflow.com/questions/12718753/how-to-download-dependency-sources-for-gradle-project-in-idea

We will put that, with other things, in the "Gradle to And" wiki page
ASAP

Jacques


Le 21/07/2016 à 08:05, Taher Alkhateeb a écrit :

Hi Everyone,

One of the very nice things I discovered a while back is that Gradle
automatically downloads The Source libraries for the jar dependencies
for
almost all of the libraries.

This means that you can ctrl-click with your IDE to navigate the
source
code of these external libraries which I find very helpful for
debugging.

So just wanted to share that for anyone who might want to take
advantage
of
this

Taher Alkhateeb





Reply via email to