You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bonekrusher <dj...@yahoo.com> on 2008/05/20 13:53:46 UTC

Setting up FOP Trunk in Netbeans 6.1

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
-- 
View this message in context: http://www.nabble.com/Setting-up-FOP-Trunk-in-Netbeans-6.1-tp17338581p17338581.html
Sent from the FOP - Dev mailing list archive at Nabble.com.


Re: Setting up FOP Trunk in Netbeans 6.1

Posted by bonekrusher <dj...@yahoo.com>.
Ok, I am not crazy! thanks I will try your suggestion and if I have any
problems, I will post a new thread


Regards,
Bones


Peter B. West wrote:
> 
> You're not necessarily missing anything. I had the same failure on one 
> of my attempts, and all attempts were appallingly slow. I thought it may 
> have been a problem with my ISP, but apparently not (unless you're with 
> TPG.)
> 
> Try again. If it persists, try a manual checkout using your local svn 
> client. Then proceed with adding the nbproject directory. etc.
> 
> 
> bonekrusher wrote:
>> Thanks for the help. I really appreciate it. I failed to download the
>> trunk
>> as it was pointed out :).
>> 
>> When trying to check out via subversion command lime, I recieve an error.
>> 
>> C:\fop_Home>svn co http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/
>> 
>> svn: PROPFIND request failed on '/repos/asf/xmlgraphics/fop/trunk'
>> svn: PROPFIND of '/repos/asf/xmlgraphics/fop/trunk': Could not read
>> status
>> line:
>>  An existing connection was forcibly closed by the remote host.  
>> (http://svn.ap
>> ache.org) 
>> 
>> 
>> What am I missing?
>> 
>> Thanks,
>> 
>> 
> -- 
> Peter B. West <http://cv.pbw.id.au/>
> Folio <http://defoe.sourceforge.net/folio/>
> 
> 

-- 
View this message in context: http://www.nabble.com/Setting-up-FOP-Trunk-in-Netbeans-6.1-tp17338581p17404475.html
Sent from the FOP - Dev mailing list archive at Nabble.com.


Re: Setting up FOP Trunk in Netbeans 6.1

Posted by "Peter B. West" <li...@pbw.id.au>.
You're not necessarily missing anything. I had the same failure on one 
of my attempts, and all attempts were appallingly slow. I thought it may 
have been a problem with my ISP, but apparently not (unless you're with 
TPG.)

Try again. If it persists, try a manual checkout using your local svn 
client. Then proceed with adding the nbproject directory. etc.


bonekrusher wrote:
> Thanks for the help. I really appreciate it. I failed to download the trunk
> as it was pointed out :).
> 
> When trying to check out via subversion command lime, I recieve an error.
> 
> C:\fop_Home>svn co http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/
> 
> svn: PROPFIND request failed on '/repos/asf/xmlgraphics/fop/trunk'
> svn: PROPFIND of '/repos/asf/xmlgraphics/fop/trunk': Could not read status
> line:
>  An existing connection was forcibly closed by the remote host.  
> (http://svn.ap
> ache.org) 
> 
> 
> What am I missing?
> 
> Thanks,
> 
> 
-- 
Peter B. West <http://cv.pbw.id.au/>
Folio <http://defoe.sourceforge.net/folio/>

Re: Setting up FOP Trunk in Netbeans 6.1

Posted by bonekrusher <dj...@yahoo.com>.
Thanks for the help. I really appreciate it. I failed to download the trunk
as it was pointed out :).

When trying to check out via subversion command lime, I recieve an error.

C:\fop_Home>svn co http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/

svn: PROPFIND request failed on '/repos/asf/xmlgraphics/fop/trunk'
svn: PROPFIND of '/repos/asf/xmlgraphics/fop/trunk': Could not read status
line:
 An existing connection was forcibly closed by the remote host.  
(http://svn.ap
ache.org) 


What am I missing?

Thanks,


Peter B. West wrote:
> 
> 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>
> 
> 

-- 
View this message in context: http://www.nabble.com/Setting-up-FOP-Trunk-in-Netbeans-6.1-tp17338581p17345807.html
Sent from the FOP - Dev mailing list archive at Nabble.com.


Re: Setting up FOP Trunk in Netbeans 6.1

Posted by "Peter B. West" <li...@pbw.id.au>.
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/>