- This topic has 2 replies, 2 voices, and was last updated 19 years, 6 months ago by
Sandeep Khanna.
-
AuthorPosts
-
Sandeep KhannaMemberHi All,
Our current project uses a very bad ANT build script in conjunction with XDoclet & a very bad non J2EE compliant folder structure. With that said the current build script does manage to produce a deployable EAR file containing EJB jar and WEB war modules. This EAR deploys and works perfectly well on JBoss 4.0.3 and other App servers.
Exploding this ear and it’s contents and using it as a reference for an Exploded deployment, I had to create many shortcuts to various files & folders (META-INF, WEB-INF/classes, WEB-INF/lib/*, etc) within the project folders (we have 3 separate folders for EAR, WAR & EJB).
In Linux, the symlinks created in such a fashion would result in those symlinked files/folders to be copied over to JBoss deploy folder in the right locations in the right folders of the Enterprise App.
Unfortunately, the same trick does not work on a MS Windows machine with *shortcuts* to the necessary files/folders.
As I see it, the MyEclipse Exploded deployment process/feature does not follow the shortcuts on a MS Windows platform to copy the target files/folders to the JBoss deploy folder.
Any help would be highly appreciated.
Thanks,
Sandeep Khanna
Riyad KallaMemberSandeep,
Shortcuts are not he same as symlinks, if you want the equivalent on Windows, you need to be running NTFS as your file system, you can try googling for “NTFS symlinks”, this has come up about once a year and people are always surprised that NTFS supports symlinks (as am I) but it seems to fix their problem.
Sandeep KhannaMemberI had installed NTFS link from http://www.elsdoerfer.info/ntfslink/ and created junctions (folders) & soft links (files) using it in WinXP as per my requirements/description in my previous post. But, it doesn’t work! MyEclipseIDE will completely ignore those files/folders created using NTFS link. Net effect being that those files/folders are not copied over to the deployment folders.
Can someone try this with a simple ‘TestEnterpriseProject’ in MyEclipse with it deployed to JBoss 4.0.x on WinXP?
-
AuthorPosts