Jdeveloper 9i RC2 IDE Configuration Problem - JDeveloper and ADF

Whenever I use the browse window in JDeveloper 9i RC2, it represents the folders and Java packages with the same folder type icon. Is there anyway(configuration file, etc.) that I can use a different icon to represent the java packages(.jar, .war, etc.)?
It's just a little confusing trying to identify the folder from a package.
Thanks. 

Let's try this again, maybe some might see it and answer... 

Hi Danny, I've replied to this over on the 9i forum.
Thanks,
Brian
JDev Team

Related

Folder Option In JDeveloper 9?

Does anybody have any idea when Oracle will add the folder option (existed in JDeveloper 3) into JDeveloper 9i?
We have a project devloped in Oracle JDevloper 3.1 which have a few hundreds java files in it. I would like to upgrade it into JDeveloper 9i. However, without the folder option, it is impossible to manage those 600 java files. Does any body know if there is a way go around of this?
Thanks a lot.
It's been awhile since I used JDev 3x, but I think what you are looking for (or something similar) already exists in 9i. With your project selected, Click the "Show Categories" button at the top of your system navigator (the icon looks like a bunch of folders). That will categorize all your files nicely (Sources, HTML Sources, Web Services, BC4J components, even Ant Buildfiles), and show your java classes in their packages. If I recall JDev 3 correctly, this is an improvement. Hope this helps.
Jason 
Thanks a lot. This really helps.
I just tried to convert project directly from 3.1 to 9i. It failed with lot of warning messages saying that folder option is not available yet. As a result, project is too ugly to work with (Everything messed up together). However, with this show category option, I don't even need to add folder manually. This is great. Java file is organized nicely according to its package.
Thanks again.
Glad to help. I had the same "where are my folders?" experience when moving to 9i. 
This is really useful. Exactly what I am looking for as well.

SVN on macosx

