Project seems to ignore changes
Clemens Eisserer
linuxhippy at gmail.com
Thu Apr 24 14:28:18 PDT 2008
Hi Dave,
Thanks a lot for letting me know the makefiles are broken. I was
already afraid I could bother somebody by asking that much ... well
maybe I still do ... but its not completly my fault that it does not
work as intended ;)
The reason I was asking with a wrong title was, that I tried a full
clean+build procedure only because I was not able to compile
individual files. I changed several classes, and it seems netbeans was
not able to see changes at all. If I tried to build a single changed
class (F9) which depended on other changes it did not build.
This did even go as far as that netbeans did not even find new
packages I had created.
Is this intentional, or do I mis-using the build-single-file?
Is it possible to have netbeans just compile the needed, changed classes?
Thanks a lot, lg Clemens
2008/4/24, Dave Bristor <David.Bristor at sun.com>:
> Clemens Eisserer wrote:
>
> > Hi there,
> >
> > I've tried using the 2d/awt project to implement some extensions in
> > that area. Building on the command-line worked without any problems.
> > (OpenJDK's build infrastructure is a great improvement to the
> > closed-source packages I experimented in the past, thanks a lot).
> >
> > However with netbeans I experience some problems:
> >
> > I created the build.properties file (attached at the end of the mail).
> >
> > However when I call Clean&build I get:
> > Leaving directory
> `/home/ce/OpenJDK7/jdk/make/com/sun/image'
> > Entering directory
> `/home/ce/OpenJDK7/jdk/make/com/sun/java2d'
> > /home/ce/OpenJDK7/jdk/make/netbeans/awt2d/build.xml:85:
> The following
> > error occurred while executing this line:
> > /home/ce/OpenJDK7/jdk/make/netbeans/common/make.xml:61:
> The directory
> > /home/ce/OpenJDK7/jdk/make/com/sun/java2d does not exist
> >
>
> That's because this project hasn't been adequately maintained (mea culpa).
> Fixes have been made in the OpenJDK6 sourcebase, but not yet ported to
> OpenJDK 7 :-( I only just started that work earlier this week.
>
>
> > When I do build only:
> > make: *** No rule to make target
> >
> `/home/ce/OpenJDK7/openjdk-binary-plug/jre/lib/rt-closed.jar',
> needed
> > by `import-binary-plug-awt-classes'. Stop.
> > /home/ce/OpenJDK7/jdk/make/netbeans/awt2d/build.xml:42:
> The following
> > error occurred while executing this line:
> > /home/ce/OpenJDK7/jdk/make/netbeans/common/make.xml:61:
> exec returned: 2
> >
>
> That _might_ be resolved if you add OPENJDK=true to make.options.
>
> Regardless, you'll want to remove the lines referring to com/sun/java2d
> from build.xml.
>
> HTH,
> Dave
>
>
>
> >
> > Any ideas what's wrong?
> >
> > Thank you in advance, lg Clemens
> >
> > build.properties:
> > bootstrap.jdk=/home/ce/Programme/jdk1.7.0b25
> >
> > make.options=\
> > ALT_BOOTDIR=/home/ce/Programme/jdk1.7.0b25 \
> >
> ALT_CLOSED_JDK_IMPORT_PATH=/home/ce/Programme/jdk1.7.0b25 \
> >
> ALT_BINARY_PLUGS_PATH=/home/ce/OpenJDK7/openjdk-binary-plug
> >
>
More information about the nb-projects-dev
mailing list