-
1. Re: need help on import tld file
akazakov Nov 6, 2008 7:10 AM (in response to skyon)Where is your tld placed? Browse TLD dialog looks only in jars and tlds in class path (including web-inf).
Just drag your TLD file and drop it to the Palette if you have it outside class path. -
2. Re: need help on import tld file
skyon Nov 6, 2008 10:42 AM (in response to skyon)the TLD file is packaged into a jar, in the /META-INF/ folder, and the jar is in the classpath.
I also tried to put the TLD file directly into /lib path of my project and add it to the build path, but the import dialog is not able to discover it.
BTW I am using eclipse 3.4.1 and Jboss tools 3.0.0 Beta 1
I had the same issue in eclipse 3.3 and tools 2.1.0GA -
3. Re: need help on import tld file
akazakov Nov 6, 2008 11:12 AM (in response to skyon)Can you report it to the jira? And attache sample project to help us to reproduce it.
-
4. Re: need help on import tld file
skyon Nov 6, 2008 12:11 PM (in response to skyon)I got my problem worked around.
Basically it is not finding any of the TLD files because my projects are not considered having JSF capabilities. (they are existing projects setup using SEAM, facelets and richfaces).
Following akazakov's suggestion creating a sample project I used JBoss Tools to generate a JSF project. And it worked this time. The good thing is that after I loaded the TLD file I deleted the testing project and it still works.
So I am good with it now.
Thanks a lot akazakov. -
5. Re: need help on import tld file
maxandersen Nov 7, 2008 5:12 AM (in response to skyon)Alexey, is there any reason why we require the TLD files to be in a JSF project ?
-
6. Re: need help on import tld file
akazakov Nov 7, 2008 6:37 AM (in response to skyon)Our Import TLD Dialog shows the tree of jboss tools web projects (with jsf or struts nature). So if the project doesn't have jsf (or struts) nature then we don't gather TLDs from such projects. But it is possible to look for all tlds from all WTP projects. It's a feature request.
-
7. Re: need help on import tld file
maxandersen Nov 7, 2008 6:55 AM (in response to skyon)If our backend just need a TLD location then no reason to limit to specific project types IMO