Manifest.mf  break lines

I have made a java application and its requires severals libraries to run.
I tried to use a manifest.mf file to determinate the location of these libraries, but, when the jar file was created the line of the classpath, in the manifest file, was broke in the middle of libraries' names and the appliccation can't recognizes the libraries that where after the line break.
I had to copy all the others libraries to the lib/ext directory under the java_home directory in order to application run.
I noticed that the classpath line was being broke in the 70th collumm ever.
I want to know what I could do to solve this problem.
Thanks,
Antonio

You need to understand the specification to understand why your Jar file lines are broken where they are. The important part is that lines are 72 characters or less and are followed by a new line.
Another really important part of the Jar file specification is that the classpath specification tell you what filesystem classes and jars are needed, not jars or classes that are in the Jar itself. I'm not a fan of that at all but that is the way it is.
What is building your manifest? It is best to do it with something like Ant to make sure it is correct.
Need Java help? Want to help people who do? Sit down with a cup of Java at the hotjoe forums.
Sure they're new - come get them started!

Similar Messages

  • Insert a break line in a content of a variable

    Hi all, my problem is:
    I want to put a break line at position 40 of a string (where exist a space), for example.
    DATA: v_string TYPE string.
    v_string = 'testline1_testline1_testline1_testline1 testline2_testline2_testline2_testline2'.
    Because i want a result like this
    testline1_testline1_testline1_testline1
    testline2_testline2_testline2_testline2.
    I tried with cl_abap_char_utilities=>cr_lf but are printing  testline1_testline1_testline1_testline1##testline2_testline2_testline2_testline2.
    I tried too with cl_abap_char_utilities=>new_line but don´t work.
    Tks to all.

    Hi sadavisa,
    follow my program:
    start----
    DATA: gv_string TYPE string,
          gv_result TYPE string,
          gv_len TYPE i,
          gv_div TYPE f,
          gv_num_lin TYPE i,
          gv_len_upd type i,
          gv_position type i,
          gv_count type i,
          gv_40(1) type c,
          gv_39(1) type c,
          gv_38(1) type c,
          gv_37(1) type c,
          gv_36(1) type c,
          gv_35(1) type c.
    gv_string = 'testline1_testline1_testline1_testline1 testline2_testline2_testline2_testline2'.
    gv_len = STRLEN( gv_string ).
    IF gv_len <= 40.
      WRITE gv_string.
    ELSE.
      gv_div = gv_len / 40.
      gv_num_lin = CEIL( gv_div ).
      gv_count = 1.
      WHILE gv_num_lin => gv_count.
        IF gv_num_lin = sy-index. "this code is executed only in the last time
          CONCATENATE gv_result gv_string INTO gv_result.
          gv_count = gv_count + 1.
          CONTINUE.
        ENDIF.
        gv_40 = gv_string+40(1).
        gv_39 = gv_string+39(1).
        gv_38 = gv_string+38(1).
        gv_37 = gv_string+37(1).
        gv_36 = gv_string+36(1).
        gv_35 = gv_string+35(1).
        IF gv_40 = space.
          gv_position = 40.
          PERFORM update_variables USING gv_position.
          continue.
        ELSEIF gv_39 = space.
          gv_position = 39.
          PERFORM update_variables USING gv_position.
          continue.
        ELSEIF gv_38 = space.
          gv_position = 38.
          PERFORM update_variables USING gv_position.
          continue.
        ELSEIF gv_37 = space.
          gv_position = 37.
          PERFORM update_variables USING gv_position.
          continue.
        ELSEIF gv_36 = space.
          gv_position = 36.
          PERFORM update_variables USING gv_position.
          continue.
        ELSEIF gv_35 = space.
          gv_position = 35.
          PERFORM update_variables USING gv_position.
          continue.
        endif.
        gv_count = gv_count + 1.
      ENDWHILE.
    ENDIF.
    write gv_result.
    *&      Form  UPDATE_VARIABLES
          Update variables
         -->P_POSITION  text
    form UPDATE_VARIABLES  using p_position type i.
      CONCATENATE gv_result gv_string(p_position) cl_abap_char_utilities=>cr_lf INTO gv_result.
      gv_len_upd = gv_len - p_position.
      gv_string = gv_string+p_position(gv_len_upd).
      CONDENSE gv_string.
      gv_count = gv_count + 1.
    endform.                    " UPDATE_VARIABLES
    end----
    So my question is why when i write CR_LF on file text go right and when i join into a variable and then write on screen go wrong.
    Tks.

  • How do I set the column content to automatic break lines

    Hello Guys,
    I have a problem with the column width and the column content of a standard report. Within the report are hugh entries which aren't interrupted by an space character. I set my column width to a special value by usingen "css style: display block; width: 300px;". Now the problem is that some of the column entries have a longer width than the column width is setted. So they overlock the entries of the column next to them.
    My question is: How do I set the column content to automatic break lines after a certain count of characters?
    After researching a couple of websites and discussion thread I found maybe a reference to the solution. I hope it help you to give me an answer.
    COLUMN LAST_NAME FORMAT A4
    regards
    wderr

    Wderr,
    PDFs are another animal entirely. Try adjusting the width of the column under the Print Attributes tab of the report.
    If that doesn't work you'll probably need to create custom XSL-FO layouts which, depending on the tools you have at your disposal, could take some time.
    Regards,
    Dan
    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/

  • Send e-mail with a file as attachment - Break line problems

    Hi
    I use the function SO_NEW_DOCUMENT_ATT_SEND_API1 to send an e-mail from ABAP program.
    With SAP4.5B, all work good, but since we have 4.6C, the attached file is malformatted.
    An automatic CRLF break line is generated all 1022 char!
    The eattachment is create from content of internal table with a line of 255 char.
    How can I avoid the automatic CRLF char or how can I to send a good file ?
    Thank

    Hi,
    look here:
    Re: How to email an attachment with more than 255 characters?
    Andreas

  • How to add new price break lines to existing PO quotations?

    Hi,
    I am using a custom interface (to insert quotations data into PO headers/lines interface tables) and PO documents open interface to create PO Quotations in Oracle.
    I need to modify this interface to:
    1. Update existing price break lines for a quotation line.
    2. Add new price break lines to existing quotation line(which may/may not have exsiting price break lines).
    Please let me know:
    1. What modifications need to be done to the existing code.
    2. What values needs to be passed to the action columns in PO_HEADERS_INTERFACE and PO_LINES_INTERFACE for above scenarios?
    Any ideas/help will be appreciated.
    Thanks
    Imran

    Hi Imran,
    I have done a similar exercise for BPA price breakup.. Let me know if you need that as reference. I can share that :).. Please provide your personal mail id..
    Regards,
    S.P DASH

  • How to break lines in JLabel?

    I can use html code to break lines for swing compoent, for example:
    JLabel label = new JLabel("<html>ABC<br>DEF</html>");The thing is that I need to read the content of JLabel from a text file. It doesn't work if I defined the text file as "<html>ABC<br>DEF</html>". How can I let the JLabel support html code which is read from text or property files?

    The origin of the string is irrelevant.
    It make no difference if you get the html from a file ot directly in your code as literal. HTML support in JLabel always works

  • Break line - Interactive report

    Hi,
    The interactive report does not show the ||utl_tcp.crlf||, is there a way to make this line break shown on interactive report? is there any thing I can use to break line will be shown in IR?
    thanks,
    Fadi.

    nferreri wrote:
    This good and all until you try exporting to CSV and see a bunch of <br> in your data. :(
    Going to continue searching to see if there is another option... would like to get line breaks (char 10) working so it's nice in exports but interactive report columns dont allow for CSS formatting either.See +{message:id=10404268}+
    But please: DO NOT post follow-ups to closed/ancient threads.
    Posting follow-ups to ancient threads/departed users is NOT an effective way of getting help:
    <li>Other users may ignore the thread if it is closed.
    <li>Your assumption that the questions are related may be incorrect, leading to confusion about the nature of the problem and potential solutions.
    <li>Watches on the thread will have expired, so the original participants are totally unaware of the new post. They may no longer be active on the forum.
    <li>You have no ability to mark posts as helpful or correct.
    Post your requirements as a new thread, including at least the following information:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Links to related posts and threads (using the methods in the FAQ)

  • Break line in sending mail program

    Hi All,
    I am creating sending mail program, its working fine but  for that i have problem in break line.
    my code is below:
    doc_chng-obj_descr = 'SAP test mail'.
    Mail Contents
         loop at itab..
        CONCATENATE 'sap test mail UPDATED:' ''
      INTO it_objtxt SEPARATED BY space.
      APPEND it_objtxt.
      CONCATENATE 'test1:' SPACE itab-KOKRS
      INTO it_objtxt SEPARATED BY space.
      APPEND it_objtxt.
      CONCATENATE 'test2:' SPACE itab-KSTAR
      INTO it_objtxt SEPARATED BY space.
      APPEND it_objtxt.
      if int = 16.
        CONCATENATE 'test3:' space  itab-objnr
        INTO it_objtxt SEPARATED BY space.
        APPEND it_objtxt.
      endif.
    endloop.
    output is:
    sap test mail
    test1:5000
    test2:0000600100
    test3:371040
    sap test mail
    test1:5000
    test2:0000600100
    test3:362040
    but i want blank line after 1 entry like below
    sap test mail
    test1:5000
    test2:0000600100
    test3:371040
    sap test mail
    test1:5000
    test2:0000600100
    test3:362040
    so please guide me.... i used skip and new-line statement but its not working...
    Thanks in advance
    zeni

    Add a blank line at the end of the loop.
    loop at itab..
    CONCATENATE 'sap test mail UPDATED:' ''
    INTO it_objtxt SEPARATED BY space.
    APPEND it_objtxt.
    CONCATENATE 'test1:' SPACE itab-KOKRS
    INTO it_objtxt SEPARATED BY space.
    APPEND it_objtxt.
    CONCATENATE 'test2:' SPACE itab-KSTAR
    INTO it_objtxt SEPARATED BY space.
    APPEND it_objtxt.
    if int = 16.
    CONCATENATE 'test3:' space itab-objnr
    INTO it_objtxt SEPARATED BY space.
    APPEND it_objtxt.
    endif.
    * Add a blank line
    clear lt_objtxt.
    append it_objtxt.
    endloop.
    Regards,
    Rich Heilman

  • Setting break lines

    Hi all
    I want to know how to insert a blank line between the first line of column labels and lines of column values in a group-left report . And is it also possible to break line between each result set records ?
    Thank you.

    For the blank lines between each record, you will want to modify the Vertical Spaces between Records property on the repeating frame. This will determine how much space is printed between each record. I think it goes by whatever you have in your measurement settings. I just plug in numbers and see how i like it.
    You may also want to try modifying the Horizontal Space property for the repeating frame with the column headings. This may create the space you are looking for.
    This stuff is hard to picture without seeing it, so I'm taking a stab here! And if all else fails, run the report, and when in the live-previewer, set flex mode on, and start stretching your columns/rows to the way you want it!
    Good luck!

  • Break line in status gui

    Hi,
    I need to put a brake line like: |
    between some buttons of status gui toolbar. I tried some way but I miss. help
    thx
    mk

    U say "break line",is it a seperator?
    If YES,then u may assign the property of the menu item to be a seperator.It is displayed as the seperator of the WINDOWS.
    Hope this can help u.

  • How to print break line in jsp.

    in jsp where a bean.getProperty() value has a broken line. but it displays as a single line in the web page. when printing the line by System.out.println() statement, it displays as a verious new line where '\0' is applied but in jspbean.getProperty it does not.
    For example :
    It displays by SOP()statement as
    Successful
    No error
    No restarts
    No marked completed
    but in web page it displays as
    Successful No error No restarts No marked completed.
    please provide the code that support in jsp file so that the output statement should like as SOP()statement output type.
    Thanks in advance.
    Uttam

    I guess you want to display CRLF (\r\n) in JSP?
    Line breaks in HTML are generally represented as < br >.
    You have 3 options:
    1) replace CRLF by < br >.
    2) style the line using CSS with 'white-space' set to 'pre'.
    3) surround the line with the HTML < pre > tag.

  • Upload IT1002 description auto break lines

    Hello,
    I am using LSMW to upload IT1002 - description.
    Below is free text I need to transfer.
    "Develop, manage and implement all Brand research projects requiring support and leadership.
    <br>Specifically manage research requirements arising from pre-launch and post-launch phase which will include qualitative and quantitative projects. <br> Working alongside the team and in collaboration with all Group Brand stockholders.
    I would like to break the text into several lines when below conditions match -
    1. when text length = 79
    2. when '<br>'  string is found.
    Any idea?
    Thanks a lot.

    closed.

  • Creating a break line in cf

    Hello,
    #chr(13)##chr(10)#  or  chr(13) & chr(10) not creating line break in coldfusion.
    Can anybody help please ?

    #chr(13)##chr(10)#  or  chr(13) & chr(10) not creating line break in coldfusion.
    How are you arriving at this conclusion?  Where's some code that demonstrates this?
    You should perhaps read these:
    Centric to these forums: http://forums.adobe.com/thread/607238
    More general: http://www.catb.org/~esr/faqs/smart-questions.html
    Adam

  • Breaking line in column header

    Hi,everybody
    How can I break the line in column header for two lines?
    Regards,
    Michael

    Hi michael,
    As per my knowledge the webdynpro accomodates the text you given as column header.I did so many experiments on this in my previous developement.There is no option to break the column header.See one thing if the number of columns are more in your table and the headers are too large and if you restrict the table size then this might will break the column header because of  table width.I am not sure.But there is no options to control this by the developer.This is totally the results of my experiments.If you acheive this please give me the procedure.
    Thanks and regards
    venkatakalyan K

  • Break line in SQL report

    Hi,
    I am using APEX 4.0 ver .I have created SQL report with 1 column and its looks good but problem is, This columns has huge amount of data for example 1000 words and in the report it is displaying like *****************************************************************
    so, i dont want to display continous words and i want to display the data like ********************
    How could i break the contonous line and display the same in multiple lines.
    thanks in advance.
    Regards
    Narender B

    Hi Aditya,
    Am using following query in sql report
    SELECT message ||' Updated BY ' || user_name || ' On ' || to_char (last_update_date,'MM/DD/YY') message
    FROM TEST .
    This message column has huge data with spaces like *abcd xxxxx yyxs xxxxxx ttttttt abchd ddfjkllglrhr[kng;lrthrthkmrp gkjoph fegjhgignrtmblk*  and this huge data not able to fit in the screen so, we need to create multiple lines to fit in the screen.
    How can i create multiple lines in report.
    Thanks
    Narender B                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Is there a way to password protect a photo page in iWeb?

    My website is open to whoever wants to look at it but I do photography work for clients and would like to password protect their photos. Is there anyway I can password protect just my photo gallery page in iWeb? Thanks!

  • SRM, MDM, ECC integration for central contract management.

    Hi there, I am questioned by a client with respect to the possibility of the following scenario - 1. There are several SAP back end systems in place. 2. SRM 7.0 will be implemented as single sourcing system. 3. The SAP back end systems carry differen

  • Is it possible to customize the size of my iMovie '11 project?

    I'm currently editing a video for a client that's sized irregularly - 1016x668 pixels. Ideally I would like it to be kept at the same size once I'm done with the editing. Is that possible to do in iMovie '11?

  • How to re-install Safari 3?

    Hi, I need to use a web-based conferencing application called Elluminate, which is widely used in further education. Since installing Safari v 4, it no longer works. I have to use it via Internet Explorer on Windows XP under Parallels! I downloaded t

  • Update from 10.2.8 to 10.3 Can't Install

    Hello, I have been trying to upgrade an EMac from 10.2.8 to 10.3. I have the full install package for 10.3. I have tried now 3 times to update (I do not want to start from scratch) and each time it runs the installation on Disk 1, then when it confir