Wednesday September 06, 2006 Test Dependencies of NetBeans Modules Moved to Project.xml
Test Dependencies of NetBeans module project are defined in nbproject/project.properties for previous versions of NetBeans.The test dependencies can be also added to project.xml for projects of NetBeans 6.x. The new variant is recommended. The test dependencies allows to define:
For migrating test dependencies from project.properties to project.xml was implemented fix-test-dependencies ant tasks in NetBeans module project. You can do it from command line:
cd your_nbm_project_dir ant fix-test-dependencies
GUI for adding/removing test dependencies has not yet been implemented. I hope it will be available early. It can by done only manually by editing project.xml file. The tags for test dependencies (defined in xml schema) are described below:
<test-dependencies>
<! -- Dependencies for a source root with tests: -->
<test-type>
<!--
Name of test type. Normally you will use 'unit'.
netbeans.org modules also support 'qa-functional' test-type.
-->
<name>unit</name>
<!-- A dependency on a module or its tests: -->
<test-dependency>
<!-- Identification of module our tests depend upon: -->
<code-name-base>org.netbeans.modules.java.project</code-name-base>
<!-- Include also transitive module dependencies of that module: -->
<recursive/>
<!-- Always available when running, but to include at compile time also: -->
<compile-dependency/>
<!-- To request the tests of that module, rather than itself: -->
<test/>
</test-dependency>
</test-type>
</test-dependencies>
For example you have three modules with code name bases A,B,C. A depends on B, B depends on C. You want to add test dependencies to unit test type of module D:
<test-type>
<name>unit</name>
<test-dependency>
<code-name-base>A</code-name-base>
</test-dependency>
</testtype>
<test-type>
<name>unit</name>
<test-dependency>
<code-name-base>A</code-name-base>
<recursive/>
</test-dependency>
</testtype>
<test-type>
<name>unit</name>
<test-dependency>
<code-name-base>A</code-name-base>
<compile-dependency/>
<recursive/>
</test-dependency>
</testtype>
<test-type>
<name>unit</name>
<test-dependency>
<code-name-base>A</code-name-base>
<compile-dependency/>
<recursive/>
<test/>
</test-dependency>
</testtype>
Posted by 水无痕 on July 21, 2007 at 07:05 AM CEST #
<a href="http://www.feelingame.com/">wow power leveling</a>
<a href="http://www.feelingame.com">wow powerleveling</a>
<a href="http://www.cheap-wow-power-leveling.com">cheap wow power leveling</a>
<a href="http://www.cheap-wow-power-leveling.com/">wow power leveling</a>
<a href="http://www.cheap-wow-power-leveling.com/">wow powerleveling</a>
<a href="http://www.cheap-wow-power-leveling.com/">wow power lvl</a>
Posted by 00000000 on August 22, 2007 at 09:22 AM CEST #
http://www.bjseek.com.cn
http://www.bjxlzx.cn
http://www.sense.com.cn
http://jglsx.blog.sohu.com/
http://blog.china.alibaba.com/blog/jglsx.html
http://jglsx.blog.hexun.com/
http://tw.netsh.com/eden/blog/ctl_eden_blog.php?iBlogID=2610970
http://tw.netsh.com/eden/blog/ctl_eden_blog.php?iBlogID=2632783
http://blog.soufun.com/blog_12178456.html
http://blog.china-pub.com/blog.asp?name=jlb148140960
http://www.phpchina.com/38743
http://hexun.com/jglsx/default.html
http://www.xiongcaocao.com/?sid=116
http://jlb999.blog.163.com/
http://jjllbb.eomoo.com/user18/jlb148140960/index.shtml
http://hexun.com/xicao1/default.html
http://hexun.com/xicao3/default.html
http://hexun.com/xicao6/default.html
http://hexun.com/xicao9/default.html
http://hexun.com/xicao2/default.html
http://hexun.com/xicao7/default.html
http://hexun.com/xicao4/default.html
http://hexun.com/xicao5/default.html
http://hexun.com/xicao8/default.html
http://hexun.com/zwwsl/default.html
http://xicao6.blog.hexun.com/
http://xicao7.blog.hexun.com/
http://xicao8.blog.hexun.com/
http://xicao9.blog.hexun.com/
http://zwwsl.blog.hexun.com/
http://xicao1.blog.hexun.com/
http://xicao2.blog.hexun.com/
http://xicao3.blog.hexun.com/
http://xicao4.blog.hexun.com
http://xicao5.blog.hexun.com
http://tzgoogle.blog.hexun.com
http://hexun.com/tzgoogle/default.html
http://blog.ccidnet.com/blog-htm-uid-71265.html
http://hexun.com/baom/default.html
http://baom.blog.hexun.com
Posted by 数据恢复 on January 29, 2008 at 08:42 AM CET #
http://sunnyren.weblog.com/
this blog introduces jewelry products and fashion jewelry
Posted by fashion jewelry on October 31, 2008 at 06:45 AM CET #