The thing that irritates me most about JDeveloper
It’s Applications Navigator and System navigator views are really unusable. Jdeveloper categorizes your files into folders for you, and it completely ignores the folders you’ve setup. And this causes a lot of problems for so called ‘miscellaneous files’. If you have two files with the same name, but in different folders, they’ll just be displayed in the same folder. For one project, the miscellaneous files folder under ‘Web content’ or ‘Html sources’ (depending on the view), shows all my hibernate xml mapping files, all xdoclet include files, all tld files, all xsl files. It’s a long list, maybe 100 files, all in folder.
Also, the fact that something is an html file, doesn’t mean it’s web content. It could also be documentation, which i want to see in a different folder. The fact that something is an xml file doesn’t mean it’s web content. It’s quite often a configuration file, which i also want to see in a separate folder.
If anybody knows how to make jdeveloper just show my own folders under a project, please let me know.
August 5th, 2004 at 3:50 pm
Andrej, please send me an email and we can help you with your issue. We can discuss how you can get what you want with the current product, as well as where we are going with the product. thanks. -ted
August 6th, 2004 at 3:44 pm
Maybe a good idea to post this here, because it might be that others are also interested in learning how to do this. Or is there something we’re not allowed to know
August 6th, 2004 at 4:07 pm
I haven’t received a reply yet.
Here’s the mail i sent to Ted Farrell:
Currently in the system tab, if you deselect show categories, all project files will be listed directly under the project folder. Next to the show categories button there is a button which allows you to see a directory tree, but it is disabled when you’re not using the categories. I want to be able to enable directory tree when i’m not looking at categories.
The problem now is that i’m really searching for my files, it’s not really clear under which folder jdeveloper shows them. Another problem is that if you have file with the same name in different directories, jdeveloper will show them next to each other, and it’s hard to tell which one is which.
The screenshot in the attachment shows the problem. I’ve got tld’s in different folders, without really being able to tell them apart. This is
caused by the fact that i’ve created a libs directory containing jars and tld of the libraries we’re using, and the ant build file copies these to the WEB-INF directory.
Also i’d like to be able to cvs update and commit per folder, which is
kind of hard if you can’t select a folder.
Another issues is that there are a lot of files which jdeveloper doesn’t
recognize, and they all end up in the miscellaneous files folder (hibernate xml configuration files, xdoclet configuration files, and when using php plugin, smarty template files (extension tpl)). One way to solve this would be to be able to configure categories per file type in the preferences window, but if i could just see the folders on the file system this would not be nescessary.
And today i’m having lots of issues whit cvs import. I imported a lot of
jar files which all ended up in cvs as ascii files. Not sure if this is
caused by a configuration error in cvs, but at least in eclipse i can
easily say: team | change ascii/binary property, and i like the fact that eclipse shows for every file if it’s ascii or binary. In jdeveloper i have to do a view status for every file.
August 6th, 2004 at 4:18 pm
The cvs implementation really needs some work. I’ve been strugling with it again today.
I checked in some changes to a project, which included changes to the project description file *.jpr. A coworker updated his sources, cvs detected a conflict in the jpr file. Result: the project in jdeveloper didn’t show any files anymore.
So on the next commit, we thought, let’s be smart and not commit the project but only the folder underneath the project: sources, web sources, build files. But if you do this cvs also commit the jpr project because it commit’s all files starting in the root folder of your project.
Another problem: cvs doesn’t know which files are displayed in jdeveloper in the application. So when you commit WEB-INF in jdeveloper, cvs commit’s all files in the WEB-INF directory, even if they’re not displayed by jdeveloper. For example the taglib jar’s aren’t displayed, but they do exist. Cvs committed these as ascii files, which caused a lot of problems.
August 6th, 2004 at 5:40 pm
Hey Jan (and Andrej). No, no secret, it is just hard to have an interactive conversation on a blog or wiki page (at least for me). Once we have come to a conclusion via email, I promise to post the results here. thanks.
August 6th, 2004 at 8:41 pm
Andrej. There is a solution to your ascii/binary issue. We are working to address these issues in the next version, but in the meantime:
“By default CVS treats all files as text. Edit the cvswrappers file in the CVSROOT module of the server and add the file types you want treated as binary. This is resolved in the 10.1.3 release.”
Let me know how this works.
November 26th, 2004 at 1:49 pm
I am curious: has a solution been found in the mean time?
February 17th, 2005 at 7:19 pm
Hi,
i was happy to find your topic here, but there seems to be no solution yet?
i work with jdev 9.02 for a longer time, and there was never such a problem like you described above. that means, i could see all files belonging to the project like it is physicaly stored. java, html, xml and other files are inside the same folder were they belong to (as the package structure). that was great. now i changed something (i think so), but i dont know what.
as the result, i have your problem, too. all files mearched together in a folder called “miscelleanous files” (under “sources”). no package structure or anything left. and i tried everything, but i can’t get the old structure back…
tomorrow i will check out an old backup, i hope that will fix it.
damn jdev…:))
good bye and much luck…!!
February 18th, 2005 at 2:02 pm
For me the sollution is jdeveloper 10.1.3, which will show all files in the project folder on disk, not just the ones that you’ve added to the project. Don’t know about your 9.02 problem though.
August 17th, 2005 at 5:57 pm
Any solution yet? I am using JDeveloper 9.0.3.
I imported to project from existing sources organized in following fashion:
build
conf
src
test
web
JDeveloper imports these as
Sources
Html_Sources
Misc. Files
Is it possible to import original directory structure in JDev?
August 19th, 2005 at 6:53 am
Jdeveloper doesn’t change your directory structure, it just shows it differently. In JDeveloper 10.1.3 this will be improved, but you just have to live with it in 9.0.3
January 11th, 2006 at 1:49 pm
Hi, i have a problem working with Jdev 10.1.2 and CVS.
I don´t want the jpr, jws files to be controlled by CVS but don´t know how to do it… I want them to be in the repository(so as new people can get all the project together when they checkout the repository) but i don´t want them to have their version changed(don´t want to update them…)
Maybe i´m not explaining myself very good… sorry!
Thanks in advance, Sofía(Spain)
January 11th, 2006 at 7:04 pm
So if i understand you correctly you want people to get the jpr/jws files from the cvs repository, but they should not be able to commit changes to these files to the repository? Not sure this is possible with cvs. And even if it is possible with cvs, i think this is going to cause problems in jdeveloper. What if a used adds a new class to the project. For other developers to see this class, the changed jpr needs to be commited to cvs.
I think jdev 10.1.3 will be an improvement for you. It causes a lot less changes to the jpr file as not every class file is listed in the jpr.
March 28th, 2006 at 4:57 pm
Hello, I would also like to point out that I am having a lot of problems with JDeveloper. I love the tool, but it has sometimes I get frustrated on simple things. For Example, I want to use an external library. I register the library following these instructions:
http://213.35.38.54/otn_hosted_doc/jdeveloper/905/working_with_jsp_pages/jsp_ptagsregistering.html
BUT, when I try to run my web app, I get the following error:
Error: “http://displaytag.sf.net” is not a registered TLD namespace.
I do not understand why I get this message if I have registered the library and it appears in my Component Palette.
Could anybody help me please or point me in the right direction??!!
I need to finish this project ASAP and I am getting frustrated.
Thanks a million for your time in this matter.
Rene
June 1st, 2007 at 7:20 pm
Dear Rene,
Will while i was facing the same problem as you “Error: “http://displaytag.sf.net” is not a registered TLD namespace”, i just solved that by:
After adding the lib’s by the managing laibraries, you have to add the jsf jar file to the WEBApp libraries as follow: – Highlight the application root. – tools > projectProperties – select the libraries from the left menu – add the jsf library > OK – Rebuild all the project, and enuala
For any additional issues, feel free to update me.
All regards,
Ala’eddin