Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-ui-dev] Excluding directory from a project

You can try to add those directories to .cvsignore and then delete them
from src.
Next time when you will do a CVS update/commit those directories will be
ignored.

Don't forget to commit .cvsignore files too, otherwise you will lose the
settings.

Regards,
Marius




|---------+---------------------------->
|         |           Elena            |
|         |           Litani/Toronto/IB|
|         |           M@IBMCA          |
|         |           Sent by:         |
|         |           jdt-ui-dev-admin@|
|         |           eclipse.org      |
|         |                            |
|         |                            |
|         |           10/18/2002 09:45 |
|         |           AM               |
|         |           Please respond to|
|         |           jdt-ui-dev       |
|         |                            |
|---------+---------------------------->
  >------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                              |
  |       To:       jdt-ui-dev@xxxxxxxxxxx                                                                                       |
  |       cc:                                                                                                                    |
  |       Subject:  [jdt-ui-dev] Excluding directory from a project                                                              |
  |                                                                                                                              |
  |                                                                                                                              |
  >------------------------------------------------------------------------------------------------------------------------------|



Is it possible to tell the compiler _not_ to compile certain
files/directories in a Java project?

I working with Xerces/Xalan and there are some directories (under the
'src') that need to be excluded during build/compile of the project.
Removing those directories manually would not work, since updating code
from CVS and refreshing the Eclipse project will include deleted
directories back into the project.

I've tried to chage Window/Preferences/Java/Compiler/Other: "filtered
resources" by setting the directory I would like to exclude. But it does
not seem to work: the compiler still tries to compile the directory I
try to exclude. On top of it, it does not let me enter a complete path,
i.e src/dom3/org, only string 'dom3/' could be entered.

Any ideas?

Thank you,
--
Elena Litani / IBM Toronto
_______________________________________________
jdt-ui-dev mailing list
jdt-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-ui-dev





Back to the top