You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Thomas Zastrow <li...@thomas-zastrow.de> on 2007/03/10 14:03:03 UTC
Small problem with Netbeans
Hello all,
following the instructions here:
http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide
I tried to integrate FOP into Netbeans 5.5
The tutorial says that I have to add 3 sources to the project-properties:
$FOP_HOME/src/java
$FOP_HOME/src/java-1.4
$FOP_HOME/build/gensrc
But I haven't a directory called "gensrc"? I downloaded the SVN-version
just minutes ago.
Best,
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Small problem with Netbeans
Posted by Thomas Zastrow <li...@thomas-zastrow.de>.
Hello Vincent,
Vincent Hennebert schrieb:
<snip />
>
> This directory contains source files automatically generated during the
> build process. To create it you have to run
> ant codegen
> in the root directory of FOP.
>
Thank you very much, I got it ;-)
Best,
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Generated source files? (Re: Small problem with Netbeans on fop-users@)
Posted by Andreas L Delmelle <a_...@pandora.be>.
On Mar 10, 2007, at 21:16, Andreas L Delmelle wrote:
> On Mar 10, 2007, at 21:14, Peter B. West wrote:
>
>> <snip />
>> Novel idea.
>
> Yeah, I did seem to remember this coming up earlier...
>
>> http://marc.theaimsgroup.com/?l=fop-dev&m=105728457029132&w=2
>>
Re-reading this thread, I even realize now that it may just have been
that discussion that drove me to disliking the idea of generated
source files in the first place. Yes, it was in fact /your/ idea,
Peter. :)
Later on, I encountered other scenarios where generated source files
were being used, and the only thing in particular that comes to mind
about them, is that they were driving the devs who had to work with
them crazy like hell... Changing a column in the master database with
a nightly script would leave them with altered method signatures for
some of the referenced classes the next morning they came in.
Cheers,
Andreas
Re: Generated source files? (Re: Small problem with Netbeans on fop-users@)
Posted by Andreas L Delmelle <a_...@pandora.be>.
On Mar 10, 2007, at 21:14, Peter B. West wrote:
> <snip />
> Novel idea.
Yeah, I did seem to remember this coming up earlier...
> http://marc.theaimsgroup.com/?l=fop-dev&m=105728457029132&w=2
>
Cheers,
Andreas
Re: Generated source files? (Re: Small problem with Netbeans on fop-users@)
Posted by "Peter B. West" <pb...@pbw.id.au>.
Andreas L Delmelle wrote:
> On Mar 10, 2007, at 15:34, Vincent Hennebert wrote:
>
>> Thomas Zastrow a écrit :
>>> <snip />
>>> But I haven't a directory called "gensrc"? I downloaded the SVN-version
>>> just minutes ago.
>>
>> This directory contains source files automatically generated during the
>> build process. To create it you have to run
>> ant codegen
>> in the root directory of FOP.
>
> FWIW, the XML sources of these generated files hardly ever change, so I
> think we may even consider replacing these with pregenerated java
> classes...?
>
> It always seems to confuse people who are interested in contributing code.
> Then, once you start wondering why these need to be generated and cannot
> simply be added as java sources, you'll quickly realize there is no good
> reason for that. Replacing maintenance of 15 classes with maintaining 2
> stylesheets and 15 XML source files hardly seems worth the trouble... :/
>
>
> Cheers,
>
> Andreas
Novel idea.
http://marc.theaimsgroup.com/?l=fop-dev&m=105728457029132&w=2
Generated source files? (Re: Small problem with Netbeans on fop-users@)
Posted by Andreas L Delmelle <a_...@pandora.be>.
On Mar 10, 2007, at 15:34, Vincent Hennebert wrote:
> Thomas Zastrow a écrit :
>> <snip />
>> But I haven't a directory called "gensrc"? I downloaded the SVN-
>> version
>> just minutes ago.
>
> This directory contains source files automatically generated during
> the
> build process. To create it you have to run
> ant codegen
> in the root directory of FOP.
FWIW, the XML sources of these generated files hardly ever change, so
I think we may even consider replacing these with pregenerated java
classes...?
It always seems to confuse people who are interested in contributing
code.
Then, once you start wondering why these need to be generated and
cannot simply be added as java sources, you'll quickly realize there
is no good reason for that. Replacing maintenance of 15 classes with
maintaining 2 stylesheets and 15 XML source files hardly seems worth
the trouble... :/
Cheers,
Andreas
Re: Small problem with Netbeans
Posted by Vincent Hennebert <vi...@anyware-tech.com>.
Hi Thomas,
Thomas Zastrow a écrit :
> Hello all,
>
> following the instructions here:
>
> http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide
>
> I tried to integrate FOP into Netbeans 5.5
>
> The tutorial says that I have to add 3 sources to the project-properties:
>
> $FOP_HOME/src/java
> $FOP_HOME/src/java-1.4
> $FOP_HOME/build/gensrc
>
> But I haven't a directory called "gensrc"? I downloaded the SVN-version
> just minutes ago.
This directory contains source files automatically generated during the
build process. To create it you have to run
ant codegen
in the root directory of FOP.
HTH,
Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org