views:

91

answers:

0

Hi,

env: eclipse Helios, glassfish 3.1, windows XP

I have en EAR project wich contains an EJB module end 2 projects referenced in the workspace. The first publish (after an add/remove project on the server) on glassfish works fine.

If I modify one code line or propertie file on any referenced project, WTP deletes the directories of all others referenced projects in the glassfish eclipseapps directory.

I have to remove the EAR project and re add it (after clean glassfish/domain/eclipseApps) to take my modification into account.

If I work with only one project referenced in the workspace, everything is fine.

The issue is the same if I use maven plugin on these projects.

I probably miss something but I don't see what !

Thanks for any help

Fred

Edit:a workaround : clean (project/clean) the referenced project together and wtp will republish them together also. In the server setting put the publishing interval to the maximum time of cleaning to avoid publish during cleaning and choose option "automatically publish when ressources change"