facebook

sharing resources between different eclipse projects ?

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #280831 Reply

    edbras
    Member

    Hellu,

    How can I share different web resources like css and images between different projects, such that the are located in the other project in a sub pacakge.

    Suppose:
    project Share and project NeedShare:
    Share source dir: src/com/some/public/resources
    NeedShare source dir: src/com/some/public/login/….
    The NeedShare project want the dir of Share to be copied to his own source or target dir.

    I am familar with he “link source” and class folder options to add a source or class path folder, but this doesn’t exactly copy the source/target files to the other project.

    With sharing resources like css and images, I need them to be exactly present (instead of java files) in the location I want, as in my public sub pacakge (in case of a GWT project). Otherwise I can’t test the web page, as it will then miss some resources…

    With the link source option I can only link a source folder from another project to the root of my project, whereas It needs to be linked to a certain subpackage like public ….

    I can also be that the resources are copied to the target/bin of my project, but I don’t seem to be able to manage that, also not with adding a class path folder as library ….

    Please some advice on how to do that.. ??

    I was thinking of making an ant file and adding that as a builder, such that the files are automatically copied from the shared resource project to my own project.. but I can’t imagine it can’t be done more easily ?
    So the builder will basically take care of copying the sources to an additional target/bin directory instead of the normal default one…

    I hope my problem is clear…

    Please some feedback ?

    Regards,
    Ed Bras

    #281018 Reply

    Loyal Water
    Member

    We don’t support automating shared resources in any way, so your idea of using Ant is actually a good one.

    #281023 Reply

    edbras
    Member

    Ok, thanxs, was afraid of it.

    BTW: your website is always very slow from Holland… And it’s common to get a white page and I have t refresh the page to get it correct. (also on my other computer).

    Cheers,
    Ed

    #281127 Reply

    Loyal Water
    Member

    Ed,
    I’ll ask the network admin to take a look at this issue.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: sharing resources between different eclipse projects ?

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