Hi,

The NB notes are outdated. For a new installation, start with subversion.

In NB6.1, go to Versioning>Subversion>Checkout
Enter http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk as the Repository URL.

>Next

In the Checkout window, specify the local folder for checkout.

(Note: you may want to check the 'Skip "trunk" and checkout only its content' box. There seems to be a bug in the subversion module that puts an .svn directory in the parent of the checkout directory. If you check the box, and specify my/local/fop, an extra .svn may appear in 'local'. In that case, you may want to delete that extra directory. I've seen the extra directory a couple of times, and I'm not sure what triggers it.)

>Finish

Fop is checked out.

Find copies of ant.jar, xmlunit-1.1.jar and a copy of qdox-*.jar. These are required for the build and testing. Link or copy them into the fop/lib directory. Ask here where and what you need. It may be documented.

You now need to create a project. Not nice. Easiest way is probably to start with my project.xml, attached. Create a directory 'nbproject' in the top-level directory; 'trunk', if you checked out including 'trunk'. Drop project.xml in there.

Before you open the project, try running a preliminary build from the command line, to get the code generation done. That will make life easier for NB when the project is opened, but it is not essential.

Open Project>

Navigate to fop, and open the project. See what happens.



bonekrusher wrote:
Hi,

I am trying to set up FOP Trunk in Netbeans 6.1. The documentation on line
is for Netbeans 4.1 which is very different from NetBeans 6.1
http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-8cf54ad17f7876ad9c0b23823e69382715fd1225

I am having trouble checking out via subversion. The documentation is
nothing like the 6.1. I performed the following.
1. Setup the project in NetBeans 6.1
(http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-f636b7648eca35f44bf9f56654c6182f1a4124cf)

2. Connect the project to Subversion
(http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-8cf54ad17f7876ad9c0b23823e69382715fd1225)

To connect to http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/ I click
Versioning>SubVersion>Import into respository and enter
"http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/"; and click "ok"

Nothing happens...
I have confirmed SVN is installed and in my Path e.g. (svn, version 1.4.5
(r25188))
Can anyone provide some guidance? Once I get it running under 6.1 I would
gladly update the Wiki.

Thanks,
Bones


--
Peter B. West <http://cv.pbw.id.au/>
Folio <http://defoe.sourceforge.net/folio/>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1";>
    <type>org.netbeans.modules.ant.freeform</type>
    <configuration>
        <general-data xmlns="http://www.netbeans.org/ns/freeform-project/1";>
            <name>fop</name>
        </general-data>
        <general-data xmlns="http://www.netbeans.org/ns/freeform-project/2";>
            <!-- Do not use Project Properties customizer when editing this file manually. -->
            <name>fop</name>
            <properties/>
            <folders>
                <source-folder>
                    <label>fop</label>
                    <location>.</location>
                    <encoding>UTF-8</encoding>
                </source-folder>
                <source-folder>
                    <label>src/java</label>
                    <type>java</type>
                    <location>src/java</location>
                    <encoding>UTF-8</encoding>
                </source-folder>
                <source-folder>
                    <label>build/gensrc</label>
                    <type>java</type>
                    <location>build/gensrc</location>
                    <encoding>UTF-8</encoding>
                </source-folder>
                <source-folder>
                    <label>src/codegen/java</label>
                    <type>java</type>
                    <location>src/codegen/java</location>
                    <encoding>UTF-8</encoding>
                </source-folder>
                <source-folder>
                    <label>test/java</label>
                    <type>java</type>
                    <location>test/java</location>
                    <encoding>UTF-8</encoding>
                </source-folder>
            </folders>
            <ide-actions>
                <action name="build">
                    <target>jar-main</target>
                </action>
                <action name="clean">
                    <target>clean</target>
                </action>
                <action name="javadoc">
                    <target>javadocs</target>
                </action>
                <action name="rebuild">
                    <target>clean</target>
                    <target>jar-main</target>
                </action>
            </ide-actions>
            <export>
                <type>jar</type>
                <location>build/fop.jar</location>
                <build-target>jar-main</build-target>
            </export>
            <export>
                <type>folder</type>
                <location>build/classes</location>
                <build-target>jar-main</build-target>
            </export>
            <export>
                <type>folder</type>
                <location>build/classes</location>
                <build-target>jar-main</build-target>
            </export>
            <export>
                <type>folder</type>
                <location>build/codegen-classes</location>
                <build-target>jar-main</build-target>
            </export>
            <export>
                <type>folder</type>
                <location>build/classes</location>
                <build-target>jar-main</build-target>
            </export>
            <view>
                <items>
                    <source-folder style="packages">
                        <label>src/java</label>
                        <location>src/java</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>build/gensrc</label>
                        <location>build/gensrc</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>src/codegen/java</label>
                        <location>src/codegen/java</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>test/java</label>
                        <location>test/java</location>
                    </source-folder>
                    <source-file>
                        <location>build.xml</location>
                    </source-file>
                </items>
                <context-menu>
                    <ide-action name="build"/>
                    <ide-action name="rebuild"/>
                    <ide-action name="clean"/>
                    <ide-action name="javadoc"/>
                </context-menu>
            </view>
            <subprojects/>
        </general-data>
        <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/1";>
            <compilation-unit>
                <package-root>src/java</package-root>
                <classpath mode="compile">build/classes:build/codegen-classes:lib/avalon-framework-4.2.0.jar:lib/batik-all-1.7.jar:lib/commons-io-1.3.1.jar:lib/commons-logging-1.0.4.jar:lib/serializer-2.7.0.jar:lib/servlet-2.2.jar:lib/xalan-2.7.0.jar:lib/xercesImpl-2.7.1.jar:lib/xml-apis-1.3.02.jar:lib/xml-apis-ext.jar:lib/xmlgraphics-commons-1.4svn.jar:build/transcoder-dependencies:lib/ant.jar</classpath>
                <built-to>build/fop.jar</built-to>
                <built-to>build/classes</built-to>
                <source-level>1.5</source-level>
            </compilation-unit>
            <compilation-unit>
                <package-root>src/codegen/java</package-root>
                <classpath mode="compile">build/classes:lib/ant.jar:lib/qdox-1.6.3.jar:build/codegen-classes</classpath>
                <built-to>build/classes</built-to>
                <built-to>build/codegen-classes</built-to>
                <source-level>1.5</source-level>
            </compilation-unit>
            <compilation-unit>
                <package-root>test/java</package-root>
                <classpath mode="compile">lib/avalon-framework-4.2.0.jar:lib/batik-all-1.7.jar:lib/commons-io-1.3.1.jar:lib/commons-logging-1.0.4.jar:lib/serializer-2.7.0.jar:lib/servlet-2.2.jar:lib/xalan-2.7.0.jar:lib/xercesImpl-2.7.1.jar:lib/xml-apis-1.3.02.jar:lib/xml-apis-ext.jar:lib/xmlgraphics-commons-1.4svn.jar:build/fop-hyph.jar:build/fop-transcoder.jar:build/fop.jar:/usr/lib/java/junit-4.4.jar:lib/xmlunit-1.1.jar</classpath>
                <source-level>1.5</source-level>
            </compilation-unit>
            <compilation-unit>
                <package-root>build/gensrc</package-root>
                <classpath mode="compile">build/classes:build/codegen-classes</classpath>
                <built-to>build/classes</built-to>
                <source-level>1.5</source-level>
            </compilation-unit>
        </java-data>
    </configuration>
</project>

Reply via email to