[opencms-dev] Eclipse plugin for OpenCms VFS
Scott Carlson
scott at optionvue.com
Wed Aug 30 16:34:46 CEST 2006
¡°Save Failed: null¡± is the error I got when I set the editor to ¡°Java Editor¡±. The only other editor that I tried is ¡°Text Editor¡±, which worked. So, first thing I would do is double-check the editor associated with the file extension used, and make sure it is ¡°Text Editor¡±.
No, the file extension does not matter with regard to OpenCmsVFS ¨C I use both .html and .jsp extensions for files of type jsp, and both work fine. Note that then ¡°*.html¡± and ¡°*.jsp¡± need to be associated with ¡°Text Editor¡± in eclipse for this to then work properly. If there is more than one association, make sure that ¡°Text Editor¡± is the default.
Scott
________________________________
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of lxbing113
Sent: Wednesday, August 30, 2006 5:16 AM
To: the opencms mailing list
Subject: Re: RE: [opencms-dev] Eclipse plugin for OpenCms VFS
Ç×°®µÄÅóÓÑ£º
¡¡¡¡ÄúºÃ£¡
Hello Scott Carlson:
I creat new file *.jsp in the workplace , and edite it in eclipse. but i can't save it.
it performace "Save Failed: null", can you save the modified file ? what editor do you specify for the jsp typ?
Any help for appreciate !
lai xiaobing
2006.08.30
________________________________
-----ÔʼÓʼþ-----
·¢¼þÈË:"Scott Carlson"
·¢ËÍʱ¼ä:2006-08-29 22:51:39
ÊÕ¼þÈË:"The OpenCms mailing list"
³ËÍ:(ÎÞ)
Ö÷Ìâ:RE: [opencms-dev] Eclipse plugin for OpenCms VFS
From: "Scott Carlson" <scott at optionvue.com>
To: "The OpenCms mailing list" <opencms-dev at opencms.org>
Date: Tue, 29 Aug 2006 22:51:39 +0800 (CST)
Subject: RE: [opencms-dev] Eclipse plugin for OpenCms VFS
When using OpenCmsVFS, the state listed for files that have not been changed is ¡®online¡¯ ¨C this does not mean that if you edit the file, you will change the online version, it merely means that the ¡®offline¡¯ (or whatever project that is setup in the Preferences¡) and ¡®online¡¯ files are the same. At first, I thought this was a bug, too, until I figured out what ¡®online¡¯ meant in this display. Some other states that are shown are ¡®changed¡¯ and ¡®new¡¯.
Using OpenCmsVFS plugin, no, you cannot create new files. You must create new files using the OpenCms Workplace. Once created, you can refresh the eclipse view by right-clicking and choosing refresh on the appropriate folder.
OpenCmsVFS only seems to work with certain OpenCms types. For example, it works great with JSP files, but it doesn¡¯t seem to work with xmlpage files. For me, it will open xmlpage files, but it will not save them.
As for files with no extensions, I don¡¯t know about this ¨C I specify an extension for all files, so I can set a default editor for them.
Oh, another thing I have found is that the associated editor makes a difference, too. I have ¡®text editor¡¯ associated to the files I edit using OpenCmsVFS. I tried ¡®java editor¡¯, and when using that editor, save fails.
Scott
________________________________
ÓÊ Ïä »ý ·Ö£¬»» Ò× È¤ ÏÖ ½ð ¹º Îï ȯ
30 ÓÊ Ïä »ý ·Ö = ÏÖ ½ð 30 Ôª , 50 Ôª , 99 Ôª Á¢ ¿Ì ¶Ò »» > > <http://adfarm.mediaplex.com/ad/ck/4080-41738-9511-6?cn=netease;textlink0822;pr;mailcoupon&mpro=http://minisite.163.com/2006/0815/ebay/coupon.htm>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060830/8ddeb7dd/attachment.htm>
More information about the opencms-dev
mailing list