buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Layton <jlay...@thoughtworks.com>
Subject Scala and Jetty support in Buildr 1.3
Date Wed, 13 Feb 2008 02:38:50 GMT
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Courier New";
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:1222667743;
	mso-list-type:hybrid;
	mso-list-template-ids:206458182 67698703 67698713 67698715 67698703 67698713 67698715 67698703
67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'>Assaf,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'>I&#8217;m not
sure if this is appropriate, however on playing with the HEAD revision of trunk
I noticed that..<o:p></o:p></span></font></p>

<ol style='margin-top:0in' start=1 type=1>
 <li class=MsoNormal style='color:navy;mso-list:l0 level1 lfo1'><font size=2
     color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
     "Courier New"'>JettyWrapper.java needs a package declaration<o:p></o:p></span></font></li>
 <li class=MsoNormal style='color:navy;mso-list:l0 level1 lfo1'><font size=2
     color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
     "Courier New"'>Scala compilation was only possible for me when the Scalac
     class method for the dependencies was modified from; <o:p></o:p></span></font></li>
</ol>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'>John Layton</span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'>Developer,
ThoughtWorks <st1:country-region w:st="on"><st1:place w:st="on">Australia</st1:place></st1:country-region></span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'>&nbsp;Email:: </span></font><font
color=navy><span style='color:navy'><a href="mailto:jlayton@thoughtworks.com"><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>jlayton@thoughtworks.com</span></font></a><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'>Office::
+61396916500</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:City w:st="on"><st1:place w:st="on"><font size=2
  color=navy face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
  color:navy'>Mobile</span></font></st1:place></st1:City><font
size=2
color=navy face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:navy'>:: +61422715180</span></font><font color=navy><span
style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'>&nbsp;Yahoo::
johnstewartlayton</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'>Level 11, <st1:Street
w:st="on">155 Queens Street</st1:Street>,</span></font><font color=navy><span
style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'>Melbourne, VIC,
3001</span></font><o:p></o:p></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> &quot;Assaf
Arkin&quot; &lt;arkin@intalio.com&gt; [mailto:&quot;Assaf Arkin&quot;
&lt;arkin@intalio.com&gt;] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, February
08, 2008
11:29 AM<br>
<b><span style='font-weight:bold'>To:</span></b>
buildr-user@incubator.apache.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: Example
of checks
(specifically on test.classes)</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On 2/6/08, David Saff &lt; david@saff.net&gt; wrote: <br>
&gt; <br>
&gt; Sorry for the late appreciation, but that cleared things up for me. <br>
&gt; <br>
&gt; Is it inappropriate to use check for things like asserting that some <br>
&gt; tests are run? <br>
<br>
<br>
<br>
You can do that, but be careful, checks will be run even if tests are not <br>
run (build package test=no) and before integration tests are run. <br>
<br>
<br>
You'll probably want to check on the conditions that: <br>
Buildr.options.test &amp;&amp; !test.options[:integration] <br>
<br>
<br>
Assaf <br>
<br>
David Saff <br>
&gt; <br>
&gt; On Jan 31, 2008 7:22 PM, Assaf Arkin &lt; arkin@intalio.com&gt; wrote: <br>
&gt; &gt; David, <br>
&gt; &gt; <br>
&gt; &gt; The check task is intended for, amongst other things, verify that
your <br>
&gt; &gt; packages have the right contents. It runs from the package task, so
try <br>
&gt; &gt; this: <br>
&gt; &gt; <br>
&gt; &gt; $ buildr package <br>
&gt; &gt; <br>
&gt; &gt; Assaf <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; On 1/31/08, David Saff &lt; david@saff.net&gt; wrote: <br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; All, <br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; I'm trying to restrict the test classes run by my project (which
is <br>
&gt; &gt; &gt; JUnit itself), but still make sure that something is run. Right
now, <br>
&gt; &gt; &gt; I'm trying the following, and the check doesn't appear to fail,
even <br>
&gt; &gt; &gt; through no tests appear to be running: <br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; desc &quot;The Junit project&quot; <br>
&gt; &gt; &gt; define &quot;junit&quot; do <br>
&gt; &gt; &gt; project.version = VERSION_NUMBER <br>
&gt; &gt; &gt; project.group = GROUP <br>
&gt; &gt; &gt; manifest[&quot;Implementation-Vendor&quot;] = COPYRIGHT
<br>
&gt; &gt; &gt; compile.with 'lib/hamcrest-core-1.1.jar' # Add classpath <br>
&gt; dependencies <br>
&gt; &gt; &gt; test.compile.with # Add classpath dependencies <br>
&gt; &gt; &gt; test.include &quot;org.junit.tests.AllTests&quot; <br>
&gt; &gt; &gt; package(:jar) <br>
&gt; &gt; &gt; check test.classes do <br>
&gt; &gt; &gt; it.should_not be_empty <br>
&gt; &gt; &gt; end <br>
&gt; &gt; &gt; end <br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; My output is: <br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; (in /Users/saff/Documents/workspaces/junit/junit) <br>
&gt; &gt; &gt; Building junit <br>
&gt; &gt; &gt; Compiling 122 source files in junit:compile <br>
&gt; &gt; &gt; Testing junit <br>
&gt; &gt; &gt; Compiling 124 source files in junit:test:compile <br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; I've purposely broken one of the tests, so I know they're not
just <br>
&gt; &gt; &gt; silently passing. AllTests is the suite that should include all
of <br>
&gt; &gt; &gt; the tests I actually want to run. I'm about 24 hours old as a
buildr <br>
&gt; &gt; &gt; initiate, so gentle reproof appreciated. Thanks, <br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; David Saff <br>
&gt; &gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; -- <br>
&gt; &gt; CTO, Intalio <br>
&gt; &gt; <a href="http://www.intalio.com">http://www.intalio.com</a>
<br>
&gt; &gt; <br>
&gt; <br>
<br>
<br>
<br>
-- <br>
CTO, Intalio <br>
<a href="http://www.intalio.com">http://www.intalio.com</a> <o:p></o:p></span></font></p>

</div>

</body>

</html>
Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
      • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message