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 41957 - Add action to build functional tests
Summary: Add action to build functional tests
Status: CLOSED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on: 41846
Blocks:
  Show dependency tree
 
Reported: 2004-04-14 15:07 UTC by Jiri Skrivanek
Modified: 2006-03-24 09:54 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 Jiri Skrivanek 2004-04-14 15:07:40 UTC
In the projects view there exist "Functional Test
Packages" node linked to
<module>/test/qa-functional/src folder. We would
like to build and clean functional tests from GUI.
There should be main menu items:

Build -> Build Functional Tests
Build -> Clean Functional Tests

or/and context menu on "Functional Test Packages"
node:

Build
Clean

Actions will be linked to:

ant -f <module>/test/build.xml
-Dxtest.testtype=qa-functional buildtests

ant -f <module>/test/build.xml
-Dxtest.testtype=qa-functional cleantests
Comment 1 Jesse Glick 2004-04-14 17:34:35 UTC
Context menu should be easy (will probably put it on main project node
for now, however). APIs from issue #41846 probably needed for main menu.

Is "Clean Functional Tests" really necessary? If they are compiled to
$module/build/ then just "Clean" (whole module) is enough.
Comment 2 Jiri Skrivanek 2004-04-15 07:54:46 UTC
OK, "Clean Functional Tests" is not necessary.
Comment 3 Jesse Glick 2004-04-16 01:27:13 UTC
There is now an action in the context menu in the logical view to do this.

committed     Up-To-Date  1.11       
apisupport/project/src/org/netbeans/modules/apisupport/project/Actions.java
Comment 4 Jiri Skrivanek 2004-04-16 08:18:13 UTC
So far, it fails with this message:

jar:file:/D:/Development/builds/040416/netbeans/ide4/ant/nblib/org-netbeans-modules-apisupport-ant.jar!/org/netbeans/modules/apisupport/ant/antlib.xml:3:
taskdef A class needed by class
org.netbeans.modules.apisupport.ant.InstallModuleTask cannot be found:
org/apache/tools/ant/Task

It fails on my own build. I will doublecheck when a continuous or
daily build is available.
Comment 5 Jiri Skrivanek 2004-04-16 09:10:44 UTC
OK, it works in build 20040416-0656. There was something broken in my
previous build.