facebook

Tag library project request

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #267454 Reply

    erjablow
    Member

    Would it be possible to divorce the tag library part of a project from the web part? Here’s what I mean.

    I have a few web projects that will require a tag library I want to write. Also, I want to test the library with TagUnit. If I create an ordinary Java project for the tag library, I won’t have the XDoclet integration available to me. If I create a MyEclipse Web Project, I get the entire WebRoot structure attached to it, and everything gets generated to it. I’d just like to create a jar file and tld file:

    src/
        com.erjablow.taglibs.example
             ExampleTag
             ExampleTEI
    bin/ 
        com.erjablow.taglibs.example
             ExampleTag.class
             ExampleTEI.class
    dist/
        example.jar
        example.tld

    I’m not sure how one does this without creating a web project and picking it apart. Adding a TagUnit support plugin might be good too.

    #267475 Reply

    Riyad Kalla
    Member

    I have a few web projects that will require a tag library I want to write. Also, I want to test the library with TagUnit. If I create an ordinary Java project for the tag library

    Sure, you did exactly the right thing. Just use a plain Java Project.

    If I create an ordinary Java project for the tag library, I won’t have the XDoclet integration available to me.

    Yes, it’s still there. Just look under Project Properties > MyEclipse > XDoclet. You should be all set.

    #267510 Reply

    erjablow
    Member

    You’re right. I just had to look further, and when I set up the XDoclet configuration, I needed to enter the fileset entries appropriately. A MyEclipse Web project would have filled them in automatically, so I needed to reproduce that.

    Sorry for wasting your time.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Tag library project request

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