Enhancement Request: Output Directory per Java Content directory

I don't know if this is the right location for a feature request, but I've seen others in the forum here, so I guess I won't be reprimanded.
It would be great for our project here if we could specify a unique output directory for each source directory that we add to a project. There is a similar feature in Eclipse and we would like to get off our Eclipse crutch and this would really help us out. We have several applications, that consist of dozen or so projects each, but each project may contain anywhere from two to many (scores) of source directories. We keep each source folder's output in separate folders.
Alternatively, perhaps a way to import a dependency on a project in another application without having to actually add that project to the application would be a solution.
What we're trying to avoid is having applications with 50 or more projects to keep track out each individual output folder and avoid changing our build process to accommodate JDeveloper limitation in this area.
If the dev team doesn't see this happening, perhaps some thoughts or direction on whether this could be accomplished from our side as a plugin would be appreciated.
Cheers
-Christian

hi Christian
about "perhaps a way to import a dependency on a project in another application without having to actually add that project to the application would be a solution."
Maybe a scenario like this could fit (part of) your needs:
If you have two applications MyAppA and MyAppB.
The MyAppA application has a MyProjectA1 project with a MyClassA1A.java file in its source path.
The MyAppB application has a MyProjectB1 project with a MyClassB1A.java file in its source path that has a dependency on the MyClassA1A class.
You could add a Project Library to the MyProjectB1 project that has a Class Path defined as the MyAppA/MyProjectA1/classes Output Directory.
Although this approach could be of some help, one difference I see with "regular project dependencies" is that JDeveloper will not help you with building this kind of dependencies. You will have to make sure dependant class files exist, so you will have to "manually" compile the dependencies first.
success
Jan Vervecken

