[ajug-members] Problem building Project with Eclipse

James Mitchell james.l.mitchell at mac.com
Wed May 16 17:52:25 EDT 2007


Yes, you do that by going to Project > Properties.
Then click on Project Build Path, and select the tab for Source.

Next, expand the source folders and either a) double click on the  
exclude or b) select a source folder and click the edit button.

The popup should allow you to configure included and excluded items.   
Click the add... button (beside the exclusion area) and type in:

  **/.svn

You'll have to repeat this for each source folder.

This excludes all subversion folders and files from being part of the  
source path for the compiler.


--
James Mitchell



On May 16, 2007, at 2:20 PM, didoss at comcast.net wrote:

> Can you just manually exclude the .svn from the build through your  
> eclipse?  I don't remember the specifics, but I have a vague  
> recollection of excluding .vss files at my last job - sounds like a  
> similar scenario.
>
> good luck,
> Dianne
>
>  -------------- Original message ----------------------
> From: hsaid at checkfree.com
>> Members,
>> I am encountering the following weird problem while trying to  
>> build my
>> project using Eclipse IDE.
>>
>> - I get all my source using Subversion. My source and related  
>> files are in
>> the directoryC:/m2/ GameX/GameXStrings
>> - I tried to build my project at AtlasStrings using Eclispe. it  
>> gives this
>> error: Element not found: /SVN/GameX/GameXStrings.
>> - The eclipse logs show this:
>>      java.lang.IllegalArgumentException: Element not found:
>> /SVN/GameX/GameXStrings
>>         at
>> org.eclipse.core.internal.watson.ElementTree.elementNotFound 
>> (ElementTree.java:25
>> 5)
>>         at
>> org.eclipse.core.internal.watson.ElementTree.createElement 
>> (ElementTree.java:183)
>> - I found that Subversion creates the directory .svn under  
>> GameStrings
>> - Copying the repositry to a new location and removing .svn does  
>> result in
>> the successful build. But i dont want to remove .svn
>>
>> Any thoughts on the error.
>>
>>
>> Thanks for your help,
>> Hammad
>> _______________________________________________
>> ajug-members mailing list
>> ajug-members at ajug.org
>> http://www.ajug.org/mailman/listinfo/ajug-members
>
> _______________________________________________
> ajug-members mailing list
> ajug-members at ajug.org
> http://www.ajug.org/mailman/listinfo/ajug-members




More information about the ajug-members mailing list