<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 14/01/2010 05:08, Pardeep Ruhil wrote:
<blockquote
 cite="mid:38DE460E2357D04A9369D5EB8A69E0543A9E4E5B@VSHINMSMBX01.vshodc.lntinfotech.com"
 type="cite">
  <meta http-equiv="Content-Type"
 content="text/html; charset=ISO-8859-1">
  <meta name="Generator" content="Microsoft Word 12 (filtered medium)">
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
  </style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  <div class="Section1">
  <p class="MsoNormal">Hi,<o:p></o:p></p>
  <p class="MsoNormal">I am getting File Not Found Exception when I try
to give relative path of the file.<o:p></o:p></p>
  <p class="MsoNormal">&lt;resource source='<a class="moz-txt-link-freetext" href="file:../HelloWorld.drl">file:../HelloWorld.drl</a>'
type='DRL' /&gt;</p>
  </div>
</blockquote>
If I told you that the above would do nothing more than:<br>
new File ("../HelloWorld.drl");<br>
<br>
Would that help?<br>
<br>
Mark<br>
<blockquote
 cite="mid:38DE460E2357D04A9369D5EB8A69E0543A9E4E5B@VSHINMSMBX01.vshodc.lntinfotech.com"
 type="cite">
  <div class="Section1">
  <p class="MsoNormal"><o:p></o:p></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal">But when I give the complete path, It picks the
changeset.xml file.<o:p></o:p></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal">&lt;resource
source='<a class="moz-txt-link-freetext" href="file:C:/Tomcat/webapps/DroolsCheck/HelloWorld.drl">file:C:/Tomcat/webapps/DroolsCheck/HelloWorld.drl</a>' type='DRL'
/&gt;<o:p></o:p></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal">Please tell me the syntax for using the relative
path for my workflow or rule files.<o:p></o:p></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal">Thanks &amp; Regards<o:p></o:p></p>
  <p class="MsoNormal">Pradeep Ruhil<o:p></o:p></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  </div>
  <br>
  <hr>
  <font color="Black" face="Arial" size="3">This Email may contain
confidential or privileged information for the intended recipient (s)
If you are not the intended recipient, please do not use or disseminate
the information, notify the sender and delete it from your system.<br>
  </font>
  <br>
______________________________________________________________________<br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>