[Yanel-dev] [Bug 6967] ease use of resource types from Eclipse (for instance building them)

bugzilla at wyona.com bugzilla at wyona.com
Thu Feb 5 11:19:27 CET 2009


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=6967





------- Comment #1 from guillaume.deflache at wyona.com  2009-02-05 11:21 -------
For building as found out by Alec IIRC (and recently rediscovered by me...)
instead of packaging all classes into JARs and copying them to
$WEBAPP_HOME/WEB-INF/lib/ we could compile them directly to
$WEBAPP_HOME/WEB-INF/classes/ (we can always keep a separate JAR task).

Sadly Eclipse 3.4 does not allow build output directories outside of the
project hierarchy, so we would have to use a symlink.

For Unix-like development environments (Linux, MacOSX, Cygwin, ...), we can
simply use `ln -s` or the "symlink" Ant task:
http://ant.apache.org/manual/OptionalTasks/symlink.html

For NT-based younger-than-W2k Windows < Vista we may be able to use NTFS
junction points ( http://en.wikipedia.org/wiki/NTFS_junction_point ), which for
our purposes works well enough like symbolic links (creation is not possible
under stock Windows,
http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx (Junction v1.05
By Mark Russinovich) seems the simplest tool to do it).
For Windows >= Vista, we should rather use real NTFS smybolic links (
http://en.wikipedia.org/wiki/NTFS_symbolic_link ).
Not sure yet if Ant "symlink" task itself handles those 2 cases correctly...


-- 
Configure bugmail: http://bugzilla.wyona.com/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the Yanel-development mailing list