Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-core-dev] Creating the .project file *not* at root level...


The approach you are trying to take will not work for the reasons you have already found. Is it a requirement that the project strucutre on disk be ofthe form you describe (i.e. are people using Eclipse and IDEA on the same directory structure)? The reason I ask is because, if the answer is no and you are using CVS as your reposiory, you may be able to solve your problem using modules defined in the CVSROOT/modules file or by using the ability in Eclipse to check out folders into exisiting projects.

Michael



"Gautam, Ajay" <agautam@xxxxxxx>
Sent by: platform-core-dev-admin@xxxxxxxxxxx

18/08/2004 02:55 PM

Please respond to
platform-core-dev

To
"'platform-core-dev@xxxxxxxxxxx'" <platform-core-dev@xxxxxxxxxxx>
cc
Subject
[platform-core-dev] Creating the .project file *not* at root level...





Hello. I posted this on the newsgroups, and did not get any response. I have
been googling for a few days now.. no luck. Any help would be highly
appreciated:

========================================
Hello,

I am trying to create an eclipse project (.project) for everyone to use in
our team: trying to convert some people from IDEA to Eclipse ;)

What I need is, to have the .project (and .classpath) files inside the
project hierarchy, instead of the project root directory.

For example: Consider a project, named "foo", files located in c:\foo. I
have to create .project and .classpath in the folder
c:\foo\optional\ide\eclipse (in keeping with the standard
c:\foo\optional\ide\idea, and others)

Any ideas on how to do this ?

The main problem I am facing is that I cannot create a folder link to
c:\foo
(error message: Cannot create a link to c:\foo because it overlaps the
location of the project that contains the linked resource), and thus cannot
use /foo/fooroot/java/source, /foo/fooroot/lib, and other folders, as I
would have liked to. As a workaround, I tried to link the lib folder
directly:
<linkedResources>
                <link>
                                 <name>lib</name>
                                 <type>2</type>
                                 <location>c:/foo/lib</location>
                </link>
</linkedResources>
and was able to use /foo/lib/foo-bar.jar in the project.

Another problem is that I am not able to specify relative paths in the
project file. If I were to change the <location> in above to ../../../lib,
the link does not work! I need this as everyone may not have the foo project
in c:\foo. I myself have it in c:\myprojects\foo

Any help / recommendations / suggestions to get this working would be highly
appreciated.

Thanks,

Ajay
========================================



**************************************************************************
This e-mail and any files transmitted with it may contain privileged or
confidential information. It is solely for use by the individual for whom
it is intended, even if addressed incorrectly. If you received this e-mail
in error, please notify the sender; do not disclose, copy, distribute, or
take any action in reliance on the contents of this information; and delete
it from your system. Any other use of this e-mail is prohibited. Thank you
for your compliance.



_______________________________________________
platform-core-dev mailing list
platform-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-core-dev


Back to the top