Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » PDE export creates outdated jar
PDE export creates outdated jar [message #276818] Mon, 29 November 2004 13:15 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: PDE export creates outdated jar [message #276942 is a reply to message #276923] Wed, 01 December 2004 12:13 Go to previous messageGo to next message
Eclipse UserFriend
> 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.

Helps A LOT! :-)
Thank you so much. I exported to d:\müll :-)
After deleting the temp manually everything worked fine. When exporting
to a path that didn't contain umlauts the temp was deleted properly.

Have you already filed a bug report?

Kind regards,

Ulrich Küster
Re: PDE export creates outdated jar [message #276968 is a reply to message #276942] Thu, 02 December 2004 06:31 Go to previous message
Eclipse UserFriend
> Have you already filed a bug report?

Now (after reading tons of existing bug reports to check if a matching
one does not exist) I have (#79987).

Mike.
Previous Topic:Refresh a project
Next Topic:Deploying plugins/features
Goto Forum:
  


Current Time: Mon May 12 13:02:32 EDT 2025

Powered by FUDForum. Page generated in 0.04092 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top