[
https://issues.apache.org/jira/browse/SOLR-4856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13738672#comment-13738672
]
Uwe Schindler commented on SOLR-4856:
-------------------------------------
Hi, could or be that the problem is because you check out from inside Eclipse
using subclipse? Ant does not overwrite an already existing project file to no
loose custom project settings. Make sure that after checkout all eclipse files
are deleted, you can use "ant clean-eclipse" to do this.
> ant eclipse is not generating .project file correctly on mac
> ------------------------------------------------------------
>
> Key: SOLR-4856
> URL: https://issues.apache.org/jira/browse/SOLR-4856
> Project: Solr
> Issue Type: Bug
> Components: Build
> Affects Versions: 4.4
> Environment: Mac OS X 10.8.2
> Eclipse Version: Juno Service Release 2
> Build id: 20130225-0426
> Reporter: Kranti Parisa
> Priority: Minor
>
> STEPS:
> --------
> - Checkout from the branch_4x (Using Subclipse inside Eclipse Juno)
> - On the Terminal (command line) ran "ant eclipse"
> - Generated the eclipse .project, .classpath, .settings files
> - Refresh the project in Eclipse (I can see the files in the Navigator View)
> along with the actual source code checked out from SVN
> - Open .project file and there is no buildSpec, natures elements in there
> - Hence not able to build it properly and use ctrl+clicks for the references
> I manually edited the .project file to have the following
> <buildSpec>
> <buildCommand>
> <name>org.eclipse.jdt.core.javabuilder</name>
> <arguments>
> </arguments>
> </buildCommand>
> </buildSpec>
> <natures>
> <nature>org.eclipse.jdt.core.javanature</nature>
> </natures>
> Shouldn't it be automatically added to the .project file at the first place
> when we run "ant eclipse" ?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]