<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Object Mentor Blog: Jasper: Problem resolved?</title>
    <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Jasper: Problem resolved?</title>
      <description>&lt;p&gt;After digging around in the Jasper source code, and fiddling hither and yon with various build.xml configurations, I finally (and quite by accident) hit on the solution to my trouble&amp;#8230;&lt;/p&gt;


	&lt;h2 style="text-align:center;"&gt;Grumble!&lt;/h2&gt;


I don&amp;#8217;t know why this works, but it does.  If any of you out there are having trouble precompiling your jsps that use custom tags this might help.  
&lt;pre&gt;&lt;code&gt;
  &amp;lt;target name="jsp" depends="dist"&amp;gt;
    &amp;lt;delete dir="${basedir}/testjsp"/&amp;gt;
    &amp;lt;java classname="org.apache.jasper.JspC" fork="true"&amp;gt;
      &amp;lt;arg line="-v -d ${basedir}/testjsp -p com.objectmentor.library.jsp -mapped -compile -webapp ${build.war.home}"/&amp;gt;
      &amp;lt;arg line="WEB-INF/pages/books/manage.jsp"/&amp;gt;
      &amp;lt;classpath&amp;gt;
        &amp;lt;fileset dir="${catalina.home}/common/lib"&amp;gt;
          &amp;lt;include name="*.jar"/&amp;gt;
        &amp;lt;/fileset&amp;gt;
        &amp;lt;fileset dir="${catalina.home}/server/lib"&amp;gt;
          &amp;lt;include name="*.jar"/&amp;gt;
        &amp;lt;/fileset&amp;gt;
        &amp;lt;fileset dir="${catalina.home}/bin"&amp;gt;
          &amp;lt;include name="*.jar"/&amp;gt;
        &amp;lt;/fileset&amp;gt;
        &amp;lt;fileset dir="${build.war.home}/WEB-INF/lib"&amp;gt;
          &amp;lt;include name="*.jar"/&amp;gt;
        &amp;lt;/fileset&amp;gt;
        &amp;lt;pathelement location="/Developer/Java/Ant/lib/ant.jar"/&amp;gt;
      &amp;lt;/classpath&amp;gt;
    &amp;lt;/java&amp;gt;
    &amp;lt;jar jarfile="${build.jar.home}/jsp.jar" basedir="${basedir}/testjsp" 
         includes="**/jsp/**/*.class" 
      /&amp;gt;
  &amp;lt;/target&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
