Include files from a different project ...

Hi,
I have projects A and B.
Project A contains "includes": a directory with several include files.
Project A gets deployed as a JAR file (ProjectA.jar). Example content:
  /includes/menu.jspfThe target directory for Project A's deployment JAR file is set to: /
Project A has the following HTML Root Directory: ...AppA\ProjectA\public_html
Project B has the following HTML Root Directory: ...AppB\ProjectB\public_html
Project B needs the include files from Project A.
Project B has Project A as a dependency.
Project B has ProjectA.jar within its WEB-INF\lib directory.
The problems are:
1. Project B does not see the "includes" directory within its "Web Content" folder from Project A. How do you make Project B see Project A's includes directory?
2. Project B cannot compile the following code:
<jsp:directive.include file="/includes/menu.jspf" />
  ...The error message: Include file not found: /includes/menu.jspf
The error message is to be expected as Project B cannot currently see the files located within WEB-INF\lib\ProjectA.jar. How can this be fixed?
3. I have tried changing the HTML Root Directory to the "public_html" directories from both Project A and Project B. JDeveloper then displays an error indicating that it cannot find <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>.
There should be a way to do this, as the images and styles for ADF are successfully deployed and used within WEB-INF\temp\adf.
Any ideas are greatly appreciated.
Thanks!

Hi,
I used a program called "Junction" to resolve this issue. It is a temporary solution.
http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx
The program makes a true symbolic link. This allowed me to link the includes directory from ProjectA into ProjectB. Linking this way will not work when we go to deploy a suite of applications. We would prefer to package the includes in a single JAR file, then redeploy the JAR file everywhere.
Any other ideas?

