Bug 490411 - Dirty working tree: files/jars in JDT Debug
Summary: Dirty working tree: files/jars in JDT Debug
Status: REOPENED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.8   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted
Depends on: 419506 490412
Blocks:
  Show dependency tree
 
Reported: 2016-03-24 20:38 EDT by David Williams CLA
Modified: 2022-08-21 17:22 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2016-03-24 20:38:17 EDT
+++ This bug was initially created as a clone of Bug #419506 +++

The latest "dirt report" shows JDT Debug still produces "dirt" during a build. 

Entering 'eclipse.jdt.debug'
?? org.eclipse.jdt.debug.tests/javadebugtests.jar
?? org.eclipse.jdt.debug/jdi.jar
?? org.eclipse.jdt.debug/jdimodel.jar

If these are "intermediate" files produced during the build, would be best to create them somewhere under /target so they would not cleaned up automatically during a build or rebuild.
Comment 1 Dani Megert CLA 2016-03-25 06:49:16 EDT
(In reply to David Williams from comment #0)
> +++ This bug was initially created as a clone of Bug #419506 +++
> 
> The latest "dirt report" shows JDT Debug still produces "dirt" during a
> build. 
> 
> Entering 'eclipse.jdt.debug'
> ?? org.eclipse.jdt.debug.tests/javadebugtests.jar
> ?? org.eclipse.jdt.debug/jdi.jar
> ?? org.eclipse.jdt.debug/jdimodel.jar
> 
> If these are "intermediate" files produced during the build, would be best
> to create them somewhere under /target so they would not cleaned up
> automatically during a build or rebuild.

Why is this now showing up, i.e. is this something new?

Those files are part of the final bundle and no dirt. Note that this bundle is not JARed.
Comment 2 Dani Megert CLA 2016-03-25 08:52:15 EDT
(In reply to David Williams from comment #0)
> If these are "intermediate" files produced during the build, would be best
> to create them somewhere under /target 

Are class files also produced outside the tree and not in the bin folder like in the workspace?
Comment 3 David Williams CLA 2016-03-25 09:33:10 EDT
(In reply to Dani Megert from comment #1)

> Why is this now showing up, i.e. is this something new?
> 
> Those files are part of the final bundle and no dirt. Note that this bundle
> is not JARed.

Not new. In bug 419506 you mentioned "a separate bug may have to be open for debug", but one never was. 

(In reply to Dani Megert from comment #2)

> Are class files also produced outside the tree and not in the bin folder
> like in the workspace?

I would guess these are produced as part of some "ant process" and (later) become part of a bundles. 

There's are ways of doing this "in the /target" directory (perhaps under "resources"? -- I forget) and then there is some pom incantation needed to convince Tycho to add them to the bundle ... something like "addAddtionalResources". I'd have to look for existing examples to get the exact name.
Comment 4 Eclipse Genie CLA 2018-12-17 05:34:01 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 5 Dani Megert CLA 2018-12-17 06:14:09 EST
Please reopen if this is still an issue.
Comment 6 Andrey Loskutov CLA 2018-12-17 11:32:59 EST
(In reply to Dani Megert from comment #5)
> Please reopen if this is still an issue.

Still there. See them every time checked out I do a platform build locally, even with unmodified sources. A real pain.
Comment 7 Dani Megert CLA 2018-12-17 11:44:08 EST
(In reply to Andrey Loskutov from comment #6)
> (In reply to Dani Megert from comment #5)
> > Please reopen if this is still an issue.
> 
> Still there. See them every time checked out I do a platform build locally,
> even with unmodified sources. A real pain.

Any help is welcome ;-)
Comment 8 Eclipse Genie CLA 2022-08-21 17:22:58 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.