Notice the &lt;strong&gt;second&lt;/strong&gt; &lt;code&gt;&amp;lt;arg&amp;gt;&lt;/code&gt; tag.  If you put the file name of the jsp you want to compile on the command line, it compiles the jsp correctly.  If you leave it off, then even though all the documentation says that it will scan for all the jsps in the web app and compile them correctly, it will do the former, but not the latter.  It &lt;em&gt;will&lt;/em&gt; find all the jsps, but it &lt;em&gt;wont&lt;/em&gt; compile them correctly.  It will fail to statically initialize the &lt;code&gt;_jspx_dependants&lt;/code&gt; variable in the generated code.

	&lt;p&gt;I am not at all sure why the compiler behaves this way.  I looked at the Jasper code, but I didn&amp;#8217;t feel like working my way through it to debug it.  There is some funny business in the &lt;code&gt;JspC.locateUriRoot&lt;/code&gt; function where it writes the file path of the file argument on top of the &lt;code&gt;uribase&lt;/code&gt; command line argument.  That might be the problem.  But I&amp;#8217;m not at all sure.&lt;/p&gt;


	&lt;p&gt;Anyway, there&amp;#8217;s a new unit test for someone to write.  (sigh).&lt;/p&gt;


	&lt;p&gt;Now I can write my unit test!&lt;/p&gt;


	&lt;p&gt;&lt;span class="caps"&gt;BTW I&lt;/span&gt; am using Tomcat 5.5.20&lt;/p&gt;</description>
      <pubDate>Thu, 08 Feb 2007 19:29:42 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:17b3cdf9-7800-4896-87cc-4fa92e0470fa</guid>
      <author>Uncle Bob</author>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved</link>
      <category>Uncle Bob's Blatherings</category>
      <trackback:ping>http://blog.objectmentor.com/articles/trackback/151</trackback:ping>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by coach outlet uk</title>
      <description>&lt;p&gt;Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something.&lt;/p&gt;</description>
      <pubDate>Mon, 06 Feb 2012 18:55:07 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:cace4e54-25b4-40a4-889a-ca2c358af5d9</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-201972</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by burebrry outlet</title>
      <description>&lt;p&gt;Mr. Woodhouse had been safely seated long enough to give the history of it, besides all the history of his own and Isabella&amp;#8217;s coming&lt;/p&gt;</description>
      <pubDate>Thu, 29 Dec 2011 20:42:25 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:047c0e77-1566-47e4-9e9d-0f1fd58db295</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-193437</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by Nike Shoes Australia</title>
      <description>&lt;p&gt;I just came here by the current wave, I like it here, including friends and articles. People think this post is very interesting, is also valuable, thank you for sharing, everyone enjoy the fun!&lt;/p&gt;</description>
      <pubDate>Fri, 04 Nov 2011 05:04:07 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:838590a2-d476-4043-8fe1-abe6dc9a5972</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-168268</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by christian louboutin</title>
      <description>&lt;p&gt;t&#8217;s good to see this information in your post, i was looking the same but there was not any proper resource, thanx now i have the link which i was looking for my research.&lt;/p&gt;</description>
      <pubDate>Thu, 03 Nov 2011 11:55:57 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:15834bf5-c489-44bb-9764-54eecf7a2fa9</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-167750</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by christian louboutin</title>
      <description>&lt;p&gt;The professional design make you foot more comfortable. Even more tantalizing,this pattern make your legs look as long as you can,it will make you looked more attractive.Moveover,it has reasonable price.If you are a popular woman,do not miss it.&lt;/p&gt;


	&lt;p&gt;Technical details of Christian Louboutin Velours Scrunch Suede Boots Coffee:&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;Color: Coffee
Material: Suede
4(100mm) heel
Signature red sole x&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;Fashion, delicate, luxurious Christian louboutins shoes on sale, one of its series is Christian Louboutin Tall Boots, is urbanism collocation. This Christian louboutins shoes design makes people new and refreshing. Red soles shoes is personality, your charm will be wonderful performance.&lt;/p&gt;</description>
      <pubDate>Thu, 03 Nov 2011 10:47:36 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:a9655084-25a1-47ef-9149-4bb2bc92620a</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-167689</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by Joly</title>
      <description>&lt;p&gt;It&#8217;s good to see this information in your post, i was looking the same but there was not any proper resource, thanx now i have the link which i was looking for my 
research.&lt;/p&gt;</description>
      <pubDate>Thu, 03 Nov 2011 01:06:23 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:0ad131ed-d3d6-48c7-870c-88a4afa4d576</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-167279</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by Wholesale jerseys cheap</title>
      <description>&lt;p&gt;&lt;a href="http://www.jerseyshearts.com/" rel="nofollow"&gt;&lt;b&gt;Wholesale jerseys cheap&lt;/b&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;           
