You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2013/08/13 18:43:49 UTC

[jira] [Commented] (SOLR-4856) ant eclipse is not generating .project file correctly on mac

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

Steve Rowe commented on SOLR-4856:
----------------------------------

I don't use Eclipse, so it may be that there is something else wrong that isn't apparent on casual inspection, but I can't reproduce the problem you're reporting here.

On my Macbook Pro with OS X 10.8.4, when I run {{ant eclipse}} from a Bash cmdline on {{branch_4x}} (using ant v1.8.2 and Oracle Java 1.7.0_25), the generated {{.project}} file contents start with: 

{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>branch_4x</name>
	<comment></comment>
	<projects>
	</projects>
	<buildSpec>
		<buildCommand>
			<name>org.eclipse.jdt.core.javabuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>
	<natures>
		<nature>org.eclipse.jdt.core.javanature</nature>
	</natures>
        <filteredResources>
             ...
{code}

                
> 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