This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 180344 - Treat <javacn> like <javac>
Summary: Treat <javacn> like <javac>
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Autoproject (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@projects
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-05 08:59 UTC by Petr Jiricka
Modified: 2016-07-07 08:38 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2010-02-05 08:59:22 UTC
The Parboiled project:
http://wiki.github.com/sirthias/parboiled/

is not detected automatically by the Autoproject, which is not surprising, considering it uses the following in the Ant script:

    <taskdef name="javacn" classname="org.parboiled.ant.Javacn">
        ....
    </taskdef>

    <target name="compile" description="Compile main and example sources">
        <mkdir dir="build/classes"/>
        <javacn debug="on" destdir="build/classes" source="1.5" target="1.5" encoding="utf8">
            <src location="src"/>
            <src location="examples"/>
            <classpath refid="compile.classpath"/>
            <compilerarg line="-Xlint:all -Xlint:-serial"/>
        </javacn>
    </target>

I.e. it does not use the javac task, rather it has its own wrapper around javac.
Still, it would be nice if this was somehow supported (not sure how).
Comment 1 Jesse Glick 2010-02-05 11:07:44 UTC
Could probably relax the sniffing a bit to assume that any task whose name contains "javac" as a substring - <xjavac>, <javacn>, etc. - is really a javac variant and the basic attributes have the same meaning. (In this case, <javacn> is just a variant of the IDEA compiler to handle org.jetbrains.annotations.*.)
Comment 2 Martin Balin 2016-07-07 08:38:53 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss