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 210524 - [regression] suites can not be run
Summary: [regression] suites can not be run
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 7.2
Hardware: All All
: P1 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
: 210555 210745 211930 (view as bug list)
Depends on:
Blocks: 203519
  Show dependency tree
 
Reported: 2012-04-02 11:01 UTC by Vladimir Voskresensky
Modified: 2012-05-02 15:35 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2012-04-02 11:01:21 UTC
create suite based on the recent platform (NetBeans IDE Dev (Build 20120402-9079734a241a))
Try to run it:
platform.download:
ant -f /net/ivolvo/export/devarea/tmp/suite3 run
branding:
files-init:
release:
build:
No sub-builds to iterate on
run:
/net/ivolvo/export/devarea/trunk/nbbuild/netbeans/harness/suite.xml:502: The following error occurred while executing this line:
/net/ivolvo/export/devarea/trunk/nbbuild/netbeans/harness/run.xml:245: Attribute "unless" was already specified for element "target".
BUILD FAILED (total time: 0 seconds)

error in suite.xml is pointing to lines:
    <target name="run" depends="build,-jdk-init" description="Runs this suite in place.">
        <ant antfile="${harness.dir}/run.xml" target="run">
            <reference refid="cluster.path.id"/>
        </ant>
    </target>

error in run.xml is pointing lines:
    <target name="profile" depends="-profile-check,-profile-pre72" if="profiler.configured" unless="profiler.info.jvmargs.agent" description="Profile a project in the IDE." unless="profiler.info.jvmargs.agent">        
        <startprofiler/>
        <antcall target="run">
            <reference refid="cluster.path.id"/>
        </antcall>
    </target>
Comment 1 Vladimir Voskresensky 2012-04-02 11:07:36 UTC
Run (ant run) doesn't work from command line as well.
Comment 2 280Z28 2012-04-02 15:24:04 UTC
*** Bug 210555 has been marked as a duplicate of this bug. ***
Comment 3 J Bachorik 2012-04-02 18:16:26 UTC
fixed in http://hg.netbeans.org/profiler-main/rev/435bfe85a76f

Sorry for the inconvenience :(
Comment 4 Jesse Glick 2012-04-05 14:30:54 UTC
*** Bug 210745 has been marked as a duplicate of this bug. ***
Comment 5 Quality Engineering 2012-04-06 10:09:10 UTC
Integrated into 'main-golden', will be available in build *201204060400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/435bfe85a76f
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #210524: fixing regression in run.xml
Comment 6 Quality Engineering 2012-04-25 10:01:26 UTC
Integrated into 'main-golden', will be available in build *201204250400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6be40d5ee750
User: Jesse Glick <jglick@netbeans.org>
Log: Forgotten portion of #210524 fix.
Comment 7 Jesse Glick 2012-05-02 15:35:48 UTC
*** Bug 211930 has been marked as a duplicate of this bug. ***