[rules-users] How to specify relative URL in chagenset.xml file

Mark Proctor mproctor at codehaus.org
Thu Jan 14 00:27:48 EST 2010


On 14/01/2010 05:08, Pardeep Ruhil wrote:
>
> Hi,
>
> I am getting File Not Found Exception when I try to give relative path 
> of the file.
>
> <resource source='file:../HelloWorld.drl' type='DRL' />
>
If I told you that the above would do nothing more than:
new File ("../HelloWorld.drl");

Would that help?

Mark
>
> But when I give the complete path, It picks the changeset.xml file.
>
> <resource source='file:C:/Tomcat/webapps/DroolsCheck/HelloWorld.drl' 
> type='DRL' />
>
> Please tell me the syntax for using the relative path for my workflow 
> or rule files.
>
> Thanks & Regards
>
> Pradeep Ruhil
>
>
> ------------------------------------------------------------------------
> 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.
>
> ______________________________________________________________________
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100114/250a41bd/attachment.html 


More information about the rules-users mailing list