Pages

about my opensource eclipse java applications recently i'm studying GWT and Android

Tuesday, March 08, 2005

Today I try to add preferences my application.
that is something easy.

if you wish use preferences. call that.

PreferenceManager m=PlatformUI.getWorkbench().getPreferenceManager();

PreferenceDialog dialog=new PreferenceDialog(window.getShell(),m);

dialog.open();

off course you should create preference extentions(org.eclipse.ui.preferencePages).


Saturday, March 05, 2005

try Eclipse UpdateManager

Today I try to implement UpdateManager.
I see the Update Sites of Eclipse Help.
and I create Feature Project and Update Site Project.
I confused version and other,but finnlay I succede.

but there are problem.if i use UpdateManagerUI.openInstaller(),
include too many other plugins. and my application became really fat size.

so i'd like to release my application as zip archive files.

my first eclipse rcp application (ak Optipng wrapper)

hello
this is my first eclipse rcp applicaltion.
http://www.xucker.jpn.org/product/akjoptipngwrapper.zip

this optimize png file size by calling the optipng which is command-line application.
soon i'd like to show source code,please wait finish to refactoring.

JSmooth example for Eclipse RCP

if you don't know how to use NSIS like me and you know how to use JSmooth,
maybe it's is userful for you.
You msut change applicationclass and exe-name.
---------



registry
javahome
jrepath
jdkpath
exepath
jview
-application org.jpn.xucker.rcp.optipngwrapper.OptipngWrapperApplication %*
startup.jar
.
false
akjoptipngwrapper.exe
icon.png
-1
org.eclipse.core.launcher.Main
-1


Windowed Wrapper

Message
Need Install Java


URL
http://www.java.com/


SingleProcess
0


Debug
0

how to get plugin dir on Eclipse RCP?

finally i choose that aproach.i don't that is best way.

public File toPluginDir(Plugin plugin){
return new File(Platform.getInstallLocation().getURL().getPath(),
"plugins/"
+plugin.getBundle().getSymbolicName()
+"_"
+plugin.getBundle().getHeaders().get("Bundle-Version"));
}

it's too difficult for me handle the Bundle Class.
it's sample of bundle.getHeaders() values.

Bundle-ClassPath='rcp_optipngwrapper.jar'
Bundle-Name='akJ OptipngWrapper Plug-in'
Bundle-Version='1.0.2'
Bundle-Localization='plugin'
Generated-from='1110021669453;type=2'
Bundle-SymbolicName='org.jpn.xucker.rcp.optipngwrapper; singleton=true'
Require-Bundle='org.jpn.xucker.commons,
org.eclipse.ui,
org.eclipse.core.runtime'
Bundle-Activator='org.jpn.xucker.rcp.optipngwrapper.OptipngWrapperPlugin'
Eclipse-AutoStart='true'
Bundle-Vendor='www.xucker.jpn.org'
Manifest-Version='1.0'
Provide-Package='org.jpn.xucker.rcp.optipngwrapper,
org.jpn.xucker.optipngwrapper'

Tuesday, March 01, 2005

Free Culture Srt-Sub File

Today I created srt-sub file from Free Culture Audio book.

now it's only 1 files.
but one day i'd like to create all file and post there

sample
-----
1
00:00:01,560 --> 00:00:03,670
At the end of his review of my first book

2
00:00:03,710 --> 00:00:05,690
Code: And Other Laws of Cyberspace
----

download from here
this works licensed under
Attribution-NonCommercial 2.0 Japan
http://creativecommons.org/licenses/by-nc/2.0/jp/

Monday, February 21, 2005

Test tritunus MP3Encocer


Today I test tritunus MP3Encocer,
http://www.tritonus.org/plugins.html (tritonus-mp3enc-2001-04-25.zip)
becouse i'd like to make converting wav to mp3 program.

it's successed.
if you carefull to dont't forget to contain lame_enc.dll and lametritonus.dll in classpath,
it is an easy work.

of cource i think calling lame.exe from commandline is simple way. You dont't think? :)
but maybe i think implementing some lame-args is hard work.
it's easy to use Tritunus MP3Encoder.

either using lame.exe or lame_enc.dll.
the users must install Lame munually.
We should create a manual which contain how to download Lame. Posted by Hello

my code

Hello ,I'm Aki.
Today I start my java log.

my codes are uploaded here.

Currently I create SWT-based applications.but I'd like to change them to Eclipse-RCP based applications.


one of my favorite sweet. Posted by Hello