Import JSPs from one project to another (depends on or ??)

I'd like to solve the large product problem: Broke up into several projects.
The problem is most evident in unit testing with the internal container. Any jsp includes
or forwards to JSP's in other projects just is not supported with local testing.
I'd be very happy to live with the same solution I'm using for classes from other projects.
I.E. a Project library that points to the output path of another project.
The deployment config for project B who depends on project A's classes, includes the classes
from A into the projB.ear.
I can live with this. It supports use of Tester and Local running of JSPs.
I'd like the same solution for JSPs too.
I'm happy to forgo the URL distinction that's possible by deploying all modules to an
external container. I'd be willing to live with all JSP's in proj A accessed as if they
where local to proj B.
Anybody have a solution?
At present I'm living in HELL, with JSP src in both places. As the project grows into
more modules, replication from A to B-->E just won't work. Plus, as JDev and SCM go,
someone always screws up and adds these copied files to SCM and the project.
It's currently a mess!
Thanks, curt

Although classes have the notion of a classpath, the HTML Root directories from several projects cannot be strung together like that. The OC4J server does not support multiple document roots for a single web module.
There are a few possibilities for you though:
1) Change the settings of each project so that they all point to the same HTML Root directory. In this configuration, a WAR profile in any one of the projects will deploy the entire contents of the HTML Root directory.
2) If you can't put all the JSPs in the same HTML Root directory, formalize the boundaries between the web modules by defining a "J2EE Web Context Root" for each project according to your exact need. Then when JSPs include or forward to each other, use URIs that contain the context root as part of the URI.
3) Keep everything in one project, but separate the JSPs into different directories. Then to get a filtered view of your JSPs in the JDev navigator. switch the navigator into "Category view" (Project | Show Categories). You can then selectively drill into a specific directory. If you select the project and then choose View | Display in New Navigator, you can get a separate navigator whose scope is narrowed onto your specific project.
Hope that helps. If you have any specific suggestions on enhancements that would improve your productivity in this area, please let us know.

