facebook

linked WebRoot ? [Enhancement]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #202201 Reply

    Ivar Vasara
    Member

    Um, maybe I’m missing something obvious, but is there any way to set a Web Module project’s WebRoot directory to be a linked resource ?

    If I create a Web project, link my desired directory, then use the project properties panel to explicitly set the Web Root, it accepts my specification but doesn’t seem to do anything about it. As well, when I delete the “WebRoot” folder it immediately reappears, not to mention the files in my linked folder are highlighted with errors as they aren’t under the web root.

    #202266 Reply

    support-michael
    Keymaster

    We have a PR on this. Linked web-root folders are not yet supported. I believe we are going to try and address this in ME 2.8/3.8.

    #202269 Reply

    Ivar Vasara
    Member

    @support-michael wrote:

    Linked web-root folders are not yet supported.

    doh! I was afraid you were going to say that…
    @support-michael wrote:

    I believe we are going to try and address this in ME 2.8/3.8.

    I’ve played around with my project.xml trying to mess around with resources, but I haven’t got anything working.. is there any possibility of a some sort of workable kludge until official support is in ? ( It’s a show stopper for me given my project’s directory structure.)
    Also, (if it makes any difference) consider this to be two votes for this RFE (I have a personal license + a work license…)

    #202270 Reply

    Ivar Vasara
    Member

    btw- what does ‘PR’ mean ? (besides praseodymium, payroll, public relations,proportional representation, Puerto Rico, packet radio) 😉

    #202272 Reply

    No Operation
    Member

    cant you use filesystem links?

    NOP

    #202284 Reply

    Riyad Kalla
    Member

    ivar,
    I think it means Problem Report, also did NOP’s suggestion work?

    #228783 Reply

    vagamond
    Member

    Any news on this issue? it seems still not possibile to set a Linked resource
    as default path for WEBROOT or SRC

    Regards

    #228785 Reply

    Riyad Kalla
    Member

    I just tried this, and you can make it work, it just required some creativity.

    1) Create your web project
    2) File > New > Folder > Linked, make your linked folder in the root of the project
    3) Copy ALL the contents of your old WebRoot folder into the new linked folder
    4) Project Properties > Java Build Path > Source > Change the output DIR to point to the “classes” dir under your new web root, not the old one.
    5) Switch to navigator view, open .mymetadata and change the value of the “webroot” to whatever the name of your new dir is.
    6) Close and reopen the project, erase the old webroot.

    #228789 Reply

    vagamond
    Member

    Riyad,

    I was aware of this kind of workaround. However I’m looking for something simpler.
    I cannot suggest that to 200 users…
    I must use the following subdirectory to be compliant to our VOB structure:
    -PROJ
    —BIN
    —SRC
    —WORKAREA

    so it would be nice to put .java in SRC, classes and webroot in BIN and metadata in WORKAREA
    I also tried to put the project in WORKAREA and to
    specify ..\..\SRC\EJB and ..\..\SRC\WEB for EJBModule and WARModule without any luck. 😐

    Any Suggestion???
    Regards

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: linked WebRoot ? [Enhancement]

You must be logged in to post in the forum log in