Similar Messages

  • I am trying to open a .mxf files from 2 different Panasonic cameras in After effects CS3

    I am trying to open .mxf files from 2 different Panasonic cameras (the HVX 200A and the HPX 170) in Adobe After Effects CS3.  I have down loaded all of the Adobe CS3 upgrades and I have also installed the P2 card reader for Tiger which is the operating system on my mac.  I have not been able to open these files.  Can anyone help pls?

    >  I have not been able to open these files.
    Please tell us exactly what you're trying to do and exactly what happens. Make sure that you're following the instructions here.

  • I just purchased Acrobat Pro XI i downloaded the installation file from a different computer because mnes has no internet i click to setup/ install ot says "Acrovat instiller encountered an unexpected failure.  please try again. if continues contact dobe

    I just purchased Acrobat Pro XI i downloaded the installation file from a different computer because mnes has no internet i click to setup/ install ot says "Acrovat instiller encountered an unexpected failure.  please try again. if continues contact dobe support. " how can i install ot to my computer whats going on??

    I just purchased Acrobat Pro XI i downloaded the installation file from a different computer because mnes has no internet i click to setup/ install ot says "Acrovat instiller encountered an unexpected failure.  please try again. if continues contact dobe support. " how can i install ot to my computer whats going on??

  • Cannot Drag & Drop Audio Files from iTunes into Project Timeline

    Hello,
    I have an iMovie (10.0.6) project open. I click the iTunes icon to fetch an audio track and it won't allow me to drag/drop it into the timeline. Yet it allows me to drag/drop other tracks from the same playlist (all from the same CD). All tracks are the same file type and about the same size/length, yet one of them (the one i want) cannot be dragged/dropped into the timeline. This happened with another iMovie project recently (different tracks from a different CD, but same idea: can't drag/drop one track, but i'm able to drag/drop others).
    Your help is appreciated!

    I've having the same issue. Very frustrating. FFS Apple!

  • How to deploy a war file from a different app server to the SAP one

    Hello,
    I hve recieved a war file from Tomcat that needs to be deployed on the SAP Java App server. As far as I know the SDM only allows to deploy ear files. How can I deploy this war to the app server?

    Hi Roy,
    in order to deploy the WAR file you have to wrap an EAR around it. I had the same problem.
    You can do this using Netweaver Developer studio.
    Perform the following steps:
    - Start NWDS
    - Create a New Enterprise Application Project
    - Create a New Web Module Project (name it like your war file => e.g. your war file is called myApp.war => call your Web Module myApp)
    - Edit the application.xml of your Enterprise App if necessary (description, Displayname etc.)
    - Link your Web Archive to your application archive (right Mouse click on Application Archive and from the Context Menu choose "Add Modules" => In the list choose your Web Module)
    => You can also perform a right mouse click on your web Module and from the context menu choose "Add to EAR Project" => In the list choose your Enterprise Application!
    - Build Web Archive (right mouse click on your Web Module and from the context menu choose "Build Web Archive" => This will create a war file that has the same name as your war file! => If you do not see it try to switch to resource perspective!)
    - Build Application archive (right mouse click on Application archive => from the context menu choose "Build Application Archive")
    You are done
    The EAR file is generated and will be created in your workspace.
    Now browse to your workspace. Unpack the EAR using WinZip or any other Archiver program.
    Replace the contained war with your war and repack the ear file (You can also use tools like Total Commander to directly replace the war file in the EAR with your war without having to unpack the war). You can also import your war into NWDS and rebuild it so you won't have to replace the WAR in the EAR but as your WAR is already built I would just replace it as described!
    You can now deploy the ear file to SAP J2EE
    Hope this helps (Reward points for helpful answers are appreciated!)
    Cheers

  • Access a component in an mxml file from a different mxml file

    Hi,
    I want to access a component in an mxml file 1 such as this one  <mx:Image id="img" width="101" height="200" source="{product.image}"/> using the
    id
    from the actionscript function from a different mxml file 2
    public function init():void
           HERE.addEventListener( MouseEvent.MOUSE_DOWN, beginDrag );    
    so i can make it dragable, Please help me  in this if u can urgently!!!!

    okay,
    I have the image component in ProductCatalogThumbnail.mxml, which has an id of "img"
    so, i created a public variable in the file and a public function that returns the value of the object.
    public var imagecopy:Object;
            [Bindable]
             public function imagecopyfunction():Object{
             imagecopy  = img;
             return imagecopy;
    now, I want to access this image in the mxml file ProductList.mxml in a function
      public function init():void
          ProductCatalogThumbnail.imagecopy.addEventListener( MouseEvent.MOUSE_DOWN, beginDrag );
         // accepting a drag/drop operation...
           this.area.addEventListener( DragEvent.DRAG_ENTER, acceptDrop );
           // handling the drop...
          //this.area.addEventListener( DragEvent.DRAG_DROP, handleDrop );
    I tried to use the variable, and then i tried to use the function:
    I got this error when I tried the variable : 1119: Access of possibly undefined property imagecopy through a reference with static type Class.
    ProductCatalogThumbnail.imagecopy.addEventListener( MouseEvent.MOUSE_DOWN, beginDrag );
    and this error when i tried the function:  1061: Call to a possibly undefined method imagecopyfunction through a reference with static type Class.
    ProductCatalogThumbnail.imagecopyfunction().addEventListener( MouseEvent.MOUSE_DOWN, beginDrag );
    i made sure i imported ProductCatalogThumbnail file in the beginning of my application.
    I am not sure what went wrong.

  • Can't drag files from desktop to project files window

    Im using the latest premiere pro version, 7.2, and while I can drag files from my desktop to the project window in premiere 6, for some reason its no longer possible in premiere 7.2
    whenver I try to drag audio or video files from my desktop or any folder to the project files window at the bottom left I get a forbidden sign or circle with a diagonal so the only way to import files is through the import menu, which is less straightforward and slowlier
    Ill be happy to provide more data if required
    thanks
    PS: obviously Ive already created a sequence so the problem is not that

    The latest version is 7.2.2 (33)
    Upgrade to that and see if it helps.

  • Extracting resourse like .ai & png files from a flash project

    Hi! I have been assined the task of extracting the images from old flash projects and am having a devil of a time doing so.
    There are lots of programs that you can extract info out of the swf files, but these don't give you the original .ai Ilustrator files that may have been used to create the presentation with, or png files with transparent backgrounds.
    Is there a plug-in in Flash that allows you to capture these items in the document?  when I drag the item from the library (lets say a .ai file) to the stage and right click and copy it, it only gives me part of the item when I paste it back into illustrator... and when I drag the PNG resource to photoshop I get it with a background I do not want.
    any help on this would be great!!!!
    I have both cs3 and cs4 so a solution in either one would be great!

    Well that is kinda what I've been doing, only its not quite that simple as doing it that way makes an image of what is on the entire stage.  What I have to do is create a new project copy over all my library items to the new project, and pull over each one individually and do it that way.... if you have a lot of items in your library (which I do a lot of times since these contain a lot of animation sequenced into individual frames) this process can be quite tedious.  Yes you can save out to .ai illustrator files this way as well.
    I was hoping for something a little more... automatic or at least where I don't have to drop each item individually on a stage, reposition, ect...
    But yes, the previous post is one way of doing it with some fooling around with.

  • Dynamic Routing? how to read files from 2 different directories?

    i need to do that..pick files but from 2 different locations..
    any simple idea?
    yes, the best simple is to have 2 bpels listenening to each directory...
    can i create only 1 BPEL?
    i heard about Dynamic Routing...too complex?
    Thanks!
    Pablo.

    Hi,
    I guess you can try it with Pick as the initial activity( With Create Instance Checked) and you map your two File Adapter to two On Message branches..
    I guess this should work but i am not sure how far this is reliable.. with Pick..
    Worth giving a try..
    Thanks,
    Jp

  • IMovie 10 Can NOT Import Files from Older iMovie Projects

    I have older iMovie projects on an external drive and want import/upgrade them to iMovie 10.
    After choosing the old projects, iMovie 10 examines the old projects for a while and then gave me a list of files that it cannot import. The files I remember on the very long list are .plist and iMovie project files.
    Should I be concerned?  In other words, is iMovie 10 now using a new file format that makes these files superfluous?  Will iMovie going to incorporate their information in the new architecture, or will some functionality be missing from the imported projects?
    I'm running iMovie 10.0.2 on OSX 10.9.2 on a 27" iMac.
    Thank you for your time and attention.

    I'm going through my old iMovie projects and importing them one-at-a-time into iMove '11 (ver 9.0.9, build 1795)
    I don't know the version of the projects that I'm importing but they have this directory structure and have file creation dates in 2007:
      Unfortunately, when I import them, I lose most of the editiing that from the old project:
    In case you can't read the area in red, it says:
    Notes about the imported project:
    All transitions wll be replaced by Cross Dissolves.
    Titles and music tracks will not be imported.
    Video effects will not be imported.
    Isn't there a way to import older iMovie projects in their entirety and completely intact?
    Thank you for your time and attention.
    - nello

  • Sharing a .h include file between a C project and Java

    I'm writing a newtowrk utility in Java that uses a lot of constants that are available in a .h file in a C project. In fact, the .h file is the authority as to what the values actually are.
    Is there a standard way or has anyone written a utility that will pull in a C include file to generate constants for Java objects to use?
    In C I have in protocols.h:
    #define ETHERTYPE_IPV4 0x800
    #define ETHERTYPE_FOO 0xF00to turn into
    public class ProtocolsDotH {
    public static final int ETHERTYPE_IPV4 = 0x800;
    public static final int ETHERTYPE_FOO = 0xF00;
    }Or something like that. I could invoke the utility in the make file that compiles and jars my Java app. Any guidance?

    You could use SWIG, the Simple Wrapper Interface Generator (http://www.swig.org). But if you just have a few simple constants this seems a bit heavyweight.
    I can't seem to get SWIG to put the literal values right into the Java file. Here's how you might invoke it with a header file called stuff.h:
    [cdb@merlin forum]$ cat stuff.h
    #define FROB 0x1234
    #define MEAT 0xdeadbeef
    [cdb@merlin forum]$ swig -java -module JStuff stuff.hThis will create some files:
    JStuff.java  JStuffJNI.java  stuff.h  stuff_wrap.cwith JStuff.FROB and JStuff.MEAT, but I don't know how to get swig to put the values right in the Java file. It actually calls a JNI method that it generates in stuff_wrap.c to set the constant values.
    Too bad, but there might be a way, probably via a ".i" file to swig, to put literal constants in the source.
    I guess the bottom line is:
    Probably a simple one-line grep/sed command or perl script would do the trick though.

  • Export the Biztalk error to a file from the Biztalk project.

    Hi,
    I have created console app in VS 2012 to export the biztalk errors from Event Viewer to a text file.
    Here i have used eventlog class to fetch the application log errors on click of .Exe file it will generate the the text file.
    So I need to integrate this .exe or .net code to Biztalk project. How can i integrate this one. Any idea on this - how can i achieve this.
    Biztalk handles error but i need to export that biztalk error which occured in the application in to seperate text file in a location. Because  each time user needs to go to Adminstrative console then to EventViewer->Windows log->Application - >
    to view the Biztalk error. In this case i need to export the errors to a text file from the project instead of going to view error in Admin Console. i need some code samples on how to make it.
    But in .net we can achieve it using EventLog class to export the event viewer appplication log to a text file.As i said in first Earlier.Whether it can be integrate in to biztalk project through Custom Pipeline or any other way.
       

    Hi Vijayan,
    What is the objective of your requirement? Is this just to save user from going through Administrative console
    à EventViewer->Windows log->Application - > Filter event for BizTalk error?
    In this case you can create a custom event log for BizTalk and hold the events related to BizTalk in one node/category. So you’re users can directly to eventlog for
    Biztalk error. (FYI event log can be access without going through BizTalk admin console). So users can view information/warning/error specific to BizTalk in one view
    EventVieweràCustom
    viewàBizTalk.
    No automated steps required, just a simple one off configuration would do the trick. Read the following article on step-by-step guidance on achieving the same.
    Creating a custom event log under Event
    Viewer to log server events
    Or is requirement is due to some access issues you want to accumulate/consolidate all the BizTalk errors into one place so user can see BizTalk evenlog info in one place like
    a text file in a shared location, then the following article can help you to achieve the same.
    http://blogs.technet.com/b/heyscriptingguy/archive/2007/09/06/how-can-i-backup-an-event-log-to-a-text-file.aspx
    But what do you mean by integrate above process in to BizTalk. When you mean by “Biztalk handles error but i need to export that biztalk error which occured in the application
    in to seperate text file in a location”, are you looking to log the BizTalk “application” error/events i.e logging from your applications in BizTalk to a log file ? Then you can consider about using standard logging library like Enterprise
    Library Logging block, or NLog, or log4net. log4net can fit
    well comparing other logging framework.
    Following references can help you on this context:
    Write log file for Biztalk Logging
    with log4net – Sample
    Biztalk and Logging with log4net
    But keep in mind that this is application logging, i.e. logging from your BizTalk applications like logging while processing the message in pipeline/orchestration. But this will
    not log when one of the send port/receive location is stopped. These information are logged into eventlog.
    If you’re looking for application level logging then also know about
    BizTalk CAT Instrumentation Framework Controller. 
    Or if you want to your existing console application which exports the eventlog to text file to be automated, then use the Windows schedule task to run your console application
    periodically and let it export the errors to text file. You can console the export process in such a way that it can export the eventlog entries for the last one hour if you can configure the Windows schedule task to run every one hour to export the logs to
    text file.
    I have given various options, hope you can choose the one which suits your need best.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Creating mdf file from a database project in Visual Studio for Web

    I am very new to database programming in Visual Studio and SQL Server Express LocalDB. I went through a walk through of setting up a database project (using visual studio express 2013 for web and SQL Server Express LocalDB), adding tables and entering data
    and everything worked fine:
    http://msdn.microsoft.com/en-us/library/ms233763.aspx
    Then I wanted to move on to trying to build a simple application to access this database so I looked into the following tutorial:
    http://msdn.microsoft.com/en-us/library/ms171890.aspx
    In a nutshell the tutorial says to add a new datasource and navigate to the database file, and it is looking for an .mdf file. 
    The database project that I created does not have an mdf file in it, only sql file, visual studio project, dbmdl file, options file, source browser database, etc.
    How do I create this .mdf file, that step didn't seem to be explained in the first tutorial. I tried running the project, but didn't see any build options for creating the .mdf file. Again, sorry for the absolute beginner question. 

    Thanks edencorbin
    I am glad to hear that it was helpful and you succeed :-)
    With that said, It is time to close the thread :-)
    please mark responses that were part of the answer as the answer in order to close the thread. once at least one of the responses in a thread is marked as answer, the thread Icon changed into V and the thread look like it is close(you can continue working
    on a thread after this point, but usually new supporters will not check this thread).
    Have a good day :-)
    [Personal Site] [Blog] [Facebook]

  • Can I move proxy files from an active project to a different drive?

    Hi, Is there any way for FCPX to allow you to redirect or move( like using an alias) the rendered/proxy/optimized files off of the boot drive? My project library has 3TB of RED 4K footage, and if I want to proxy it, it still take up over 1TB of data. thanks!

    ETinNJ wrote:
    , but when you build the library it's on the boot drive, correct? is there a way to build the library on the external RAID drive?
    You can always start a new library and locate it wherever you choose – drive or partition other than your boot drive.
    You could (as Luis suggested) drag the big library to the RAID and trash the copy on the boot drive (after confirming the moved library works, of course…which it will.)
    You could also, working within FCP X, move just the event to the new non-boot library.
    Then create proxies after the fact in the new or relocated library.
    Russ

  • Using GetResource to get a file from a different folder than bin

    Hi guys,
    here is the line of code I am working with:
    final static URL musicD = Sound.class.getResource("Sound//MusicD.mid")this loads MusicD.mid from the project/bin/Sound folder. However, SVN messes up my bin folder badly, how can I get a resource from the project folder, or better yet project/sound folder as opposed to the bin folder? Thanks!
    P.S. I am on a tight deadline, so a straight answer would be very helpful, what I dont need is more smug advice! =) thanks!

    hiwa wrote:
    Christ_Guard wrote:
    Hi guys,
    here is the line of code I am working with:
    final static URL musicD = Sound.class.getResource("Sound//MusicD.mid")this loads MusicD.mid from the project/bin/Sound folder. However, SVN messes up my bin folder badly, how can I get a resource from the project folder, or better yet project/sound folder as opposed to the bin folder? The syntax is wrong. Besides, what is your current current directory from where your application is launched? Is it in a jar file?Thanks for the honest help, I really appreciate it! I am working out of eclipse and compiling it there, so it is not yet a jar file. How would you suggest fixing the syntax to work?
    P.S.
    the directory I am working from is this:
    C:\Users\Christian\TCSS 305 Workspace\shielc-tetristhis directory has the src and bin directories, yet I dont know how to get the resources from this directory instead of the bin directory.

