edesigner on Linux
Hi everyone,
I'm trying to setup edesigner to run flawlessly on Linux and I already successfully tweaked the ide.conf file to have it start.
The problem I've encountered and cannot find a way to solve is that when I create a new collaboration and try to choose some eGate webservice operation I get the following message on screen:
"An error occurred in opening the project null"
This happens as soon as I double-click on the eGate folder. Has anyone tried to get eDesigner to run on Linux. Did you have this problem and managed to solve it? I would really like to read how you did it :-)
Cheers,
Celso
[647 byte] By [
Cliffb53] at [2007-11-26 10:53:32]

# 3
He he, yeah, I know what you're saying. I was in the same boat as you a year ago.
I nearly got it going in Linux, but I was getting weird errors when I tried to open the seebeyond folder in eDesigner. I eventually gave up and have learnt to make do with Cygwin. No more Gnome for me. :-(
But Cygwin supports X, and you can just
ssh -X somewhere "progThatUsesX"
and it will look like your linux program is running on your windows machine.
So, I don't have to switch back and forth anymore.
# 5
Almost. I have everything running _but_ the Build functionality on the Deployment Profile. I've been wanting to blog about it but here's how to get eDesigner running on Linux (at least about 90% of it):
1) Unpack eDesigner to a location of your choice :-)
2) Grab the latest Sun 1.4.2 JDK from the Sun website. mv edesigner/jdk edesigner/jdk.orig. Install the JDK you just grabbed and rename the directory from, e.g., jdk-1.4.2_11 to edesigner/jdk. Now execute cp edesigner/jdk.old/jre/lib/ext/x* edesigner/jdk/jre/lib/ext. This will copy all XML libraries that are bundled with the original JDK for Windows.
3) Copy the contents of the ide.cfg below, changing /home/cpinto/programs/caps to whatever directory where edesigner is at, and chmod +x edesigner/bin/fastjavac/fastjavac.linux
4) When installing modules, _do not_ install the Scheduler component. Other modules may also break the project tree. A few safe ones are the Batch, Email, HTTP and JDBC eWays. Your mileage will vary, it's a matter of trial and run to check which modules don't break the repository tree (note: it's easy to find out if the tree is broken by expanding the Sun Seebeyond node and if any subnodes are yellow, it's broken)
5) Have fun :-) When you create a new deployment profile and try to build it you'll get a null error. I know that this is related to some problem in the code generators but I stopped looking into it. If you get past this point, please do let me know. It should be easy to track the problem if you use a debugger or something.
[ide.cfg contents, remember to put this in a single line!!!!]
-J-Xverify:none
-J-Dalloy.theme=glass
-J-Dallow.isLookAndFeelFrameDecoration=false
-J-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryI mpl
-J-Dxsdcodegen.checkupa=false
-J-XX:+DisableExplicitGC
-J-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.Transform erFactoryImpl
-J-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parse rs.XML11Configuration
-J-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBui lderFactoryImpl
-J-Dlog4j.configuration=file:log4j.properties
-J-Dnetbeans.xml.FastSAXParserFactoryImpl=org.apache.xerces.jaxp.SAXParserFacto ryImpl
-J-Drun.mode=run
-J-XX:-UseThreadPriorities
-J-Xms300M
-J-Xmx300M
-J-Dalloy.isPopupShadowEffectEnabled=false
-J-Dantlrmaxaltblklines=3000
-J-Dorg.openide.TopManager=org.netbeans.core.StcTopManager
-J-Dsun.java2d.d3d=false
-J-DOtdCodeGen.IncludeSourceCode=true
-J-Dcom.stc.codegen.javac.executable=/home/cpinto/programs/caps/edesigner/bin/f astjavac/fastjavac.linux
-J-DNETBEANS_HOME=/home/cpinto/programs/caps/edesigner
-J-Drepository.dir=http://localhost:40000/local
-J-Djavadoc.home=/home/cpinto/programs/caps/edesigner/jdk/src
-J-Dstc.java.docs.home=/home/cpinto/programs/caps/edesigner/jdk/src
-J-Dcompz.home=/home/cpinto/programs/caps/edesigner/jdk/jre
-mainclass org.netbeans.core.StcTopManager
-ui com.incors.plaf.alloy.AlloyLookAndFeel
-branding stc
-nosetting_upgrade
-userdir ../usrdir
-jdkhome /home/cpinto/programs/caps/edesigner/jdk/jre
Also, you'll probably need to edit the runide.sh file, just add this immediately after the header comments:
export eDesigner_heap_size=300
export OTDTester_heap_size=128
export JCETester_heap_size=128
export REPOSITORY_DIR="http://localhost:40000/local"
export NETBEANS_HOME=/home/cpinto/programs/caps/edesigner
export JAVA_HOME=$NETBEANS_HOME/jdk/jre
export OTDCODE_INCLUDE_SOURCECODE=yes
export PATH=$NETBEANS_HOME/jdk/jre/bin:$PATH
export JDK_HOME="$NETBEANS_HOME/jdk"