Similar Messages

  • How to call Java WebDynpro iViews from Portal (Portal Content Directory)

    Hello everybody,
    I am trying to call a Java WebDynpro iView, which was created within the Enterprise Portal and is stored in the portal content directory (pcd).
    I have created an HTML-iView in VC, where I have put in the pcd-link into the default-url field (pcd:portal_content/com.sap.pct/every_user/com.sap.pct.cprxrpm.ppmdc/com.sap.pct.cprxrpm.iviews/com.sap.pct.cprxrpm.iviews_cprojects/com.sap.pct.cprxrpm.cpr_projects). This iView is calling the cProjects WebDynpro Application. But after I run my model, the portal page is running and running, but nothing happens.
    I did the same with transactional iView, which was also created in the Portal before. I have also created an HTML-iView in VC, where I have put in the pcd-link into the default-url field (pcd:portal_content/IBU_content/SAP_for_Service_Provider/com.sap.pct.issp.ps.professional_services/com.sap.pct.issp.prs.iviews/com.sap.pct.issp.prs.display_sd). This is working fine!
    What I also tried is to call another VC-Model with an HTML-iView. Here I have put-in into the default-url field the pcd-location of my VC-model (pcd:portal_content/IBU_content/SAP_for_Service_Provider/com.sap.pct.issp.vcmodels/com.myComp.myProduct.1DM9.CreateEngagement/com.myComp.myProduct.iviews/com.myComp.myProduct.1G62.Cprojects_neu). This is also running fine!
    Now I do not understand the difference between this three objects. There are all iViews within the portal but the WebDynpro iView is not callable through a HTML-iView in VC.
    Could you help me in this case? Your help is very appreciated!
    Thank you in advance.
    Best regards,
    Aylin.

    Hi Marcel,
    when you mean the preview within the portal, yes, it is working fine.
    URL is not the way to solve my problem. I am working with IDES-Systems. This is our Demo System within SAP. I have to build my VC-Model in a Master IDES-System which will be transported than into the other IDES-Systems. The URL of the WD is not the same in the other systems. It is changing depending on the several Sysems. But the pcd-location is in all systems the same. Therefore I have to specify the pcd-location of the application.
    Is there a restriction with WD within VC?
    If we can do some kind of a netmeeting, I can show you my problem exactly.
    Thank you.
    Regards,
    Aylin.

  • Why do we need write access to Java installation Directory

    We are Upgrading from Siebel Analytics 7.8 to OBIEE 10.1.3.4.
    As OBIEE needs Java 1.5 or higher as a pre-requisite we are planning to uninstall Java 1.4 and install latest version of Java 1.5.
    According to OBI Installation and Configuration Guide http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31765.pdf -> Page 39 "If you are installing using the Basic installation type, make the user or user group permissions
    writable for the user installing Oracle Business Intelligence, for all JDK 1.5.0 installation directories,
    subdirectories, and files". Can anybody let me know why we need write access to Java Installation Directory??
    Thanks,
    Chandra
    Edited by: user6086408 on Apr 5, 2010 3:07 PM

    I had this same question and asked Oracle. Here's what I was told:
    Per Dev:
    "For OBI Presentation Services and OBI Publisher, jdk fonts files are copied into the JDK location because we do not bundle our own JDK. To ensure the install can do this you need to ensure that the Oracle BI installer has permissions to copy files to the specified JDK location.
    This means that if the same user who installer/untarred JDK is also installing Oracle BI, the install should work. In this case the the permissions of the JDK is probably 755.
    It will not work if a root user installs JDK and a normal user installs Oracle BI because the normal user does not have access to write to the JDK location or will not work if the JDK location is read-only, i.e. 444. In this case running chmod -R 777 will work."
    Jerry

  • New virtual Directory using JAVA

    Hello Friends;
    I want to create a folder under SAP j2ee engine and i want to upload my files under new folder and use it like
    http://portal:port/Newfolder/mynew_photo.jpg
    It is possible in iis. For ex.  i can create a folder manuel under
    c:\inetpub\wwwroot\new_folder
    and after i put my files i can use it
    http://iisserver:port/new_folder/new_photo.jpg
    I have tried this directories
    D:\usr\sap\p50\JC01\j2ee\cluster\server0\apps\sap.com
    D:\usr\sap\p50\JC01\j2ee\cluster\server0\apps\
    D:\usr\sap\p50\JC01\j2ee\cluster\server0\
    and i have create new folder but i couldnt use it.
    I hope that i have explained my question.
    Thanks in Advance
    Best Regards

    Dear Eray,
                  You can use the following Java code to create the Folder (Directory) in the SAP J2EE Engine and add the contents in the Directory
    import java.io.*;
    class CreateDirectory
       public static void main(String args[])
          try{
        String strDirectoy ="test";
        String strManyDirectories="dir1/dir2/dir3";
        // Create one directory
        boolean success = (new File(strDirectoy)).mkdir();
        if (success) {
          System.out.println("Directory: " + strDirectoy + " created");
        // Create multiple directories
        success = (new File(strManyDirectories)).mkdirs();
        if (success) {
          System.out.println("Directories: " + strManyDirectories + " created");
        }catch (Exception e){//Catch exception if any
          System.err.println("Error: " + e.getMessage());
    Rewards Points if useful..
    Regards,
    N.Jayanth Kumar

  • Changing directory in java

    what is the best possible way to change the directory through JAVA , on all Operating system , i have used "cd\"
    but that is not working on other operating system, i also used System.setProperty("user.dir"); but that also isn't much useful
    Regards
    Edited by: mjmjava on Mar 8, 2013 3:39 AM

    This seems to be the essentially the same question as your earlier post from today:
    extracting the content of jar files into another folder
    Shouldn't you just continue your inquiry in that thread? After all it is also about maneuvering around among various filesystem folders.

  • All java files directory

    I need to know all java files directory by sample:
    /System/Library/Java/Support/CoreDeploy.bundle/Contents/JavaAppletPlugin.plugin
    etcetera.
    I have deleted them all and i don't rember where those file where located, if i knew i would go to another mac computer and paste them to mine, because since i have delethed them all, i can't open safari, mail or app store and i don't want to reinstall the OS.

    FYI.... Here's the quick and dirty, slower than a wet week, ugly, but effective batch script
    set TIKE=C:\Java\lib\tikeswing-1.5
    set SRC=%TIKE%\src
    set LIB=%TIKE%\lib
    set CLASSPATH=%LIB%\commons-beanutils.jar;%LIB%\commons-lang-2.0.jar;%LIB%\commons-logging.jar;%LIB%\log4j.jar;.
    FOR /R %SRC% %%f IN (*.java) DO javac -d C:\Java\home\classes -cp %CLASSPATH% %%f
    @ECHO OFF
    REM http://www.robvanderwoude.com/ntfor.html
    REM Walks the directory tree rooted at [drive:]path, executing the FOR statement
    REM in each directory of the tree. If no directory specification is specified
    REM after /R then the current directory is assumed. If set is just a single
    REM period (.) character then it will just enumerate the directory tree.I can't figure out how do the equivalent of javac `dir /s /b *.java` (ie: cmd doesn't seem to have a built-in facility for expanding the results of a command into the command line) which would be a lot quicker and cleaner.
    Cheers all. Thanx for the help. I appreciate it.

  • Enhancement request: Remote interface java file generation

    Problem:
    In release 9.0.3, If you want to write a method that is suppossed to be exposed in the remote interface, you have to first right click on the ejb-jar.xml's appropriate EJB name node and then add the method, specify the argument types (say about 25 in number in a small width textbox), return type, etc and check the check box 'Expose in remote interface'. Then only remote interface's java source gets updated and only after doing all this can you actually sit down to write the business logic in that method. If you first code the method and then try to add the same, it gives an error saying "duplicate method exists"
    Suggestion:
    The similiar feature in release 9.0.2 was much better and flexible as it allowed the generation of remote interface source after coding the actual method in the EJB source. You can first write the method and then expose it in the interface by just choosing it from a method browser and opting for exposing it in the remote interface. You donot have to write the name and number of arguments like we have to currently do in the 9.0.3 release.
    (1) Actually, all public methods in the EJB source should by default be exposed in the remote interface because EJB are supposed to be used by other EJBs and JSPs only and all methods that are public but not exposed in the remote interface should actually be private or protected.
    (2) Leave it up to the developer to edit the remote interface
    (3) When the EJB source file is changed (public methods changed) compiled the remote interface should also be updated automatically. Why? already you have provision to change the remote interface source, so just dump all the public methods in the remote interface source when the EJB source is compiled.
    (4) Ditto for EJB Homes
    (5) Actually whenever the developer changes and compiles the EJB source, the remote and home source should automatically be updated AND COMPILED. (Refer: Pramati Studio 3.0 SP3 :- URL: www.pramati.com )
    I was very happy with the earlier option. If anybody other then the JDeveloper Team finds this interesting, please respond. A suite like developer should be more User-friendly.
    And yes expect more like this from me in the future

    Hi Raghu,
    Thanks for the quick response. This flexiblity in Remote interface generation and choice of methods in it at any given point in the development cycle is very much desired feature.
    The other thing I would like to suggest is you look at another enhancement request in my name regarding batch updates of the "web.xml" file. You will find the thread updated today i.e. on 15th September with a reply
    I will shortly post one more for lack of modularity in EJB components descriptors.
    My Company Four Soft Pvt. Ltd. (www.four-soft.com) is Oracle's development partner and we use and support Oracle products. They are good but naturally we would like them to be better and more User-friendly.
    Thanks once again.
    Amit

  • Creating aVirtual directory Using java

    Hai ,
    I am Using windows XP Operating system, I know how to create a directory using java,
    can you please suggest me a procedure to create a virtual(web share ) directory using java.
    waiting for your reply
    Thanks & Regards,
    Naga Raju

    Virtual Programmer is in the to share the directory
    over the Internet.No, that's a file/web server. :) I see, it's a Microsoft term.

  • Tivoli Access Manager 6.0 with Sun Java System Directory 6.3

    Hi,
    We have been using Tivoli Access Manager 6.0 with Sun Java System Directory 6.3 .
    Using IBM TAM Java API we can administer the user creation but the API provide support only to create user with required attribute as user name, password, description, setAccoutntvalid etc.
    But Sun Java System Directory 6.3 contains the many attributes as just to name a few...
    First Name (givenname), User ID (uid),Password (userPassword), Confirm Password
    E-mail (mail), Telephone Number (telephoneNumber), Country (c),Fax Number (facsimileTelephoneNumber), Locality (l), Organization (o), Organizational Unit (ou), accessHint, accountHint, departmentNumber, description, destinationIndicator, displayName, employeeNumber ETC...
    Now My Issue is if we need to add the values for other attributes as "accessHint" , "employeeNumber" etc, then how can we acheive using IBM TAM Java API or is there any other way.
    Thanks for your kind help...

    Looks like the attribute sunIdentityServerDiscoEntries is defined twice in the schema. Run the following and see where it is defined for the second time.
    # cd /var/opt/SUNWdsee/dsins1/config/schema
    # grep -w sunIdentityServerDiscoEntries *.ldif | grep -iv objectclasses
    Edited by: etst123 on Mar 3, 2009 1:28 PM

  • Unable to see the portal content directory in content adminstration

    Hi,
    I am unable to see the portal content directory in the content administration. I am not the super administrator.I have been assigned content admin role. But, I am unable to see the PCD.I see from previous blogs that permission has to be set for my role.
    Can any one help me in telling the procedure to set the permission.If permission is not the issue then do tell me the solution for it.
    Suganya

    Hi Suganya,
    The content admin role normally is sufficient to see / read the portal content catalogue (as far as the standard settings are concerned). But maybe they have been restricted on your implementation by some administrator.
    Some with sufficient permissions on the portal content catalogue has to right-click on the root (portal_content) object, "open", "permissions", and has to provide at least administrative "read" permission to you, some role (content admin for example) which is assigned to you or some group you belong to.
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

  • Unable to see the portal content directory in content administration role

    Hi,
      I am unable to see the portal content directory in the content administration. I am not the super administrator, i have been assigned other roles. But, I am unable to see the PCD. Please help me how this can be sorted out.
    Thanks much in advance,
    Sunitha.S

    Hi Sunita,
    Contact your systen admin people , he/she will assign the Read/Write or Full controls to content_admin_role in the system administration -> Permissions -> select portal content folder and right click the select open Permissions , There he/she has to add content_admin_role in Assigned Permissions category and under Administrator category select Full Control and select End user check box and save the changes.
    Then you can see the Portal Content and you can create /change the portal contents.
    Thanks and Regards,
    Hari

  • Event ID 12072 The WSUS content directory is not accessible

    Getting this error in wsus on 2012. I cannot download any updates. 
    any idea?
    Log Name:      Application
    Source:        Windows Server Update Services
    Date:          7/1/2014 7:26:57 PM
    Event ID:      12072
    Task Category: 9
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      wsus2012
    Description:
    The WSUS content directory is not accessible.
    System.IO.IOException: The device is not ready.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath,
    Boolean checkHost)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
       at System.IO.FileInfo.Open(FileMode mode, FileAccess access, FileShare share)
       at Microsoft.UpdateServices.Internal.HealthMonitoring.HmtWebServices.CheckContentDirWebAccess(EventLoggingType type, HealthEventLogger logger)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Windows Server Update Services" />
        <EventID Qualifiers="0">12072</EventID>
        <Level>2</Level>
        <Task>9</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-07-02T02:26:57.000000000Z" />
        <EventRecordID>485447</EventRecordID>
        <Channel>Application</Channel>
        <Computer>wsus2012/Computer>
        <Security />
      </System>
      <EventData>
        <Data>The WSUS content directory is not accessible.
    System.IO.IOException: The device is not ready.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath,
    Boolean checkHost)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
       at System.IO.FileInfo.Open(FileMode mode, FileAccess access, FileShare share)
       at Microsoft.UpdateServices.Internal.HealthMonitoring.HmtWebServices.CheckContentDirWebAccess(EventLoggingType type, HealthEventLogger logger)</Data>
      </EventData>
    </Event>

    Getting this error in wsus on 2012. I cannot download any updates.
    Description:
    The WSUS content directory is not accessible.
    Did somebody recently try to relocate the WSUSContent folder? or change the ACLs?
    Here are the relevant questions:
    What is the actual physical pathname of the WSUSContent folder?
    What is the pathname configured in IIS for the /Content v-dir?
    What is the pathname configured in the registry value "ContentDir" in HKLM\Software\Microsoft\Update Services\Server\Setup?
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • How to get Operating systems Install Directory in Java

    Hey Friends
    I have a problem of getting to know Operating System Install directory in java for my application requriment.Can any body tell me how to know this or send me snippet of code
    THANKS

    Thanks for ur reply but i need to know the Operating System Install directory like c:\Windows & not the jre install directory.Your solution gives the jre installation dir.
    Any suggestions ?
    Thanks & Regards

  • Auto-Creation of chapter links within the content directory

    Hello,
    I have a Microsoft Word document with various chapters and a content directory at the beginning. After creating an Adobe PDF file with the Acriobat 9.0 Pro Office PlugIn I want to link the various chapters within the content directory with their chapters below in the document.
    Is this only possible manually with the link tool or is there an automated way to do this?
    Thanks for your help,
    Devid

    In fact it was originally a StarOffice Text document with a content directory, which was saved as word file.
    What do you mean with "heading and related styles" within Word? Do I have to recreate the content directory in Word?
    In the Acrobat help there is an option, which is "Convert cross-references and table of contents to links": But this option is only available in Wird 2002 and 2003, but not in 2007. Maybe in WOrd 2007 it will be converted automatically.

  • ORACLE_HOME Directory Structure and Content description

    Can anyone show me the Oracle document or website which lists the
    ORACLE_HOME Directory Structure and Content description for windows platform.
    Oracle 10g R2.
    Thank you,
    Smith

    http://download.oracle.com/docs/cd/B19306_01/install.102/b14316/ofa.htm#CBBEDHEB

Maybe you are looking for

  • Insert into Microsoft access 2010 Database on sharepoint using OLEDB

    Hi, want to insert data into a microsoft access web db using oledb object. but the i am unable to open the database.     dbLoc = "http://XXXX.com/project/design/Test_Web_DB     Dim strConnection As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Sou

  • I cannot re-install Adobe Acrobat Pro XI

    I have faced a problem and then uninstalled the Adobe Acrobat Pro XI. Then I tried to re-install it but the Adobe Download Manager always showing the program is 'up to date', there's no 'Install' button as before, so I didn't know how to re-install i

  • Site Studio Designer Down

    Hi all, My SiteStudio Designer is going down again and again. I have a lot of time to refresh, Hangs a lot. Is there any other configuration setting that can reduce this. regards, sapan

  • Camera is freaking out!

    I clicked on my camera app and it just starts taking picture after picture after picture. It wont let me exit out with the back button, only the home button and then when i try to just go to my Pictures app, it wont let me access my photos or delete

  • When I click on phone icon to check who called me, I can't-- details below

    It's bizarre. Instead, when I click the green phone icon, I go into a window as if I'm calling my brother. (It's always this number, one of the few numbers I've called since getting the phone.) Up top is his name, the time 00:00, and the red End butt