Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] where is the runpath of eclipse plugins?


the best place to get answers to this kind of question is the eclipse.platform newsgroup.

Jeff


Leandro Trevisan Nunes <lnunes@xxxxxxxxxxxxx>
Sent by: eclipse-dev-admin@xxxxxxxxxxx

02/17/2004 11:02 AM

Please respond to
eclipse-dev

To
eclipse-dev@xxxxxxxxxxx
cc
Subject
[eclipse-dev] where is the runpath of eclipse plugins?





Hi,

I'm developing my own plugin which need to read the contents of my
template.dat file.
So, I've put my template.dat file in the same directory of the class
that read it, but i get a
FileNotFoundException.

my code is simple:
FileReader fr = new FilerReader("template.dat");

I cannot put the entire path because the template.dat location will be
related with the eclipse plugin installantion dir.
Need I put the template.dat file in some special place where my plugin
can refer directly to it?

Thanks.


--
- - - - - - - - - - - -
Leandro Trevisan Nunes
Engenharia de Sotware
Trifax Tecnologia LTDA
(41) 3022-2600


_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
http://dev.eclipse.org/mailman/listinfo/eclipse-dev


Back to the top