Difference between revisions of "FAQ Where are project build specifications stored?"

From Eclipsepedia

Jump to: navigation, search
 
(See Also:: remove unnecessary underscores)
 
Line 35: Line 35:
  
 
== See Also: ==
 
== See Also: ==
[[FAQ_How_do_I_add_a_builder_to_a_given_project%3F]]
+
[[FAQ How do I add a builder to a given project?]]
  
 
<hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font>
 
<hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font>

Latest revision as of 09:43, 19 February 2007

A project is built according to the specifications defined in its .project file. To see the .project file for a given project, click on the Menu toggle in the Package Explorer’s toolbar, select Filters..., and deselect .* files. Open the .project file. The .project file for a plug-in should look similar to this:

    <?xml version="1.0" encoding="UTF-8"?>
    <projectDescription>
        <name>org.eclipse.escript.builder</name>
        <projects>
            ...
        </projects>
        <buildSpec>
            <buildCommand>
                <name>org.eclipse.jdt.core.javabuilder</name> 
                <arguments> </arguments>
            </buildCommand>
            <buildCommand>
                <name>org.eclipse.pde.ManifestBuilder</name> 
                <arguments> </arguments>
            </buildCommand>
            <buildCommand>
                <name>org.eclipse.pde.SchemaBuilder</name> 
                <arguments> </arguments>
            </buildCommand>
        </buildSpec>
        <natures>
            <nature>org.eclipse.pde.PluginNature</nature>
            <nature>org.eclipse.jdt.core.javanature</nature>
        </natures>
    </projectDescription>


[edit] See Also:

FAQ How do I add a builder to a given project?


This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.