Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[15:50:15 CDT(-0500)] <jwennmacher> OK reread what you said. Yes I was planning on marking the dependency as provided

[15:50:39 CDT(-0500)] <EricDalquist> <dependency>

[15:50:39 CDT(-0500)] <EricDalquist> <groupId>org.apache.portals.pluto</groupId>

[15:50:39 CDT(-0500)] <EricDalquist> <artifactId>pluto-taglib</artifactId>

[15:50:39 CDT(-0500)] <EricDalquist> <version>2.1.0-M3</version>

[15:50:39 CDT(-0500)] <EricDalquist> <scope>provided</scope>

[15:50:39 CDT(-0500)] <EricDalquist> </dependency>

[15:50:40 CDT(-0500)] <jwennmacher> So I assume I'm safe in the portlets with using the 2.1.0M3 version

[15:50:49 CDT(-0500)] <EricDalquist> that is all you should add

[15:50:53 CDT(-0500)] <EricDalquist> and it MUST be provided scope

[15:50:55 CDT(-0500)] <jwennmacher> Yep that's what I planned on doing

[15:50:59 CDT(-0500)] <jwennmacher> yes

[15:51:06 CDT(-0500)] <EricDalquist> the danger is if you include any pluto jars in your WAR file

[15:51:17 CDT(-0500)] <jwennmacher> agree

[15:51:43 CDT(-0500)] <jwennmacher> Cool. I'll go ahead and add the dependency then. Thanks!

[15:52:20 CDT(-0500)] <EricDalquist> yup

[15:52:38 CDT(-0500)] <jwennmacher> EricDalquist: Separate note ... just out of curiosity. Are you using eclipse and do you know if it gives you code completion of the portlet tags in the portlet projects?

[15:52:46 CDT(-0500)] <EricDalquist> hrm

[15:52:47 CDT(-0500)] <EricDalquist> yes

[15:52:49 CDT(-0500)] <EricDalquist> and ....

[15:54:20 CDT(-0500)] <EricDalquist> yes

[15:54:25 CDT(-0500)] <EricDalquist> once I added the pluto taglib jar

[15:54:29 CDT(-0500)] <EricDalquist> I'm on juno

[15:54:32 CDT(-0500)] <EricDalquist> (4.2)

[15:54:36 CDT(-0500)] <EricDalquist> using the latest m2e plugin

[15:54:39 CDT(-0500)] <EricDalquist> which is all fairly new

[15:54:47 CDT(-0500)] <EricDalquist> but it is finally easy to install

[15:54:53 CDT(-0500)] <EricDalquist> and all the m2e extensions are baked in as well

[15:55:03 CDT(-0500)] <jwennmacher> Just curious. I'm using intelliJ and it has a deficiency right now. Because the includes use jsp:directive.include instead of <%@ include file=""/> as the include directive format intelliJ doesn't go statically include the file and doesn't know the taglibs. That is a bug/feature enhancement I submitted to JetBrains to fix (smile)

[15:55:17 CDT(-0500)] <EricDalquist> ah

[15:55:46 CDT(-0500)] <EricDalquist> the one I tested does

[15:55:46 CDT(-0500)] <EricDalquist> <%@ include file="/WEB-INF/jsp/include.jsp" %>

[15:55:53 CDT(-0500)] <jwennmacher> Not a big deal; I just include it and strip it out before I check it in. Hoping they fix it though

[15:56:02 CDT(-0500)] <EricDalquist> and that is how it really should be included

[15:56:11 CDT(-0500)] <EricDalquist> no need to do a dynamic include of essentially the imports

[15:57:03 CDT(-0500)] <jwennmacher> If you try Calendar or Courses they'll use the jsp. directive. include. Both of the directive types are equivalent (and static)

[15:57:23 CDT(-0500)] <jwennmacher> jsp. directive. include and <%@include%> that is

[15:58:09 CDT(-0500)] <EricDalquist> ah

[15:58:10 CDT(-0500)] <EricDalquist> ok