PDE export creates outdated jar [message #276818] |
Mon, 29 November 2004 13:15  |
Eclipse User |
|
|
|
Hi!
My build.properties look like this
[bin.includes = ...]
jars.compile.order = schemagenerator.jar
source.schemagenerator.jar = src/
output.schemagenerator.jar = bin/
where src is one of the src folders of my PlugInProject.
When I export my project with the PDE-Export function, these build
properties create a file "schemagenerator.jar" that is totally outdated
(it reflects an extremely old version of my plugin).
It seems strange to me but the schemageneratorsrc.zip which is created
at the same time accurately mirrors my current state of development.
I changed the build.properties to:
[bin.includes = ...]
jars.compile.order = schemagenerator2.jar,\
schemagenerator.jar
source.schemagenerator2.jar = src/
output.schemagenerator2.jar = bin/
source.schemagenerator.jar = src/
output.schemagenerator.jar = bin/
and again got an inaccurate schemagenerator.jar, an accurate (!)
schemagenerator2.jar and two identical source zips
schemagenerator2src.zip and schemageneratorsrc.zip.
How the $/§&")#~ can it happen that schemagenerator.jar and
schemagenerator2.jar are not identical? I suspect that PDE cashes some
data so I tried to restart Eclipse with -clean option and also cleaned
my project. Didn't change anything. I searched my local disc for files
schemagenerator.jar but found only accurate new ones (didn't search my
whole disc though).
Any help greatly appreciated since I have been exploring this phenomenon
for quite a while now :-(.
Ulrich Kuester
|
|
|
Re: PDE export creates outdated jar [message #276923 is a reply to message #276818] |
Wed, 01 December 2004 06:51   |
Eclipse User |
|
|
|
Hello,
I'am not sure if I had the same problem, but it may be your last name is
the reason (!).
Same behaviour here (Windows, eclipse 3.0.1, exporting a plugin to file
system). Today it works without changing any options - ups!? - The only
thing I changed is the destination path: Before with, now without German
umlauts.
What happened with umlauts:
<workspace>\.metadata\.plugins\org.eclipse.pde.ui\temp
is not deleted after export. But with this temp dir, no new jar is
copied during next export operation. Therefore I have to delete this dir
manually.
Hope this helps.
Michael Röhner.
Ulrich Küster wrote:
> Hi!
>
> My build.properties look like this
> [bin.includes = ...]
> jars.compile.order = schemagenerator.jar
> source.schemagenerator.jar = src/
> output.schemagenerator.jar = bin/
>
> where src is one of the src folders of my PlugInProject.
> When I export my project with the PDE-Export function, these build
> properties create a file "schemagenerator.jar" that is totally outdated
> (it reflects an extremely old version of my plugin).
> It seems strange to me but the schemageneratorsrc.zip which is created
> at the same time accurately mirrors my current state of development.
>
> I changed the build.properties to:
> [bin.includes = ...]
> jars.compile.order = schemagenerator2.jar,\
> schemagenerator.jar
> source.schemagenerator2.jar = src/
> output.schemagenerator2.jar = bin/
> source.schemagenerator.jar = src/
> output.schemagenerator.jar = bin/
>
> and again got an inaccurate schemagenerator.jar, an accurate (!)
> schemagenerator2.jar and two identical source zips
> schemagenerator2src.zip and schemageneratorsrc.zip.
>
> How the $/§&")#~ can it happen that schemagenerator.jar and
> schemagenerator2.jar are not identical? I suspect that PDE cashes some
> data so I tried to restart Eclipse with -clean option and also cleaned
> my project. Didn't change anything. I searched my local disc for files
> schemagenerator.jar but found only accurate new ones (didn't search my
> whole disc though).
>
> Any help greatly appreciated since I have been exploring this phenomenon
> for quite a while now :-(.
>
> Ulrich Kuester
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04092 seconds