logo       

Re: JUnit as Addin to JDeveloper 9i?: msg#00194

java.junit.user

Subject: Re: JUnit as Addin to JDeveloper 9i?

I too am trying to use the addin in 9i.

My submittal to Oracle's metalink resulted in the following. I will
try to update the code. Does anyone know the original developer?

--------------------------------------------------------------------
How do I add a wizard to the tools pulldown (9iDS)?

I've got a wizard (JDevelopperJunit.jar) that works in v3.2.3
(see http://www.junit.org/news/ide/index.htm ).
I can't seem to figure out the installation method in 9i.

It seems to me that there are 3 files to edit
bin/jdev.conf
( AddJavaLibFile D:\Progra~1\junit\JDevelopperJunit.jar )
bin/addins.properties
(
AddinCount=69
....
Addin68=junit.addin.JUnitTestGenerator
)

and lib/gallery.xml

(
<Item class="oracle.ide.gallery.GalleryFolder">
<list class="java.util.ArrayList">
<Item class="oracle.ide.gallery.GalleryElement">
<name>Test Unit Generator - Select Class or package to Test</name>
<wizardClass>junit.addin.JUnitTestGenerator</wizardClass>
<wizardParameters>
<Item>SELECT</Item>
</wizardParameters>
</Item>
</list>
<name>Unit Test</name>
</Item>
)

.... the wizard entry does not appear.

The HELP on this procedure isn't much help.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
From: Oracle, STEPHEN MARTIN 27-Jun-02 15:50
Subject: Re : How do I add a wizard to the tools pulldown (9iDS)?



Have you modified the wizard class to implement
the addin class..necessary for adding wizards
to the tools menu? Have you looked at the IDE
help ..'Creating a Wizard' + 'Adding a Wizard to the
Tools menu'? Also technet has some extension
sample code (technet.oracle.com).







<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise