| Summary: | Need a way to make existing project PHP project | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Jeff Warnica <jeff.warnica> |
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P2 | CC: | bask8625, eclipse-01, gavin.gilmour, james.deery, mikko.rantalainen, nboldt, vadim.p |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Jeff Warnica
Don't you also have to add the .projectOptions file too?
+1 for having a context menu option for "Add PHP Nature" which would add the required code into an existing .project file and generate the .projectOptions file:
<buildSpec>
<buildCommand>
<name>org.eclipse.php.core.PhpIncrementalProjectBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.php.core.PHPNature</nature>
</natures>
+1 +1 +1 I think we also need to add: <buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/> to .buildpath so that we get the "PHP Language Library" and completion for standard PHP functions etc. Fixed in CVS. closing |