JDev 10.1.2 : JUnit extension
hi
While trying to setup the ADF Toy Store demo (*1) in JDeveloper 10.1.2 I downloaded the JUnit extension (*2).
There is an extension available for JDeveloper 9.0.5.2 and one for JDeveloper 9.0.5.1, there is none for JDeveloper 10.1.2 so I chose the 9.0.5.2 version.
Each time I start JDeveloper I get these messages:
D:\jdev1012\jdev\lib\ext\bc4j_junit_addin.jar!\meta-inf\jdev-ext.xml
Error: <Line 3, Column 21>: XML-24534: (Error) Element 'feature' not expected.
Error: <Line 22, Column 14>: XML-24521: (Error) Element not completed: 'extensions'
D:\jdev1012\jdev\lib\ext\junit_addin.jar!\meta-inf\jdev-ext.xml
Error: <Line 3, Column 21>: XML-24534: (Error) Element 'feature' not expected.
Error: <Line 66, Column 14>: XML-24521: (Error) Element not completed: 'extensions'Although the RunAllTests class of the ADF Toy Store demo seems to run fine, I wonder if I am going to get into trouble if I use JUnit in JDeveloper 10.1.2 like this.
Maybe I should wait for a JUnit extension packaged specifically for JDeveloper 10.1.2 ?
thanks
Jan Vervecken
(*1) http://www.oracle.com/technology/products/jdev/collateral/papers/10g/adftoystore.html
(*2) http://www.oracle.com/technology/software/products/jdev/htdocs/junit10g/junitsoft.html
thanks Shay
No more errors, it works.
Jan
related thread:
- "JDev 10.1.2 : Check for Updates"
JDev 10.1.2 : Check for Updates
Similar Messages
-
JDev 10.1.2 - JUnit Extension Does not work
When migrating from JDev 9.0.5.2 to 10.1.2 I get an error on startup the indicates that the JUnit extension is not working:
Error: <Line 2, Column 71>: XML-24538: (Error) Can not find definition for element 'extensions'
Converting JDeveloper 9.0.5 extension manifest to 10.1.2
C:\Oracle\JDev\jdev\lib\ext\jalopy-jdeveloper-1.1.4.jar!\META-INF\jdev-ext.xml
Error: <Line 3, Column 21>: XML-24534: (Error) Element 'feature' not expected.
Error: <Line 11, Column 14>: XML-24521: (Error) Element not completed: 'extensions'
C:\Oracle\JDev\jdev\lib\ext\bc4j_junit_addin.jar!\meta-inf\jdev-ext.xml
Error: <Line 3, Column 21>: XML-24534: (Error) Element 'feature' not expected.
Error: <Line 22, Column 14>: XML-24521: (Error) Element not completed: 'extensions'I am actually working with JDev10.1.2 and I recently created a new Extension. Since then, when I load jdev I get the error
"C:\oracle10bis\jdev\lib\ext\DBExtension.jar!\meta-inf\jdev-ext.xml
Error: <Line 2, Column 71>: XML-24538: (Error) Can not find definition for element 'extensions'
Converting JDeveloper 9.0.5 extension manifest to 10.1.2"
I followed your advice, downloaded and installed the JUnit component, but the error is still present. Moreover, if i try using the "Check for updates" functionality, I always get:
"Unable to connect to OTN
Details: Connection timeout: connect"
Any ideas?
Thanks in advance -
Adding JUnit Extension to 10.1.3
I'm looking for a way to add the JUnit extension to JDeveloper 10.1.3 production release (not EA) while I don't have direct internet access from my terminal.
I read this forum posting: Re: adding JUnit extension to 10.1.3EA
and it seemed to address the issue for 10.1.3 EA, but I tried to add the extension by both suggested methods in the article.
When trying to add the extension using the local check for updates option, I got this error: "Required Updates Not Installed: The JUnit Integration update in this bundle requires one or more extensions that are not currently installed."
When extracting the extension zip file into the jdev/extensions directory, I received this error: "Severe: No class def found for addin oracle.jdevimpl.wizard.junit.JUnitAddin"
Can anyone point me in the right direction?
ThanksYou'll need to download the JUnit extension for the production version (you can't use the one from EA), and then just point the check for update to the zip file.
-
Could not download JUnit extension to JDeveloper 9.0.3
I tried to download the JUnit extension to JDeveloper 9.0.3 from http://otn.oracle.com/software/products/jdev/htdocs/junitsoft.html
and got the 'Sorry this page does not exist' page
http://otn.oracle.com/errors/404.htmThis is a JHeadStart issue, please post to the JHeadStart forum for assistance.
Forums Home >> Oracle Technology Network (OTN) >> Products >> Developer Suite >> JHeadStart
Kind Regards. -
Can't download JUNIT extension via "check for updates"
Hi,
since a few weeks (with jdev 11.1.1.1.0 and jdev 11.1.1.2.0) I can't download e.g. JUNIT extensions via "check for updates".
I have to enter a password but authentication is not possible.
Even when I reset the passord (via "find password") it does not work any more.
Im 100% sure that this worked some time ago without problems.
I can access http://www.oracle.com/technology/products/jdev/101/update/center.xml#oracle.jdeveloper.junit and download the extension manually.
regards
PeterPeter,
no problems on my side with my account. I did it yesterday without any problem.
Timo -
Adding JUnit extension to 10.1.3EA
Is there a way to add the JUnit extension without using Help/Check for Updates? My work computer is not directly connected to the Internet.
Thanks,
RobertShay,
Yes, I do see the Oracle extensions when I do a remote Help/Check for Updates..., but I don't see the 10.1.3 extensions on the Extensions Exchange webpage. However, I just saw a previous post from you regarding the manual download of extensions in which you provided a URL to an XML file that contains, among other things, the links to the extensions.
http://www.oracle.com/technology/products/jdev/101/update/center.xml
Thanks,
Robert -
I have just spent the whole morning trying to install the JUnit extension into JDev 10.1.3.1. Most of that time was spent trying to find where to get the extension,when you can't use check for updates...
OK so now I have the extension downloaded and use Check for Updates on the local file, it tells me that it can't install it because it depends on some other extension which I don't have installed. But it doesn't tell me which extension ...
How do I find out dependencies for extensions?
I'm on the point of giving up and using Eclipse like everyone else on my project ...Shay,
I followed your fix and be able to continue installing it.
However, after restarting I saw the extension has error
D:\Oracle\jdevstudio10133\jdev\extensions\junit_doc_for_java.jar
Severe(0,0): file:/D:/Oracle/jdevstudio10133/jdev/extensions/junit_doc_for_java.jar does not contain an extension manifest.
D:\Oracle\jdevstudio10133\jdev\extensions\oracle.jdeveloper.junit.10.1.3.jar
Severe(6,80): Missing required attribute 'version'
D:\Oracle\jdevstudio10133\jdev\extensions\junit_doc_for_j2ee.jar
Severe(0,0): file:/D:/Oracle/jdevstudio10133/jdev/extensions/junit_doc_for_j2ee.jar does not contain an extension manifest.
D:\Oracle\jdevstudio10133\ is where I place my jDev.
Please let me know how to fix it -
Still JUnit extension download to JDeveloper 9.0.3 doesn't work
Still 404 message trying to download the Junit extension for JDeveloper 9.0.3
Thanks. When I got to the link in that message, the downgraded version of Skype
is not available. WHen I go to Google Play to get the version from Dec 9, 2014,
"Already Installed" is displayed, even though I don't have that version.
It won't give me the option to upgrade to the release from Dec 9, 2014 -
Problem:JDeveveloper 11g and JUnit Extension against a JDK 5 Project
We've got a project that requires JDK 5, and would like to run our JUnit tests using the integrated JUnit Extension in Jdeveloper 11g.
However, we are getting the following error: java.lang.UnsupportedClassVersionError: Bad version number in .class file
Presumabily, this is because the JUnit classes are JDK 6, since the tests work if we switch our project to use JDK 6.
Of course, the problem is: Our project requires JDK 5. =)
Anyone have a workaround?
Thanks,
- BillHi,
JDeveloper is on JDK 1.5, How can I configure it to be 1.4??
I had the JDeveloper 10.1.3 also and it went ahead with some updates and now even that shows me that it's version is JDK 1.5
The latest error I get from JDeveloper(From both 11g and 10.1.3) is here,
Invoking loadjava on connection 'HR_CapRock_DEV' with arguments:
-order -resolve -thin
errors : class package1/mypackage/JavaStoredProc
ORA-29521: referenced name java/lang/StringBuilder could not be found
The following operations failed
class package1/mypackage/JavaStoredProc: resolution
oracle.aurora.server.tools.loadjava.ToolsException: Failures occurred during processing
at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:863)
at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:116)
at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:46)
at oracle.jdevimpl.deploy.OracleDeployer.deploy(OracleDeployer.java:97)
at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:473)
at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:360)
at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:284)
at oracle.jdevimpl.deploy.StoredProcProfileDt$Action$1.run(StoredProcProfileDt.java:383)
#### Deployment incomplete. #### Jun 18, 2007 10:17:31 AM
*** Note ***
One possibility for the deployment failure is that the target Database may not support JDK version 1.5. Updating your Project Properties compiler Source & Target to an earlier release could fix this problem.
How can I either downgrade JDK on the compiler(JDeveloper) to be 1.4 or, How can I resolve the error,
ORA-29521: referenced name java/lang/StringBuilder could not be found
Thanks,
Sujith -
How to uninstall JDev 10.1.3.2 extensions
OK, so I can download extensions by the bucketful and disable them if necessary, but is there a way to uninstall them?
From the patchy documentation, this is what I infer:
1. Delete the extension JAR file from [Jdev_home]\jdev\extensions
2. Delete any same-named directories in [Jdev_home]\jdev\extensions
3. Delete any same-named directories in [Jdev_home]\system
However, I notice some directories in [Jdev_home]\lib\ext and [Jdev_home]\lib\oracle.ideimpl.webupdate.backup.
I am trying to re-package my JDev for sharing with other developers and I really do not want to re-download/re-install.
Thanks,
AraTo uninstall a Extension:
1. Stop Oracle JDeveloper.
2. Delete the extension JAR from the /jdev/extensions directory.
3. Start Oracle JDeveloper. -
Has anybody used JDev 10g to write an extension to 11i e-business suite?
We are looking to develop an application that can be called from within the menu structure of the 11i e-business suite and would like to use JDeveloper 10g.
I have read that the OA Extension for JDev 9 can be used for this, but I've also read that this OA extension has been replaced by ADF in 10g. Can we use ADF to obtain values such as user_id, responsibility_id, org_id from 11i?
Failing that, seeing as this is the only information from 11i that we will need in the new application, can we just pass these values in as parameters when initially calling the application?
Any help would be greatly appreciated as we cannot find ANY documentation detailing how to link ADF into 11i.Just to clarify OAF is not ADF.
e-Business is based on OAF right now, and the fusion generation of Applications will be based on ADF.
While OAF uses UIX and BC4J (an early version of ADF BC) it is not the same as ADF.
If you want to use OAF you better ask the question on the OAF forum on OTN.
for ADF development you should use JDeveloper 10.1.3. ADF first appeared in JDeveloper 9.0.5 but things had evolved a lot since then. -
JDev 10.1.2 - JWE Extension Does not work
When using JDev 10.1.2 I get an error on startup the indicates that the JWE extension is not working:
C:\jdeveloper\jdev\lib\ext\jwe.jar!\meta-inf\jdev-ext.xml
Error: <Line 2, Column 71>: XML-24538: (Error) Can not find definition for element 'extensions'
Converting JDeveloper 9.0.5 extension manifest to 10.1.2
Help!
Thanks, OscarThanks a lot.
In the jdev-ext.xml file, i have replaced
<extensions xmlns="http://xmlns.oracle.com/jdeveloper/905/extensions">
with
<extensions xmlns="http://xmlns.oracle.com/jdeveloper/1012/extensions">
Oscar -
JDev. 10.1.3 Extension Download Sign In Fails
I've attempted to download a couple of extensions to JDev 10.1.3. Each time I've been asked to provide my Oracle Web account info. Each time I enter the info, it doesn't recognize my account. I even created a new account and tried it - it failed, too!
Has anyone else had difficulty "signing in" in order to download a 10.1.3 extension?
Thanks,
GeraldWe heard of some problems with people who are behind a proxy that uses NTLM.
One way to workaround this limitation is to download the zips directly from:
http://www.oracle.com/technology/products/jdev/101/update/center.xml
and then point the check-for-update to directly pick the extension from the local zip file. -
Junit Extension download: not found
From http://www.oracle.com/technology/software/products/jdev/htdocs/junitsoft.html
clicking on the link to jdev9040_JUnit.zip results in "file not found" (http 404 error).Thanks, we have fixed the link to this download.
OTN -
JDev 10.1.2 : Check for Updates
hi
In "Getting Started With Unit-testing" (*1) dated December 2004, on page 7 I read this:
"When you have an account on OTN, you can plug JUnit easily into JDeveloper from the menu: Help -> Check for Updates -> check the JUnit Extension -> next. It will automatically download the JUnit plug-in files to your [JDeveloper home]\jdev\lib\ext directory (in Oracle JDeveloper 10.1.2 and previous versions)."
If I tried it, I got this: "No updates are available."
Did I do something wrong or are there no updates available?
thanks
Jan Vervecken
(*1) http://www.oracle.com/technology/products/jdev/collateral/papers/10g/GettingStartedWithUnitTesting.pdf
related threads I found :
- "JUnit plugin?"
JUnit plugin?
- "JDev 10.1.2 : JUnit extension"
JDev 10.1.2 : JUnit extensionIn 10.1.2 and earlier, check for updates only tracks extensions installed by check for updates. If you install extensions manually, it doesn't know anything about them (in case you're interested, the technical reason for this is that prior to 10.1.3, we did not store sufficient version information and a unique identifier for each extension in the extension manifest, so it was impossible to identify an extension already installed in the product in lib/ext as matching an extension available on the update center.
If you do install an already installed extension via Check for Updates, it's harmless (it will just copy the extension jar back over itself and CfU will "realize" you have it installed).
Thanks,
Brian
Maybe you are looking for
-
Dear All, I am trying to create the currency translation type and use it in the Bex Designer. But its not converting the values at all. Output required:- Need to convert all INR values to fixed USD currency. Source currency is always INR and target
-
BI publisher report does not displays parameters in dashboard
HI to all, I have created a report in BI publisher with Parameters and list of values and it works as expected while running it through the BI Publisher. I also added it into a dashboard, the dashboard displays the report correctly but it doesn't all
-
No more waiting. When there's gonna be a facebook and twitter app for this phone? WHEN?! If there's not gonna be any, then tell us so we can throw this amazing piece of hardware down the toilet. Get it together nokia, we deserve respect!
-
when i get a print the program get crashed
-
My imac is currently running on Snow Leopard 10.6.3. How do I install Mountain Lion?