Similar Messages

  • Import package from one project into another

    Hello everyone,
    I have some projects.
    An enterprise and war project created in netbeans.
    I would like to use some files from one project to another. when I import
    the package I get the error-
    'package x does not exist'
    I have added the package to the project but I still get the error.
    I have also added the project to import to my glasspath but still.
    E.g.
    set classpath
    .;c:\enterpriseA;
    My next idea is to create a war project into my enterprise project and copy the files
    from the war project into it in order to use it. But I'm sure there is a better way.
    THanking you in advance.
    eve
    Edited by: evepokua on Nov 22, 2009 1:44 PM

    One mistake I keep making is that I don't add the package to the
    Dependencies of the plugin I'm writing. You have to go to plugin.xml,
    and add the package you depend on to the Dependencies section. Maybe you
    didn't do this?
    Michael
    nasti wrote:
    > Hello everybody!
    > I am new user of osgi and eclipse. I tried to do some of Oscar examples
    > but I had some problems. Namely, the problem in import of package from
    > one project into another in Eclipse.
    > I add first project to the Build Path of the second one.
    > I add to the first project manifest line: Export-Package example2.service.
    > I add to the second project manifest line: Import-Package example2.service.
    > But when I tried to execute these bundles the
    > java.lang.NoClassDefFoundError was occurred. May be you will help me
    > with this problem.
    > Thanks....
    >
    >

  • How can I copy/import topics from one project to another?

    I am using RH8, Windows 7 and creating Browser based air help.
    One of the old posts I found said to import it, but when you select File/Import what do you select? Do you import the .htm file?
    more info needed.
    thank you.
    Pat

    Your first post said "One of the old posts I found said to import it" without indicating what IT was. Telling us it's an htm file doesn't tell us much.
    What is the question here?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • If I move a picture from one project to another in aperture why doesn't the jpeg change folders if all my pictures are referenced?

    I started importing all my pictures into Aperture and have been debating whether to use a managed or referenced library.  I'm leaning toward referenced, but before import everything that way, I do a couple of "test drives".
    In Aperture, I moved a photo from one project to another expecting that the jpeg in finder would move from the original folder to the new one, but it didn't.  Anyone know why?  Is there a way to make this happen?  Is it bad that I want this to happen?  Should I just use a managed library.  I like having control of the actual files (thus wanting to go with a referenced library).
    Any thoughts?
    Mark

    In Aperture, I moved a photo from one project to another expecting that the jpeg in finder would move from the original folder to the new one, but it didn't. 
    Mark, Aperture does not store the originals organized by project, but by the date of the Import Session. So moving an image to a different project will not change, were the original file is stored.
    This has a big advantage for backing up the originals. If they never move or change, you do not have to backup the originals other than directly after importing, if your library is referenced. And even incremental backups of a managed library are quicker.
    Is there a way to make this happen?
    You can always use the command "File > Relocate" to move the original files anywhere you want.
    Is it bad that I want this to happen?  Should I just use a managed library.  I like having control of the actual files (thus wanting to go with a referenced library).
    If it is bad, will depend on why you want to have control of your originals. If you just want to know where they are, it is o.k., or if you don't have enough space on the drive with the library and need to split the library across several drives. But it would be bad to move, edit, or access the referenced originals in any way. Let Aperture do the handling,  or you will be risking broken references.
    Aperture has several buil-in ways to show you the original: The "M" key will switch the Browser to the original, "File > Export > Original" will give you an exact copy of the original, or you can relocate the file to another folder.  I simply open the aperture Library in iPhoto, when I want to view my managed originals. iPhoto has a command "File > Reveal in Finder > Original" that will show you also the managed originals in the "Masters" folder inside the Aperture/iPhoto Library package.
    You may want to have a look at Terence Devlin's User Tip:                  How do I access my Photos in Aperture?
    Regards
    Léonie

  • Cutting and pasting tables from one project to another

    When cutting and pasting existing tables from one project to
    another, the line weights for the cell borders seem to vary at
    random - some are the original line weight and some are heavier
    when pasted.
    I've tried sorting things out with the table properties
    dialogue, but to no effect.
    Is there a quick fix, or am I better importing in whole
    topics and then editing the imported topic?

    Hi Colum/Peter,
    It's not a custom table, I just need to copy an existing
    table from one project to another.
    My blasted developers (may the fleas of a thousand camels,
    etc), just decided to change the toolbars in one of our
    applications. As this toolbar appears in slightly different guises
    in about 6 tabs, I was trying to update the table that shows what
    icon does what and cut and paste that table into all the sub
    projects I have. Each table then only needs a minor edit for a few
    icons specific to that sub-project.
    Peter's on the right track. When I cut and pasted the table
    it also pasted in a number of lines of HTML associated with the
    styles in the other project. If I delete those lines, the table
    then appears as it should.
    Thanks for prompt response

  • --Any way to copy/paste clips from one project to another w/o LOSING TRANSITIONS...??

    I have CS5...
    I'm trying to speed up render/export time. I have multiple edited video's in about 15 different projects.
    I had a couple video's within one project and rendered the work area - consisting of 4 video's...then exported. It was much faster than just going to straight exporting so I wanted to do the same with all the other video's.
    Pull everything into one project - render first - and export from there but premiere doesn't copy transitions from one project to another. Is there any way to get it to copy/paste transitions??
    Thanks

    exported regularly and took 2hrs 50min's for each video....then rendered and exported - took prob around 2hrs total - including rendering/exporting.
    That seems unlikely.  If anything, the separate render/export should take slightly longer (though not that much) as you may also have to transcode the preview files (depending on your preview codec) during the render, as well as decode them for the export.  Besides adding an additional layer of compression, it also adds time.  Here's what I mean.
    Export only:
    1. Decode original media
    2. Render new frame based on sequence, effects, titles, etc.
    3. Transcode that new frame to the export codec of choice.
    Render (1-3) /Export (4-5)
    1. Decode original media.
    2. Render new frame based on sequence, effects, titles, etc.
    3. Transcode that new frame to the Preview codec (if anything less than Uncompressed, this adds time and potentially degrades quality)
    4.  Decode the rendered frame (if not Uncompressed, which adds time)
    5. Transcode that (decoded) render frame to the export codec of choice.
    So you see, the render first process has two extra steps which add time, one of which could also introduce additional artifacts (depending on your preview codec).

  • Move tracks from one project to another?

    I'd like to know if there's a way to move tracks (with or without inserts, automation and other stuff) from one project to another.
    I have a project containing a working mix of a song that I've spent many hours assembling. One of my bandmates sent me parts he tracked in GarageBand, two audio tracks and one track using a MIDI instrument. I imported the GB file into LE and made some edits. I'd like to bring those three tracks into my current mix.
    I understand that I can bounce each track out individually, then re-import them on new tracks in the mix project, but this means turning off all the inserts and EQ on each track and blah blah blah, it seems like there must be an easier way. Being able to directly move or import the tracks would preserve my editing flexibility in a way that bounces won't.
    Please, any suggestions may prove valuable.
    Thank you for your time.

    ...let me also re-emphasize: the GB2 file was imported and converted and tossed. I am trying to move tracks from one Logic Express project to another Logic Express project.
    Just to be perfectly clear.

  • Move Photos from One Project to Another

    Is there a way to move photos and transition effects from one project to another?
    Using iMovie08
    Thanks

    @bshig
    more often than not, i seem to import the images into a new project, which i don't want.
    I spotted and 'solved' this one last night. I don't have Aperture in front of me just now, so I'm writing this from memory...
    Open your Preferences. Look for, I think, an Import tab. There's a preference for setting the default target project which has two options (from a pop-up menu). The options are "New Project" and something like "Selected Project". Changing that over should solve your problem...
    Gary

  • Copying an entire software instrument track from one project to another

    Hello,
    Is it possible to copy or import one entire software instrument track from one GB 3.0.2 project to another? At the moment I've got to copy a region from one project, open another project, paste it in the 2nd project, and open the other one again (which appears to close the 2nd project) to copy the second region. This is incredibly cumbersome because I can't have both projects open at the same time.
    Has anyone found a less tiresome method to do this?
    Thanks
    Hiranya
    Powerbook 15" Hi Res 1.67 GHz 2 Gb RAM   Mac OS X (10.4.6)  

    The easiest work-around I can imagine is to join all regions of the track and copy that. Another option is to freeze the track, which will turn it into normal audio. You might also add your MIDI parts to the library. That will avoid the need to switch between projects, but does require one or two more actions.

  • Moving a Clip From One Project to Another

    How do you move a clip from one project to another keeping the sound clip and title that was used on that clip?

    As far as I can tell, you can COPY all, or some, of the video clips (and stills) with transitions and FX and PASTE into a different Project. But you can't copy titles or audio tracks.
    However, you can make a QT movie of the segment you want and import it. If it's short use 8-biy uncompressed or ProRes 422.
    Or you can DUPLICATE what you need, and and new clips to the duplicate.

  • Moving Subtitles from one project to another

    To make work on a project more efficient, we started a project on one computer with only the film track for subtitling, whilst authoring the DVD on an other computer, another project.
    So, how do we move the subtitles created in one DVDSP project into another project?
    I cannot see that the subtitle stream creates its own asset, which could be imported into the authoring project, and DVDSP refuses me to copy the subtitles to past them into the "real" project and I find no export options which seem to apply.
    Humbly seeking help.

    Sorry Per - there is no direct way of moving the subs from one project to another, or exporting them directly as an asset. The very best advice is to construct subtitles outside of DVDSP as a text file which you can then import, edit, alter exactly as you want. I suspect it's beyond that point for you now, though!
    However, if you use the app 'Subtitler' then you can export an item description of your DVDSP track and extract the subtitles from it in STL format.
    Another thing to do is to export the track from one project as an asset and import it into the new project, but then replace the video and audio elements with the correct pieces that you need to use. It's a lot more messy than simply having a text file for the subs, but could get you out of a hole.

  • Moving image from one project to another

    Hi all. I'm sorry if this is simple to do, but I can't figure it out. I have recently purchased Aperture 3 and am trying to figure out how to move an image from one project to another. I had several photos on my camera, and imported them this morning into it's own project. Now, I would like to take some of those photos and put them in my "family" project, and some into my "dogs" project, etc. When I open up the new project, I can't find where I can move them to another project. I have to assume this is doable, but I can't figure it out.
    Thanks in advance.
    Dale.

    Sorry to be a complete idiot, but here's my issue. When I open the original project, and then find the image that I want to move, I am unable to see any other projects (in browser view), so I have nowhere to drag them to. I hope that makes sense and you can help.
    Thanks again.
    Dale.

  • Editing audio from one project to another

    I'm trying to build a DVD project of different musical performances in Final Cut Pro X. The Mac I'm working with crashes every 30 minutes regardless of what I'm doing so, instead of building a monstrous timeline with two hours worth of performances on it (which will never save given the crash issues), I'm trying to build it by each song (4-6 minutes each).
    The format is: opening billboard (with performer and song listed) --> fade into performance --> performance --> fade out of performance. If I were fading the audio out after each song, it would be simple but I'm trying to keep some of the audience track going under the next billboard so it blends better. I can't seem to cut the audio at the end of the fade out and apply it to the next song without continuing to build onto the same timeline which, due to the crash issues, doesn't help me.
    Is there an audio work around that I'm missing? All I want to do is fade the audio a little past the fade effect, copy it and apply it to the beginning of the next song. Anyone?

    Just ran into the same problem myself... while I get you CAN export the audio, then import it and use anyway you like I don't think that is the point of the original poster's question.
    The voice-over clip has unique properties and as such I (and it looks like other users) would like to be able to "copy & paste" a voice-over clip from one project to another. Alternatively if I could drag and drop the voice-over clip into my Event that would be great too. Doesn't seem like an unreasonable request. Right now the famed Apple ease-of-use is missing for those of us who have recorded voice over elements we want to use in more than one project.
    Had I known iMove would not allow sharing of voice over clips within iMovie I would have recorded my voice-over clips in another application and imported them all as audio-clips. Which certainly defeats the point of the inclusion of voice-over in iMovie.
    Any solutions that work within the app without an export/import required?

  • How can I move an original Version from one Project to another Project?

    How can I move an original Version from one Project to another Project?

    From the Aperture User Manual:
    To move an image into a different project
    Drag the image [from the Browser] into another project in the Library inspector.

  • Can't MOVE images from one project to another: must not understand

    Greetings,
    I have two questions as a result of aperture not working the way that I have read on forums etc. and am wondering what i am doing wrong
    1) How do I MOVE images from project to project without duplicating masters or versions
    2) how do I delete versions
    All of my files are referenced.
    *1) moving from project to project*
    I have a blue folder called "NEFs." In it, I have a default project where I just dump all of my images called "00 dump." After I dump them, I organize into other projects. So, I do the following:
    • I create a new project called "2008 Thanksgiving" inside the NEFs blue folder making it a sibling to "00 dump"
    • I go back to "00 dump" select all the images that were shot over thanksgiving, and drag to the "2008 thanksgiving" folder. The images transfer fine, but when I go back to "00 dump" I see that the images have NOT actually moved, they are now sitting in both projects. How can this be? I thought that if I move images from project to project then I am actually moving the master, not replicating a version? That leads me to my next dilemma
    *2) how do I delete versions?*
    Now that I have replicated photos in my "2008 Thanksgiving" project, I want to delete them since I see them still sitting in "00 dump." I do the following:
    • select the "2008 Thanksgiving" project
    • select a number of images
    • press command + delete (this is the only way to delete a file as far as I can tell
    • popup comes up explaining that if I delete this file it will delete the master too and the reference file. So, that's exactly what it does.
    Deleting the referenced file is fine for many junk images, but in this case, I just want to delete the copied version that seems to be in two projects now. Any help would be greatly appreciated. I would really love a full understanding of how this structure works.
    -i

    When you drag images and the drop target is an actual little yellow project box (not a folder, and album or anything else) the images move from one project to another, if your drop target is not the actual project but something else within another project all you do is cause the version to show up there, nothing is duplicated.
    To delete a version or versions selected just use command-delete. This gets rid of the actual version not just removes it from the current album view. If it happens to be the last version of that master it will get rid of the master as well.
    Have a look at this:
    [Aperture 2 Organization|http://photo.rwboyer.com/2008/07/apple-aperture-21-organization>
    RB

Maybe you are looking for

  • Getting an unknown error message when trying to update apps

    I can not download or update any apps. My apple ID comes up and wants me to put in my password. Once I put in the password and click enter I get a message that says unknown error with the options try again or cancel. Try again only leads to another b

  • Play animation that is happening inside symbol_2 by clicking on symbol_1 which is situated in stage

    So basically i want exactly what the title says.I have the stage and two symbols...each symbols contain their own elements.Symbol_1 has some static elements which will act as buttons and Symbol_2 has some images that are animated...at the beginning o

  • After Effects crash to open

    Faulting application name: AfterFX.exe, version: 11.0.4.2, time stamp: 0x52886341 Faulting module name: AfterFXLib.dll, version: 0.0.0.0, time stamp: 0x52888ba6 Exception code: 0xc0000005 Fault offset: 0x000000000072e40f Faulting process id: 0x492c F

  • Automatically create a sales audit follow-up activity

    Hi All, I want to create a follow-up activity as soon as a sales audit is created. any hints on how to achieve this? Regards, Raviraj

  • Where is run_credtool script located?

    Hi Experts, I'm setting up the Weblogic embedded ldap with oracle ODI application login. One step is to: Run the script to set up the credentials for idstore.oid or other LDAP in the identity store: Navigate to where the run_credtool script resides i