Hello,
I try to get Subversion working with JDev, I'm on MacOS X 10.4.6.
I installed javahl, I got libsvnjavahl.jnilib in /Library/Java/Extensions but JDev can't find it.
I'm a bit new to JDev and I don't know how to tell it to load the lib.
Regards
Kuon 
Caveat: I haven't tried this. It's worth trying, let us know if you have any success...
* Quit JDeveloper
* control-Click on the JDeveloper icon and select "Show Package Contents"
* Copy libsvnjavahl.jnilib into Contents->Resources->jdev->jdev->lib.
Brian 
I tried to copy the .jnilib and an other .jar I found in svn installtion directory, but still nothing.
I browsed the Package content for any logical location, and I tried them all, with no success.
Regards
Kuon 
I use JavaSVN on the mac as I find its the fastest of the clients JDev supports and its the easiest to install as it doesn't require messing about with .so files. So heres my one line install guide for that...
Get the latest copy of JavaSVN and extract ganymed.jar and javasvn.jar into /extensions/oracle.jdeveloper.subversion.10.1.3
The extensions directory will probably be in your jdev_home with the rest of the user settings, if not it might be in the app bundle (I don't have my mac to hand to check). You'll need to browse package contents like before if its in the bundle.
Hope this helps,
Geoff 
I thought javahl was faster than javasvn.
Javasvn is now working.
Thanks
Kuon 
javahl should be faster than javasvn, being a native interface rather than pure java, but I've found that on a sizable project javasvn seems to scale a bit better with JDeveloper.
That said I have colleagues in my team that use javahl exclusively with no problems.
Thanks,
Geoff 
Time will tell me, as I migrate a huge project from WebObjects+cvs to Toplink+svn.
Thanks for your time.
Kuon 
Hello,
I try to get the same but with less results. I have javasvn in jdeveloper but I cannot connect to any repository.
I use svn on the side with snvX or in command line mode or with the SCplugin, but I couldn't get it working with Jdeveloper. I read that file:// protocol is not supported with javasvn1.0.5. What URL should I use to connect to my local repository. I tried all possible combination if file://. Should I install more server-side software to get it working?
thanks for your help.
Pierre 
Pierre,
You will need to use either svnserve or apache to serve your local directory. This will enable you to use the svn:// or http:// protocols. Have a look at the following web links for more information on how this works.
Using JDeveloper with Subversion
http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/subversion/subversion.html
and
Version control with subversion
http://svnbook.red-bean.com/
particularly
http://svnbook.red-bean.com/nightly/en/svn.serverconfig.html 
ok, I was missing that.
I opted for svnserver since I don't want apache running all the time on my mac mini...
These URL might be useful to people experiencing the same problems:
- svnserve launchd item for OS X 10.4 (at http://textsnippets.com/posts/show/303)
- org.tigris.subversion.svnserv.plist (at http://marc.baffl.co.uk/stuff.php#svnserv-plist)
I had to remove the SockFamily key as pointed out in the second document.
Thanks again.
Pierre

Export IDE preferences

Is there a way to export/import IDE/Project preferences, so I may share this settings with my team? Next Monday I'll have to do this with 5 developers. I've posted an article in my personal blog about that, and unfortunately I haven't found is there a way to do this in JDeveloper.
TIA
Javier
http://www.javiercastanon.com/blog/ 
Eclipse has the provision to export IDE preferences.
http://www.instantiations.com/codepro/ws/docs/features/prefs/export_prefs.html
Does JDeveloper save the IDE preferences in a configuration file?
Yeah!
Even JBuilder gives you the chence to export templates, keymaps and java formatting preferences. I think this is a desirable feature in a team environment. 
For 10.1.2 you'll need to find the specific file that has the information you are looking to share in the system10.1.2 subdirectory of JDeveloper.
Just copy it to the other machines 
Shay,
Thank you very much for yourt answer. Unfortunately I'm not able to cerify this since I'm using 10.1.3 version :-( Perhaps we should switch to released version.
Javier 
Javier,
The same applies to 10.1.3. Just copy the files from the directory called "system". In 10.1.3, this contains a bunch of subdirectories, one for each extension in the product.
The only settings that won't migrate well are absolute paths that do not exist on the destination machine. Most paths in JDeveloper are stored as relative paths whenever possible, however.
Thanks,
Brian 
Duh!
You're absolutely right, and I've just noticed, so immediately updated my blog entry reflecting this fact. Is not my intention to over-criticize this product, but I think both settings dialog and exporting could be improved. I think they are a little bit messed up. I conducted a quick survey on this matter, and published my findings for those interested
http://www.javiercastanon.com/blog/2005/03/howto-share-java-ide-settings-with.html
Cheers
Javier
javier.castanon_at_gmail.com
I forgot another related question,
Is OK to copy the entire system directory to another machine, including the cache directories inside it (beside usual changes in path)?
TIA 
This is a nice thing to build an extension from.
Anyone up for some "Settings Export/Import Utility" coding?

Why can't I find package oracle.dbtools

Hi,
Im trying to develop an extension for sql developer. To complete my extension I need to import oracle.dbtools into the application. Everywhere I search on the internet just shows people using it, and for some reason my JDeveloper can not find it what so ever. Where can I find this or what can I do to resolve my issue.
Thanks,
David 
Hi David,
It turns out oracle.dbtools is not a package, but rather the top level portion of the namespace of many packages that can be found in jar files with names of the form: oracle.sqldeveloper.jar and oracle.sqldeveloper.*.jar. Where can they be found?
1. If you install (unzip), say, the base JDeveloper 11.1.1.4 product, you will see none of those jar files.
2. With JDeveloper 11.1.1.4 Studio edition, however, you will find several in the ...\jdeveloper\sqldeveloper\lib and extension directories.
3. Download and unzip SQL Developer and you will find even more such jar files.
Of course the jars in JDeveloper 11.1.1.4 will be quite out-of-date, so you will want to get them from the SQL Developer release your extension targets.
Regards,
Gary
SQL Developer Team 
Thanks Gary, but it seems that I'm still having trouble locating CommandRegistry. Which from examples I have seen located in oracle.dbtools.raptor.newscriptrunner.CommandRegistry; and oracle.dbtools.raptor.scriptrunner.CommandRegistry; neither of which contain it on the jar files that I found. Was it moved to another location? If not is there anything else I can look for to get this to work. I am trying to execute a function when a procedure or function is compiled/saved/updated.
Thanks,
David 
David,
Have you tried looking inside the following jar file in either of
1. A JDeveloper Studio 11.1.1.4 install: ...\jdeveloper\sqldeveloper\lib\oracle.sqldeveloper.utils.jar
2. A SQL Developer 3.1 install: ...\sqldeveloper\sqldeveloper\lib\oracle.sqldeveloper.utils.jarBoth contain an oracle\dbtools\raptor\newscriptrunner\CommandRegistry.class
I reference 11.1.1.4 since, as you are probably aware, the extension framework SQL Developer uses is based on that JDeveloper release.
-Gary 
Thank you very much Gary, I had been looking through all the jars for about two weeks, I was going insane.
Thanks,
David 
Hi Gary,
One more thing... So I was able to find the CommandRegistry which allowed me to catch the script run event on a newscript. However I also need to be able to catch the compile event that is fired when the compile/compile for debug button is pressed when editing a function/procedure/etc. It doesn't seem to work with oracle.dbtools.raptor.newscriptrunner.CommanRegistry (probably because it's not a new script) nor oracle.ide.compiler.Compiler. What else would I need to look for? There doesn't seem to be a lot of info on the web about where to find what I need, so if you know of anyway for my to look up the info in the future that would be very helpful. Also if you can point my in the direction of any information on how to open an editor window that would be very helpful.
Thanks,
David 
More questions came about when the original question was answered.

installin Look and Feel

Hi all,
We have an application developed in Forms 9.0.4.0 and we want to use the Oracle Look and Feel, so we can give our application a nicer look.
The documentation of LAF speaks of the summit demo, and I have this running both in forms builder as in the OAS (10gR1). Now I want to apply (as an exercise and a demo to the develop team) the Look and Feel to this application. The problem however is: I'm not sure how "install" the LAF_1331.zip files.
For now I've deflated them in a separate directory and have pointed FORMS90_PATH and FORMS90_BUILDER_CLASSPATH to this dir.
I now get the error: PDE-PEP006 Encoded Program unit has an unknow format. After some browsing it seems to be a version mismatch.. But I'm not sure which version is wrong, the forms developer or the LAF_TEMPLATE.fmb?
Does this mean I can't use the LAF files or just don't have an example as of how to apply the LAF?
So basically:
1) how do I install the LAF_1331.zip files correctly in the build environment?
2) can I use the LAF in my application or do I need to upgrade something (if yes, what? ;-) ?
Please help! 
Hello,
All you really need is laf.jar and laf.pll.
laf.jar is to copy in your/forms/java directory, and add it to the archive and archive_jini tags of the /forms/server/formsweb.cfg file.
It is possible that, the LAF_TEMPLATE is a Forms10g version, but what you need is stored in the laf.olb object library.
drag the GRP_LAF object group to your own module, then attach the laf.pll.
You may have to check that the :CTRL.LAF Bean item points to you own canevas name.
Check also the code in the When-Timer-Expired to adjust the bean name (CTRL.BEAN/CTRL.LAF) and put the correct block table name.
Francois 
I have just uploaded a new LAF_1331.zip that contains a Forms 9i LAF_TEMPLATE.fmb sample dialog.
Francois 
Great!
I was just following the instructions as stated above, but at compile time the compiler just keeps crashing (ie: quitting without an error..)
I'll download the file right now and see if this improves the situation a bit..
thnx!! 
Also keep in mind that, by default, the .CSS file is supposed to be located in the c:\ directory ;D
Francois 
Could you please provide me the download location? I use the URL
http://sheikyerbouti.developpez.com/forms-pjc-bean/LAF/sources/v1331/LAF_1331.zip
but that doesn't seems to be the one..or is it? 
Yes, it is.
Francois 
long live.the proxy servers.. ;-)
I downloaded the file again.
I get an identifier 'PG_LOOK_AND_FEEL_OPEN_CSS' must be declared error (and GUIPROPERTIES must be desclared) ..Any suggestion where this is coming from (at least the builder isn't bailing out on me :-)
I've opened test_LAF_91 and pressed compile..
before I keep asking basic questions, perhaps it is better to ask:
Where can I find a kind of beginner guide to forms? So far I've done everything based on the configurations of my predecessor, but I'm not sure how to configure everything from scratch. I've managed to create a few forms by using the tutorials from oracle, but the second post pushed my experience level up a few notches..
Message was edited by:
BlackBox 
As I said, you have to attach the laf.pll PL/SQL library to your Forms module.
Francois 
Attach the library by clicking on the "attached libraries" node and clicking the + (or I think you can double-click). You can then open an Open File dialog and find the .pll file and select it.
You wan't to say yes to the "remove path" message that comes up. 
<p>video available here (.avi 32Mo) that shows how to build a new Forms module with LAF from scratch</p>
Francois 
Thank you very much!
I take this up with a more experienced developer and let you know the results.. 
I have just uploaded a new LAF_1331.zip that contains
a Forms 9i LAF_TEMPLATE.fmb sample dialog.
Francoishi,
I'm looking for the file mentioned above in the laf_1331.zip, but I must be looking wrong. Is it located in the /fmb folder? I can see a laf_template.fmb, but that seems to be a 10g version and refuses to be loaded in forms builder 9.xx (quite logically)
thx! 
I have just re-downloaded the LAF_1331.zip file, then extracted the LAF_TEMPLATE.fmb file from it that is effectivelly a Forms 9i compatible version.
Francois

Categories

Resources