Bug 186850 - Generated plugin build scripts have both bin and @dot in classpath
Summary: Generated plugin build scripts have both bin and @dot in classpath
Status: NEW
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 3.2.2   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-14 14:01 EDT by Jeff Myers CLA
Modified: 2022-11-20 13:16 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Myers CLA 2007-05-14 14:01:14 EDT
The build.xml files that are generated by PDE includes both the bin and @dot directories of the plugins it depends on in the build classpath.  For example:

	<target name="@dot" depends="init" unless="@dot" description="Create jar: com.onaro.client.annotations.ui @dot.">
		<delete dir="${temp.folder}/@dot.bin"/>
		<mkdir dir="${temp.folder}/@dot.bin"/>
		<path id="@dot.classpath">
			<pathelement path="../com.onaro.client.ui/bin/"/>
			<pathelement path="../com.onaro.client.ui/@dot"/>
			<pathelement path="../com.onaro.client.dashboard.ui/bin/"/>
			<pathelement path="../com.onaro.client.dashboard.ui/@dot"/>
			<pathelement path="../com.onaro.client.license/bin/"/>
			<pathelement path="../com.onaro.client.license/@dot"/>
		</path>

This leads to unexpected behavior if the bin folder is not in a consistent state before the build - for example if the project was built in Eclipse in the past, but build automatically is turned off.

Why does the PDE build include the bin folder of dependent plugins in its build - rather than simply depending on @dot?  If this is expected behavior, could we have an option to disable including the bin folder in the generated build files, and simply relying on @dot, or have @dot show up in the classpath above the bin directory?
Comment 1 Jeff Myers CLA 2008-03-27 15:28:09 EDT
Any chance of getting feedback on this issue? I'm running into more and more problems caused by it and would really like to see it resolved.
Comment 2 Lars Vogel CLA 2018-12-03 09:10:30 EST
Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. 

Please reopen, if you plan to provide a fix.
Comment 3 Lars Vogel CLA 2018-12-03 09:12:26 EST
Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. 

Please reopen, if you plan to provide a fix.
Comment 4 Eclipse Genie CLA 2020-11-29 14:01:46 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 Eclipse Genie CLA 2022-11-20 13:16:40 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.