How to include project output directory to commint?
From: Pavel Janoušek <janousek_at_fonet.cz>
Date: 2005-01-06 12:51:23 CET
Hi,
I try use updated Subclipse tool integrated to Eclipse 3.0.1 for working with SCM system Subversion.
I want to have in repository not only source(s) (java src files (*.java), stored procedures src (*.sql) etc.), but also compiled classes - *.class files.
On the repository side, you may imagine this structure:
/project/sources/cz/fonet/<class_src>
Ex.: class_src = foo.java; class_bin = foo.class
I must instruct Eclipse where sources are stored and where is output dir. So I checkout project not as project automaticaly, but I use "Check Out as...", select Java project and define this directory on Preferences (Configure Defaults... -> Source and output folder = Folders; Default output folder =<project>/Output folder defined in Configure defaults).
But the IDE hide the output directory - so I can´t see the project/classes directory. If I can (and I can!) store in repository the snapshot of relevant *.java and *.class file(s), I must commit using external tool because in Eclipse I can commit only changes on *.java file(s).
I there any workaroud to solve this situation? Is it so bad idea may have in repository together source and binary snapshot of project and then use branching/copying to copy the "branch" classes to other ... - it´s the similar to situation when in one project I generate *.jar (library) which is used on other project(s)... - but only I don´t have one or more jar(s), I have many classes...
Thank you for any response or idea(s).
Ing. Pavel Janousek
E-mail: janousek@fonet.cz
|
This is an archived mail posted to the Subclipse Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.