lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-4856) ant eclipse is not generating .project file correctly on mac
Date Tue, 13 Aug 2013 20:16:48 GMT

    [ https://issues.apache.org/jira/browse/SOLR-4856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13738758#comment-13738758
] 

Uwe Schindler commented on SOLR-4856:
-------------------------------------

As I said before.  Ant eclipse does not overwrite an already existing project file.  When
you check out from inside Eclipse one is generated by Eclipse itself. 

Use Ant clean-eclipse to remove all eclipse specific files from checkout before regenerating.
                
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message