How to export war files without including the library files

Hi,
I have several portlets that share the same jar files. In my tomcat, I'd like to load those jar files from shared/lib when tomcat starts up. Currently, to accomplish this, I export the war file from jsc, deploy to tomcat, then manually delete the jar files from WEB-INF/lib.
Is there a way I can modify some property file so that my war file does not include the shared libraries?
Thanks,
Marc

Hi!
Rightclick project's root node in Projects window and select Properties. Then go to Build->Packaging and remove unnecessary libraries.
Thanks,
Roman.

Similar Messages

  • How can I start Fireworks without openig the last Files

    Hi,
    I need to open Firewrks without opening the last File I'm working on.
    The Problem is that the programm crashes by starting and automatically opening the last pictures.
    Any idea?
    Kind Regards

    You could try the solution mentioned in the following forum thread:
    http://forums.adobe.com/thread/1193088?tstart=0

  • How to update my ipod without deleting the old files?

    i have 2 pc and different songs on them..but whenever i want to update my ipod from the second one ..it keeps telling that my ipod is linked to another itune and uploading will delete the old file..would someone tell me how to go around it?..thanks
      Windows XP Pro  

    Connect your iPod and when you get the message that it is linked to a different library and asking if you want to link to this one and replace all your songs etc, press *No*. Pressing "Yes" will irretrievably remove all songs from your iPod. Your iPod should appear in the iTunes source list from where you can change the update setting to manual as per the link below.
    You can also use a keyboard command to prevent your iPod auto-syncing with iTunes. While connecting the iPod to the computer on Windows hold down the Shift + Ctrl keys (on a Mac hold down the Option and Command (⌥ and ⌘) keys). This will stop the iPod from auto-syncing with iTunes and the iPod will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go. This may take between 20 to 30 seconds depending on your computer. Then go to Edit>Preferences>iPod and check the "Manually manage songs and playlists" box: Managing Your Songs Manually

  • Importing .MOD files without having the .MOI files

    Hi
    I have a Panasonic sdr-s100 which records MPEG2 video in the .MOD/.MOI format onto sd cards.
    Apart from the current 40+ restriction issue (see other posts), iMovie 08 imports new footage perfectly fine from my sd-card through my card reader.
    The real problem I am having is with the older footage I recorded over the last year and a half. You see, I deleted all the .MOI files which were - until iMovie 08 got released - commonly regarded as useless once you had the movie/.MOD files on your hard drive. It was assumed these were only needed by the camcorder. How wrong we all were!!
    So now I am having these neatly organized folders on my hard drive (100GB>) containing just the .MOD files, which iMovie refuses to recognize under File>Import. Copying the .MOD files back to an sd-card seemed like another option but iMovie 08 needs the accompanying .MOI files for the "Camera detected" message to pop up.
    There is another thread (on which I have also posted), where we are trying to find some way to regenerate those .MOI files or use other similar methods, but none are really successful as yet. We also contacted JVC and Panasonic but it is not looking good so far. See here: http://forums.macosxhints.com/showthread.php?t=77489
    Ideally, iMovie 08 would import my .MOD files straight from my hard drive without the need for .MOI files and simply use the .MOD's date modified info as the time stamp within iMovie 08. I do not wish to go via the DV route and re-import etc as it is way too time-consuming.
    Has anyone got any other tips or similar problems? In the meantime I have sent this issue to Apple Feedback.
    Message was edited by: RafDam

    MP_Root (at the root level of the card directory structure) and putting a folder 101PNV01 inside the MP_Root folder. I then put some mpg-2 file in the 101PNV01 folder, started iMovie '08, inserted the flash card and had the files recognized so I could import them.
    Great. This works!
    Here is what I did (and this should work for anyone who has old .MOD files but no longer has the accompanying .MOI files):
    Like F Shippey stated
    1) Create a root folder on your sd card (in my case, via a USB card reader) or USB stick (not tested) called Mp_Root.
    2) Inside this folder create another folder called 101PNV01.
    3) Rename the extensions of all your .MOD files to .MPG and copy them inside the 101PNV01 folder.
    4) Restart iMovie08. It will now detect a new camera and import all clips using the date created/modified info as timestamps for perfect cataloging!
    iMovie 08 does NOT re-encode the movie files, which is great cos it's very quick plus you retain 100% the original quality. It simply puts them in a .MOV container and creates a separate movie file for the thumbnails.
    Thanks for your help F Shippey!

  • RoboHelp 10:Did Adobe change how RoboHelp 10 handles CSS stylesheets in the .htm files that are generated?

    I work on Java application that utilitzes the .chm and .jar file (which include the .htm files) to display our applications help documentation. We recently upgraded from RoboHelp 8 to RoboHelp 10. The .htm files that were generated with RoboHelp 8 display fine. However, the new .htm files generated by RoboHelp 10 seem to ignore the CSS stylesheets used. I compared one of the .htm files from RoboHelp 8 to the same .htm file in RoboHelp10. I did notice differences within the files. Can you tell me what the differences are, regarding the usage of CSS stylesheets, between RoboHelp 8 & RoboHelp 10?
    Thank you.

    You need to post a bug report to get Adobe's attention. This is a user to user forum. Please follow this link.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    Not sure but I believe it may be a bug in the Microsoft Help Compiler over which Adobe have no control. Microsoft last updated in 2004. Good luck!
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Restoring backup files from Time Machine without system preference/Library files

    Hi all. I recently ran into some trouble with my MBP and had the Apple store do a erase/install for me. At the time when I got my laptop back, I was told it would be best if I transferred my files including applications the drag and drop way to avoid restoring library/system files that could've been the cause of the problem in the first place. I'm currently still at the setup assistant stage and I'm really unsure of what to do to be honest because I'm under the impression that my application settings would pretty much be gone if I did the drag and drop method.
    I read that setup assistant transfers only files that you want but I also read something from user Pondini that the Library files are automatically restored even if I unchecked everything. Which is problematic since that's what I want to avoid in the first place. If possible can anyone recommend a better option for my dilemma? I've read in one of the forum boards that dragging and dropping files can also cause some problems with how applications will work and I really don't want to have to deal with that after the trouble I'm going through with this. Is there a way to just restore Applications and the user folder (desktop, documents, downloads, etc) without including the library system files and folders through setup assistant?
    Or do I really have to deal with dragging and dropping files instead? Would you recommend doing the stars wars method of Time Machine and picking only the files I want? Would that be most advisable?
    Also, it would be really helpful if anyone can explain to me what the "other files and folders" mean exactly. Thanks very much!

    Well what happened was my laptop ran into 2 kernel panics within 2 days (I posted a question here: https://discussions.apple.com/message/25605663#25605663). Which sent ME into a panic. I couldn't trust myself to go any further so I went to the Apple store who then helped did an erase/install for me because they suspect it could be a software issue (maybe it was missing codes or something) and suggested that it would be best for me to drag/drop restore my stuff manually. I'm not very keen on a full system restore either because I know there are some system files which I'd rather not have sticking around (like com.rims which are super stubborn to get rid of) and which could even have been the source of my trouble right now.
    I was reading through every single page of Pondini's articles and I'm couldn't find anything which said I could just restore the apps in my apps folder without transferring anything else (ie. the library folder in the macintosh hd folder) since i'm assuming anything from the library folder of the user would be obsolete if I choose not to restore those files using setup assistant. But I'm more reluctant about not using setup assistant for restoring my apps because I don't know how bad it will turn out. Not to mention I won't know if they would restore system root files that should've been long gone since I uninstalled them.

  • How to export the text edit data to excel file without splitting the data in excel file?

    how to export the text edit data to excel file without splitting the data in excel file?
    I have a requirement in SAP HR where in the appraiser can add comments in the area given and can export that to excel file. Currently the file is getting exported but the comments getting split into deifferent rows.
    I want the entire comment to be fit in one row.
    Please help.
    Thank you

    Hi,
    if your text edit value is stored in 'lv_string' variable.
    then before exporting the value to excel you have to remove CL_ABAP_CHAR_UTILITIES=>NEWLINE
    that is '#' from the variable lv_string.
    for that use code some thing like this.
    REPLACE ALL OCCURRENCES OF CL_ABAP_CHAR_UTILITIES=>NEWLINE in lv_string WITH space.
    I think this will do the trick.

  • Deploying the new war file without stopping the server

    How can i deploy my updated application war file without stopping the server as the user sessions in my application and transactions as well as users request has to be carried out during the deploy process.
    Edited by: Kaywin on Jan 28, 2008 10:39 AM

    You can update web application via Administration GUI and then deploy the configuration. You don't have to restart the server for it. Assuming you are using 7.0 u2, follow the steps as below to update the web application:-
    - Login to Administration Console
    - Go to Virtual Servers tab under a Server Configuration, for deploying a web application (Configurations -> <config_name -> Virtual Servers -> <vs_name>)
    - Click on Web Applications tab and check the web application in the "Web Applications" table and then click on Update button.
    - Point to the updated war file in the pop up and click ok
    - Now just deploy the configuration by clicking on "Deployment Pending" link on the top right of the page
    Here is the docs page which has more information about web application deployment -
    http://docs.sun.com/app/docs/doc/820-2202/gbrmp?a=view
    Hope this helps

  • How can I create a URL for a PWA for MS Project Server 2010 project file that includes the view?

    Hi, this question has been answered for 2013. The answer here suggests that it can be done in  2010.
    See:
    http://social.technet.microsoft.com/Forums/projectserver/en-US/3affdc4f-36bf-4381-8b75-27c73465efd4/action?threadDisplayName=how-can-i-create-a-url-for-a-pwa-for-ms-project-server-2013-project-file-that-includes-the-view
    Who knows how?
    Regards
    Sander

    Hi Sander,
    As far as I tested it, it is not possible either with PS2010. The URL only contains the PDP name and the projUID.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • I have a Windows 7 laptop using I tunes 64 and all my music files are on an external disc. I rarely use I tunes and at one point moved all my files (including the music files) from one external disc to another without considering what affect this wou

    I have a Windows 7 laptop using I tunes 64 and all my music files are
    on an external disc. I rarely use I tunes and at one point moved all my files
    (including the music files) from one external disc to another without
    considering what affect this would have on the I tunes library. When I eventually
    attempted to use I tunes, every selected a song from the library resulted in a
    message stating that the file couldn't be located. After following some of the procedures
    explained in this community I was able to reconnect the library back to where
    the associated music files are presently stored. However, there are still 2
    problems that need to be corrected. 1) Every song file now has a duplicate. One
    file works and the other file will result in the same message stating that the
    file couldn't be located. Before there were 4,000 songs in the library, now
    there are 8,000 songs. I need to eliminate the 4,000 dead song files. 2) All
    the playlists are still associated with the dead song files which makes the
    playlists unusable. Can the playlists be reconnected to the usable files
    without manually having to recreate them? Thanks in advance for the help.
    sdkr

    So am I understanding correctly?
    You used your iPod as a hard drive (drag and drop) instead of having iTunes install the music?
    If you used drag and drop your choices are different than if you used iTunes to transfer.
    Good luck!

  • How to AVDocGetPDDoc without opening the pdf file

    Hi all,
    how to AVDocGetPDDoc without opening the pdf file in acrobat plugin sdk.
    Regards,
    JK

    thanks for ur reply, now its fine.

  • How to change the width for adf shuttle without modify the skin file

    Dear Professionals
    I haven an ADF Shuttle component in my jsp screen , How can i change the width for the two boxes without modify the skin files.(I know i can do that by skin but what i want to change one shuttle just in one screen not change all shuttles on other screens).
    Regards
    Wish79

    Okay, I didnt try with the trinidad selectmanyshuttle, but this worked for me on the af:selectmanyshuttle..
            <af:selectManyShuttle label="Label 1" styleClass="mycustcss">
              <af:selectItem label="Label1" value="value1"/>
              <af:selectItem label="Label2" value="value2"/>
            </af:selectManyShuttle>
            <af:selectManyShuttle label="Label 1">
              <af:selectItem label="Label1" value="value1"/>
              <af:selectItem label="Label2" value="value2"/>
            </af:selectManyShuttle>        And in my css file, I have
    af|selectManyShuttle.mycustcss::content { width: 800.0px;}
    The first selectManyShuttle came up very wide and the second one came up in the default width..
    Julian.

  • How to name individual clips without changing the name of the original file...?

    Hi,
    Theres likely to be a really simple solution to this, but i can't find it! I've done my in & out points, i've created a new clip and i'd like to give it a unique name. When i rename the clip the original file name also changes. How can i rename the new clip without changing the original file name?
    Please help,
    Thanks
    Ed

    Either make the clip a subclip or convert it to a new master clip. Both can be done in the Modify menu.

  • How can i add new files to my ipod from a different computer  without losing the added files on my ipod?

    how can i add new files to my ipod touch from a diferent computer without losing the added files already on my ipod?

    Email them? Use DropBox?  What type of files?

  • Simply put, I do not like like the new color coding "dots" and I do not like having to press the Command key before double clicking to open files in a new window. How hard would have been to include the old version of these two features?

    Simply put, I do not like like the new color coding "dots" and I do not like having to press the Command key before double clicking to open files in a new window. How hard would have been to include the old version of these two features?

    Apple - Mac OS X - Feedback

Maybe you are looking for