Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Custom Build or preservelastmodified
Custom Build or preservelastmodified [message #303830] Wed, 24 May 2006 03:22 Go to next message
Eclipse UserFriend
I have a funny situation where a fragment (it is composed of lots of non
java things) only works when I preserves the last modifed date. None of
the export options in eclipse seem to support this.

So I wrote an ant script which basically copies the plugin and uses the
preservelastmodified option. The script works fine, but I would like to
incorporate into an export process. I thought that would be the "Custom
Build" option on the build configuration screen, but maybe not.

Ideally I would like to export all of my code using "export deployable
plugins and fragments" and then eclipse would see that this fragment has a
build.xml and that "Custom Build" is checked and so it would run the
script automatically. Is there anyway to do this or something similiar?

I want to avoid creating an ant script for the whole set of plugins.

thanks

kent
Re: Custom Build or preservelastmodified [message #303843 is a reply to message #303830] Wed, 24 May 2006 07:11 Go to previous messageGo to next message
Eclipse UserFriend
Hi kent,

I'd wait a couple of days to see if anybody has any ideas. But if that
doesn't work, please open an enhancement request at
https://bugs.eclipse.org/bugs/ against eclipse platform PDE

Later,
PW
Re: Custom Build or preservelastmodified [message #304018 is a reply to message #303843] Mon, 29 May 2006 02:13 Go to previous messageGo to next message
Eclipse UserFriend
thanks for your interest.

There must be someway of overriding the internal mechanism with my
build.xml. Currently what is happenning is that my build.xml is ignored
and deleted?!

I also tried to mess around with the build path menu with no success. I
disable all my builders except for my ant script. but I can't get it to
run during an export.

hmm.
Re: Custom Build or preservelastmodified [message #304391 is a reply to message #304018] Tue, 06 June 2006 10:03 Go to previous message
Eclipse UserFriend
thanks again for the help.

if anyone is else is having this problem, ie trying to preserve the last
modified date, the solution is easy.

1) select the the manifest.mf file - then do pde tools create ant build
file.

2) add preservelastmodified="true" to the created copy command

regards
Previous Topic:AST Null
Next Topic:Properties view
Goto Forum:
  


Current Time: Fri Sep 19 07:12:09 EDT 2025

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

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

Back to the top