Bug 25582 - Cannot specify java source path for resource !
Summary: Cannot specify java source path for resource !
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0.1   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 2.1 M3   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-31 09:24 EST by Marc Boily CLA
Modified: 2002-11-12 09:21 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Boily CLA 2002-10-31 09:24:05 EST
I have some files in my java sources directory and i cannot specify this 
directory in my folders of resources because when i try to search reference or 
other research, it's not functionning !

Help me please !
Comment 1 Philipe Mulet CLA 2002-10-31 10:31:36 EST
Can you please provide exact steps to reproduce ? I presume your source folder 
is on your classpath, doesn't it ?
Comment 2 Marc Boily CLA 2002-10-31 10:42:22 EST
Create a project, with java and bin direcory !
java containing source code.
In the classpath, try to add class folder with
the same java directory ! and the problem
is there !
:-)
Comment 3 Philipe Mulet CLA 2002-10-31 17:46:15 EST
Why don't you move these in a separate folder where they would be taken into 
account (through a class folder) ? Source folders always implicitly 
ignore .class files.
Comment 4 Marc Boily CLA 2002-11-01 07:42:12 EST
Because before we use JBuilder and he take the .xml files directly in java 
source directory ! We have a big project and the .xml file is classed with 
package ! 

In own system of source sharing only java is committed into database !

:-( it's very difficult to move into other directory for the moment !
Comment 5 Philipe Mulet CLA 2002-11-06 02:13:03 EST
So why did you want to add a class folder with the same Java directory to start 
with ? What is a class folder for you ? The closest thing I could imagine was a 
what we call a library folder (a folder containing .class files).

Source folders will ignore all .class files, but only .class files. The .xml 
files buried in it will be considered and copied to the output location so they 
can be seen at runtime (you can enable a filter through the options if you 
don't mean to have them copied to the output folder).

Is there still a problem?
Comment 6 Philipe Mulet CLA 2002-11-12 09:21:56 EST
Closing, please reopen if you disagree and have more information to provide 
(exact steps would then be appreciated)