From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 309FDBCAB for ; Wed, 25 May 2005 12:31:39 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j4PAVcUf016526 for ; Wed, 25 May 2005 12:31:38 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA23485 for ; Wed, 25 May 2005 12:31:38 +0200 (MET DST) Received: from plan.enseirb.fr (plan.enseirb.fr [147.210.18.60]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j4PAVb2k025134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 25 May 2005 12:31:38 +0200 Received: from localhost (tan [147.210.18.15]) by plan.enseirb.fr (8.12.10/8.12.11) with ESMTP id j4PAV3T9022585 for ; Wed, 25 May 2005 12:31:03 +0200 (MEST) Received: from plan.enseirb.fr ([147.210.18.60]) by localhost (tan [147.210.18.15]) (amavisd-new, port 10041) with LMTP id 16448-10 for ; Wed, 25 May 2005 12:31:10 +0200 (MEST) Received: from [147.210.177.88] (bobafett [147.210.177.88]) (authenticated bits=0) by plan.enseirb.fr (8.12.10/8.12.11) with ESMTP id j4PAV1eE022574 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 25 May 2005 12:31:01 +0200 (MEST) Message-ID: <429451A5.4080208@enseirb.fr> Date: Wed, 25 May 2005 12:21:25 +0200 From: Laurent Burgy User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: ojacare problems Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at enseirb.fr X-Miltered: at concorde with ID 4294540A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 4294540A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; enseirb:01 interfacing:01 doctorant:01 ....:98 ...:98 ...:98 phoenix:98 phoenix:98 labri:01 labri:01 renamed:04 encounter:05 modify:05 null:05 inria:05 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: hi, so i've succeeded in installing ojacare.... but i encounter problems when i try to use it... In fact, at this line: InputStream in = PropertiesDepot.class.getClassLoader(). getResourceAsStream(pFileName); the getResourceAsStream returns null, meaning that the resource cannot be found, so i've tried to modify pFileName to solve this but without any success ... I know, this is not a java list but this line doesn't fail with my standalone application without interfacing with ojacare... The main difference is that i've a wrapper, that launches the original application. In the original application, i've just renamed the main in run and in the wrapper i call this method. Finally in the main-wrapper.ml, i call the wrapper method... Is It a known limitation, that we cannot access files? or did i misuse ojacare...?? Thanks for the help -- ------------------------------------------------------------------------ Laurent BURGY Doctorant INRIA / LaBRI Projet PHOENIX ------------------------------------------------------------------------ URL: http://phoenix.labri.fr/people/burgy ------------------------------------------------------------------------