| DataPool could not be loaded - urgent [message #80887] | 
Wed, 16 August 2006 13:23   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: mjayanthi.gmail.com 
 
Hi 
 
I have created a datapool in the text editor. I have the  
testpool.datapool under my project directory under my workspace. This is  
with Eclipse 3.2 
 
I am getting the exception that the datapool could not be loaded. I have  
put the required jar files in the classpath extensions as specified in  
the help document. 
 
I am getting the following exception 
 
 
Exception in thread "main"  
 org.eclipse.hyades.execution.runtime.datapool.DatapoolExcept ion:  
IWAT3056E Datapool could not be loaded from file  
C:\DevTools\EclipseWTP1.5\workspace2\DPTest\test.datapool 
	at  
 org.eclipse.hyades.models.common.datapool.impl.Common_Datapo olFactoryImpl.loadForEdit(Common_DatapoolFactoryImpl.java:31 2) 
	at  
 org.eclipse.hyades.models.common.datapool.impl.Common_Datapo olFactoryImpl.load(Common_DatapoolFactoryImpl.java:439) 
	at TestDP.main(TestDP.java:26) 
 
 
 
Example Code Snippet. 
 
File dataFile = new  
File(" C:\\DevTools\\EclipseWTP1.5\\workspace\\testproj\\TestPool.d atapool "); 
 
IDatapoolFactory  dpFactory = new Common_DatapoolFactoryImpl(); 
IDatapool datapool = dpFactory.load(dataFile,false); 
 
Am I doing anything incorrect. The documentation says that we need to  
provide the fully qualified path. 
 
Can anyone please advise me on how to go about this issue 
 
Thanks 
Murthy
 |  
 |  
  | 
 | 
| Re: DataPool could not be loaded - urgent [message #104487 is a reply to message #80887] | 
Thu, 12 July 2007 07:09   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi Murthy, 
 
Your code snippet sounds good. 
Do you still have the issue with a recent TPTP build? 
If yes, are the following JARs in your project's classpath:  
tptp-models.jar, org.eclipse.emf.common_<VERSION>.jar,  
org.eclipse.emf.ecore_<VERSION>, org.eclipse.core.runtime_<VERSION>? 
Are you using the default deployment? Or your own one? 
 
Thanks, 
/Patrick 
 
murthy a écrit : 
> Hi 
>  
> I have created a datapool in the text editor. I have the  
> testpool.datapool under my project directory under my workspace. This is  
> with Eclipse 3.2 
>  
> I am getting the exception that the datapool could not be loaded. I have  
> put the required jar files in the classpath extensions as specified in  
> the help document. 
>  
> I am getting the following exception 
>  
>  
> Exception in thread "main"  
>  org.eclipse.hyades.execution.runtime.datapool.DatapoolExcept ion:  
> IWAT3056E Datapool could not be loaded from file  
> C:\DevTools\EclipseWTP1.5\workspace2\DPTest\test.datapool 
>     at  
>  org.eclipse.hyades.models.common.datapool.impl.Common_Datapo olFactoryImpl.loadForEdit(Common_DatapoolFactoryImpl.java:31 2)  
>  
>     at  
>  org.eclipse.hyades.models.common.datapool.impl.Common_Datapo olFactoryImpl.load(Common_DatapoolFactoryImpl.java:439)  
>  
>     at TestDP.main(TestDP.java:26) 
>  
>  
>  
> Example Code Snippet. 
>  
> File dataFile = new  
> File(" C:\\DevTools\\EclipseWTP1.5\\workspace\\testproj\\TestPool.d atapool ");  
>  
>  
> IDatapoolFactory  dpFactory = new Common_DatapoolFactoryImpl(); 
> IDatapool datapool = dpFactory.load(dataFile,false); 
>  
> Am I doing anything incorrect. The documentation says that we need to  
> provide the fully qualified path. 
>  
> Can anyone please advise me on how to go about this issue 
>  
> Thanks 
> Murthy
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.06517 seconds