&lt;p&gt;&lt;a href="http://www.jerseyshearts.com/" rel="nofollow"&gt;&lt;b&gt;Cheap jerseys wholesale&lt;/b&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 18 Oct 2011 20:22:13 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:d423fea1-2988-4ce8-94df-104551898dbd</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-159161</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by Ashley Bowling</title>
      <description>&lt;p&gt;Factory accounting software was among the most popular of early business software tools,&lt;/p&gt;</description>
      <pubDate>Sun, 16 Oct 2011 05:29:09 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:d607d701-bfba-447b-a7b1-7f060867a63f</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-157353</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by Beats By Dre UK</title>
      <description>&lt;p&gt;Good video based on an awesome article. But why is Robot Framework &#8220;wrong&#8221; tool for this kind of testing? It even seems to me that FitNesse scenario tables are copied from RF user keyword concept.&lt;/p&gt;</description>
      <pubDate>Sat, 15 Oct 2011 20:59:33 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:7a39de36-5805-42b2-9974-6ea6436ed58c</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-157251</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by Buy Nike Air Yeezy</title>
      <description>&lt;p&gt;The worst method to forget some one is for getting sitting centerbesidehim knowing you cant have him.&lt;/p&gt;</description>
      <pubDate>Thu, 13 Oct 2011 22:37:15 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:d2840ee6-6d4a-4769-9a5b-31ea1ff30e35</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-156250</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by Air Jordan Max Fusion</title>
      <description>&lt;p&gt;A excellent dude is invariably ready to acquire little.&lt;/p&gt;</description>
      <pubDate>Thu, 13 Oct 2011 22:25:46 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:6ef4eb17-3e5e-439d-807b-5b50b6d19f2b</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-156169</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by Belstaff Leather Jacket</title>
      <description>&lt;p&gt;It is a harvest journey for me when after have a careful look of your blog.&lt;/p&gt;</description>
      <pubDate>Wed, 05 Oct 2011 22:43:51 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:e87d0de4-6ae8-4f83-99e6-83366de85095</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-150661</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by North face discount</title>
      <description>&lt;p&gt;Thanks for sharing. This website is to I too have to help. Very good.I like the way you write.&lt;/p&gt;</description>
      <pubDate>Wed, 05 Oct 2011 22:43:14 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:0ef3c129-f8e6-4ad3-8bb6-37394c08dd0c</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-150660</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by moncler jacken</title>
      <description>&lt;p&gt;So cute the text is too valuable to me very helpful to me to leave the best comment on your blog is always so good.&lt;/p&gt;</description>
      <pubDate>Wed, 05 Oct 2011 19:35:31 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:ed1d9b37-61c2-4eec-b5f5-0e1546b75534</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-150590</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by belstaff sale</title>
      <description>&lt;p&gt;Thank you for your blog, he let me know that many little knowledge, I will put it share to my friends&lt;/p&gt;</description>
      <pubDate>Fri, 30 Sep 2011 00:42:15 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:8a3ee3f7-7e8e-41cd-9175-209f4af4711d</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-148215</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by Discount North Face</title>
      <description>&lt;p&gt;Thank you for your blog, he let me know that many little knowledge, I will put it share to my friends&lt;/p&gt;</description>
      <pubDate>Fri, 30 Sep 2011 00:41:38 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:72f2ab3b-9e41-4e18-844c-a8f90145cb79</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-148214</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by belstaff outlet</title>
      <description>&lt;p&gt;I read with great interest.Your article looks nice,thank you for sharing with us!&lt;/p&gt;</description>
      <pubDate>Tue, 27 Sep 2011 04:02:36 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:2f525bac-ded5-497d-825b-6bca7ce172e1</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-145970</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by moncler</title>
      <description>&lt;p&gt;These ugg boots sales agreement uk are designed with complete grain leather upper with sheepskin&lt;/p&gt;


	&lt;p&gt;that keeps your feet moistureless and comfy for a long time. Your sheepskin sockliner allows you&lt;/p&gt;


	&lt;p&gt;a to breathe well by its innate pores that allows air inside the boots and additionally keeps&lt;/p&gt;


	&lt;p&gt;your feet free of moisture. The floating rubber technology incorporated in our pair of uggs&lt;/p&gt;


	&lt;p&gt;causes them to be feel lightweight and then enhances increased ability and better traction.&lt;/p&gt;</description>
      <pubDate>Mon, 26 Sep 2011 21:31:47 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:96012ac4-a13a-4da5-8aaa-0a286b4e2a37</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-145535</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by barcelona football shirt</title>
      <description>&lt;p&gt;I like this so so. I have searched in Google for this information and only your site has helped me to obtain the results.&lt;/p&gt;</description>
      <pubDate>Sat, 24 Sep 2011 20:15:44 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:88005a32-6b6f-45c5-ba43-83c64a0821f1</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-145112</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by Dsquared Jeans</title>
      <description>&lt;p&gt;This post too really i enjoyed going through it with&lt;/p&gt;


	&lt;p&gt;regards.
