facebook

Add tld to jar file

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    don_t
    Member

    I have MyEclipse project with settings as such

    
    Project
    + src
      + com ...
    + META-INF
      + tagdefs.tld
    

    When I build a JAR file the /META-INF/tagdefs.tld file is missing. Is there a way to include this .tld into the JAR file and how do I do that? Thanks.

    #229506

    Riyad Kalla
    Member

    Is this a normal Java project? How are you building the JAR? What version of anything are you using?

    #229512

    don_t
    Member

    The project above is a required project packaged as JAR file for another J2EE project. I use MyEclipse -> Add/Remove Project Deployments to deploy the J2EE project to Tomcat 5. Eclipse and MyEclipse versions are:

    Eclipse Java Development Tools
    Version: 3.0.1
    Build id: 200409161125

    MyEclipse Application Server Tooling
    Version: 3.8.4
    Build id: 200501171200-3.8.4

    java.version=1.4.2_06

    #229514

    Riyad Kalla
    Member

    The project above is a required project packaged as JAR file for another J2EE project.

    Ahh in that case MYEclipse is packaging the JAR from the project’s output dir, so what you need to do is move META-INF into the root of your source tree, then Eclipse will copy it (as is) to your output dir, so your resulting JAR packaged by MyEclipse will contain the META-INF dir.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Add tld to jar file

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