Wednesday, January 9, 2013

JDeveloper 11gR2 and Subversion

During the last month I've been architecting an ADF Essentials project for a local company which has 4 developers to work on the project. We are planning to use several collaboration and development lifecycle management tools such as: Subversion, Bugzilla, Oracle Team Productivity Center, Wiki, etc.

I wanted to share with you something that was happening to me when using Subversion and JDeveloper, something simple, but took me several hours to figure it out.

First of all, if you don't know what subversion is, I found this very practical guide that may be helpful:


The version of JDeveloper we are using is JDeveloper 11gR2 (11.1.2.3.0) which is certified to work with Subversion 1.6.x according to the official documentation. At first, we were having issues because we installed a different version of subversion, but once we installed the correct version it seemed to work pretty well on my co-workers laptops. However, it wasn't working for me. I didn't know why, I followed several tutorials such like this one:


But nothing worked for me. I tried several times to version a simple application I had and JDeveloper showed me that it was imported correctly:


However, when cheking on the repository, there was nothing... At the end, I realized that when versioning the application, JDeveloper applies some default filters, so your repository doesn't end up with files that can be regenerated such as .class files. So I paid more attention to this filters and found the solution to my problem. Following are the steps I took when versioning:



Then, I selected the repository and the folder where I wanted to keep my files:


Then I had to select the source directory, notice that the path of the application I was trying to version is in D:\temp directory:


And when scrolling down to the last filter I noticed that JDeveloper will not import anything that contains the word temp!!


I had two solutions: Removing the filter or moving the application to a different path. I did the latter and it worked! Anyway, kind of silly error but seriously, pay special attention to your filters.


see ya!


References:

Oracle ADF Essentials. Oracle [online].
Available on Internet: http://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentials-1719844.html
[accessed on January 06 2012].

JDeveloper and ADF 11gR2 Certification and Support Matrix. Oracle [online].
Available on Internet: http://www.oracle.com/technetwork/developer-tools/jdev/jdev11gr2-cert-405181.html
[accessed on January 08 2012].

A Visual Guide to Version Control. [online].
Available on Internet: http://betterexplained.com/articles/a-visual-guide-to-version-control
[accessed on January 06 2012].

Oracle ADF Development Essentials. Oracle [online].
Available on Internet: http://www.oracle.com/technetwork/articles/adf/adf-essentials-098792.html
[accessed on January 06 2012].

Susan Duncan Blog. [online].
Available on Internet: http://susanduncan.blogspot.com/
[accessed on January 06 2012].

6 comments:

  1. I have found this article very exciting. Do you have any others on this topic ? I am also sending it to my friend to enjoy your writing style. Thanks

    ReplyDelete
    Replies
    1. thx for your comment. Actually, this is the first and only post about subversion and JDeveloper that I have written in my blog. Maybe in the future I'll write some more. Regards.

      Delete
  2. This post truly made my day. You can’t imagine just how much time I had spent for this information! Thanks.
    logo creator

    ReplyDelete
  3. Blogs are good in which we get lots of information and convert that information to knowledge. definition essay writer

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Thanks for the info. You have done great work communicating your message. Keep up the good work.
    Online Shopping In Pakistan

    ReplyDelete