&lt;a href="http://www.dsquared2mall.net/" rel="nofollow"&gt;http://www.dsquared2mall.net/&lt;/a&gt;&gt;Dsquared
&lt;a href="http://www.dsquared2mall.net/" rel="nofollow"&gt;http://www.dsquared2mall.net/&lt;/a&gt; dsquared-jeans-c-1.html&gt;Dsquared Jeans&lt;/p&gt;</description>
      <pubDate>Thu, 22 Sep 2011 20:23:54 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:55dbfa19-a48b-42a8-a0fb-ebf70e87db8f</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-144496</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by pandora bracelet sale</title>
      <description>&lt;p&gt;Accounts fashion jewelry wholesale Pandora bracelets, gold embodies also used in the diligence and your budget will earmark, you may debate the doll face with a formula of pearls and precious stones of your choice, or may be based on chain or gold depending on your choice and the price of that part of a bracelet is not less than.&lt;/p&gt;</description>
      <pubDate>Thu, 22 Sep 2011 07:13:50 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:a592969e-6a76-4ad5-b43a-adf72b34cc1c</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-144413</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by shoesshoes</title>
      <description>&lt;p&gt;Cheap alfredia louboutin profit designed. 2010 Brand-new Design alfredia louboutin Footwear, &lt;a href="http://www.louboutinchaussures-fr.com/jimmy-choo-jimmy-choo-pompes-39_35/" rel="nofollow"&gt;Jimmy Choo Pompes&lt;/a&gt;alfredia louboutin bridalPumps, Innovative sandals resorts in jamaica, Alfredia Louboutin Boots. Excellent Promises. &lt;a href="http://www.louboutinchaussures-fr.com/jimmy-choo-39/" rel="nofollow"&gt;Jimmy Choo&lt;/a&gt;No charge Travel. Get hold of Now!, &lt;a href="http://www.canadagoosejakkedk.com" rel="nofollow"&gt;&lt;strong&gt;canada goose&lt;/strong&gt;&lt;/a&gt;Alfredia Louboutin women&#8217; ersus attire around ShopStyle. &lt;a href="http://www.canadagoosejakkedk.com" rel="nofollow"&gt;&lt;strong&gt;canada goose outlet&lt;/strong&gt;&lt;/a&gt;,Glance prevalent sellers to uncover alfredia louboutin pumps for cheap profits &#8211; a lot of a particular posture.&lt;/p&gt;


	&lt;p&gt;LOS ANGELES just simply currently,&lt;p&gt;&lt;a href="http://www.north-face-jakke.com/" rel="nofollow"&gt;&lt;em&gt;&lt;strong&gt;north face jakke&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt;&lt;/p&gt; a person&amp;#8217;s sizeable theaters round the usa in a hurry to the shops humorous hwy humourous training video launched, &#8220;usua&lt;p&gt;&lt;a href="http://www.north-face-jakke.com/" rel="nofollow"&gt;&lt;em&gt;&lt;strong&gt;north face jakke&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;lly means all over, &#8221; furnishing increase so you might witnessing a different false male or female, this actually also popular issue is certainly absolutely in the training video merely a astounding sport activity gamed outside just by Zhang Xin Yi A person&amp;#8217;s &#8220; garnishment hoax girl. &#8221;&lt;/p&gt;</description>
      <pubDate>Fri, 16 Sep 2011 22:24:19 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:87dbf3c1-1e69-4b02-9755-0a3b685a87fe</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-141490</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by burberry outlet</title>
      <description>&lt;p&gt;thank you for sharing with us, i really like the way you show to us, nice work , keeping it up&lt;/p&gt;</description>
      <pubDate>Tue, 13 Sep 2011 04:47:39 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:c937fad1-0ebf-4256-bc21-56d311593c2f</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-139677</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by juicy couture tracksuits</title>
      <description>&lt;p&gt;Hello, my friend! I mean this product is great, beautiful, and has written almost all the vital information. I would like to see more posts like this.&lt;/p&gt;</description>
      <pubDate>Wed, 07 Sep 2011 20:48:33 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:06434160-79cf-40e2-8a7a-aed697005fdd</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-138215</link>
    </item>
    <item>
      <title>"Jasper: Problem resolved?" by Discount Cartier Jewelry</title>
      <description>&lt;p&gt;You are the best. Fuel, everything in your hands
&lt;a href="http://www.topcartiershop.org/" rel="nofollow"&gt;Cartier necklaces&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 02 Sep 2011 07:39:42 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:238da54f-3ce8-43ac-9550-7ad46a4af420</guid>
      <link>http://blog.objectmentor.com/articles/2007/02/08/jasper-problem-resolved#comment-136006</link>
    </item>
  </channel>
</rss>