Maybe you are looking for

  • I need to graph data and stack the plots to create 3 graphs, how do I plot more than 1 data line on each graph

    I currently use a code heavy solution thats clunky and need to refine the graphing part. For simplicity I want to use the waveform chart and its "Stack Plots" option. However I cannot see how to collect 2 or 3 data streams and display them on 1 of th

  • Monitor won't display after changing settings

    I changed the settings on my Mac Pro and apparently they are not correct for that monitor. The display is blank and now I can't get anything to display in order to reset display settings. How can I get it to display again?

  • Regarding export parameter in rule

    Hi everbody, i have created rule  and i am using this rule in User decision step... for determining agents, when i excuted the worklfow it's working perfectly.. i am using deadline montoring(Modeled) so here i want to pass the agent in sdend mal step

  • Can't draw an image

    Hi all I can't understand why I don't have an imge on my screen. What's wrong? public void paint(Graphics2D g2){           g2.setColor(new Color(225,225,225));           g2.fillRect(x, y, width, height);           Image image= Toolkit.getDefaultToolk

  • Authorization Object required to run VL01N

    Dear All, Recently we were asked to assign VL01n T-code to a user. We have created a role and added the t-code and assigned to the user.By default there is only one auth. object comes with the tcode ie:(V_LIKP_VST)  at the time when we have assigned