#2114 CamembertIde

tcolar Wed 20 Mar 2013

A few months ago I started CamembertIde. It's a lightweight IDE base on Brie(Made by Brian).

I added a bunch of features and also support for other languages

The focus on that one is NOT too make a ton of features like Eclipse and Netbeans but to keep it simple.

Basically a good general editor for many languages with built-in language api's search.

Overtime I've come to realize I learn a lot more this way than when depending too much on a very smart IDE (Relying on completion too much and not actually learning much).

It has support for Fantom, Axon, Maven, Node.js, Python and Ruby so far The documentation search panel so far supports Fantom, Axon and Node.js documentation with Python and Ruby in progress but not released yet.

I noticed it's been downloaded quite a bit already, not sure if anybody here is using it, but I'd definitely like feedback or feature requests .

tcolar Fri 16 Aug 2013

Pushed a new version ...

ttmrichter Tue 25 Feb 2014

I've been giving this a try. I got a huge problem from the outset: I added a path in the configuration and forgot to give it a trailing slash. Now I can't start my camembertIde and I have no idea which file to edit to fix this. A lot of searching later and I still have no idea how to fix this.

This leads to two feature requests.

  1. Please provide a --clean command line option that allows me to have Camembert start up as if it were a non-configured version.
  2. Please make it add a trailing backslash to paths itself if it needs them.

tcolar Tue 25 Feb 2014

Not in front of my computer right now but:

Its odd it won't start at all just because of that will check on it.

1 : will add something like that

2: it would have asked you to pick a Config folder on first run. Typically Camembert folder in home Dir. Config files are in there. You can edit those to fix or remove that folder.

tomcl Thu 24 Apr 2014

I normally use xored F4 - but this is no longer supported so I thought I should try tcollar's cambertide.

I'm having some trouble getting camembertide to run. It is obviously 32/64 bit Java confusion but I'm not sure how to mend it.

My windows system has both 32 & 64 bit java, PATH will select 64 bit (from C:\windows\system32).

The standalone 64 bit win32 installer: camembert-1.1.12-win32-x86_64

Puts a Fantom dist under fantom-rt which has fan that says it is 32 bit (win32-x86) and selects a 32 bit jre7 to run under. That is OK - I've got 32 bit and 64 bit Java

here is -version on the fantom-rt fan:

Fantom Launcher
Copyright (c) 2006-2012, Brian Frank and Andy Frank
Licensed under the Academic Free License version 3.0

Java Runtime:
java.version:    1.7.0_55
java.vm.name:    Java HotSpot(TM) Client VM
java.vm.vendor:  Oracle Corporation

java.vm.version: 24.55-b03
java.home:       C:\Program Files (x86)\Java\jre7
fan.platform:    win32-x86
fan.version:     1.0.64
fan.env:         sys::BootEnv
fan.home:        C:\Users\tomcl\fantom-rt\fantom

Here is the error running cambertide:

Running: C:\Users\tomcl\fantom-rt\fantom\bin\fan camembertIde::Main
[Loaded java.lang.ProcessBuilder from C:\Program Files\Java\jre7\lib\rt.jar]

lots more loaded...

java.io.IOException: Cannot run program "C:\Users\tomcl\fantom-rt\fantom\bin\fan":
CreateProcess error=193, %1 is not a valid Win32 application
     at java.lang.ProcessBuilder.start(Unknown Source)
     at java.lang.Runtime.exec(Unknown Source)
     at java.lang.Runtime.exec(Unknown Source)
     at fanjarlauncher.Launcher.executeFantom(Launcher.java:40)
     at fanjarlauncher.Launcher.<init>(Launcher.java:170)
     at fanjarlauncher.Launcher.main(Launcher.java:180)
[Loaded java.util.Objects from C:\Program Files\Java\jre7\lib\rt.jar]

Anyone got ideas? I feel I ought to be able to work this one out, but can't!

SlimerDude Thu 24 Apr 2014

I don't really know but I can guess!

The fan launcher just starts java, so if you make sure %FAN_HOME% env var is set up you could try:

C:\> java -cp %FAN_HOME%\lib\java\sys.jar fanx.tools.Fan camembertIde::Main

That puts you in control of which java dist (32 or 64 bit) you use.

tcolar Thu 24 Apr 2014

First I don't know much about windows so be warned :)

Anyway that error does not look that familiar but here are a couple things:

  • I now have some "standalone" versions so that possibly might be simpler to use: http://www.colar.net/camembert/
  • IIRC you could edit the fan or fanlaunch batch file and pass the JVM an argument to tell to run in 32 bits mode.
  • While the error does not clearly indicate that, 3264 bits issues typically are caused by SWT (native libs) so make sure you use the proper swt.jar for your platform.

Maybe check this: http://fantom.org/sidewalk/topic/740

Login or Signup to reply.