# HG changeset patch # User immler@in.tum.de # Date 1227719453 -3600 # Node ID 5ff833cfd3c8e90df1391f5335f325dcae6fad56 # Parent 00276ab4f1d5fc8c6f4ba1e13a92aea6112c1a25# Parent 89a7f39068693e5aad43dc3006881a04718ff88f merge diff -r 00276ab4f1d5 -r 5ff833cfd3c8 src/Tools/jEdit/NOTES --- a/src/Tools/jEdit/NOTES Wed Nov 19 11:49:30 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,43 +0,0 @@ - -Misc development notes -====================== - -- Netbeans config/Editors/Preferences/...-CustomPreferences.xml - - - - - ------------------------------------------------------------------------ -To run jedit with remote debugging enabled, I use the following -command: "java --agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=XXXX --jar jedit.jar" - -where XXXX is any open port number you wish. The above invocation -works for Sun's JDK 5.0. There's an alternate incantation for earlier -releases. (See -http://java.sun.com/j2se/1.5.0/docs/guide/jpda/conninv.html) - ------------------------------------------------------------------------ -Submitted by Daria Titova on Tuesday, 17 July, 2007 - 22:22 -Other Developer Topics -Dear jEdit developers, - -I would like to let you now that we have recently ported jEdit 4.2 -environment into the NetBeans IDE. You may wish to check it out: -http://wiki.netbeans.org/wiki/view/NetbeansedJEdit - -Now you can completely run, debug, and profile jEdit inside the -NetBeans IDE, and have access to all nifty features NetBeans IDE -provides to make developer's more productive and happy. - -I would greatly appreciate any feedback you may have about my project -and any ideas on how to make it more useful for jEdit community. - -If you are new to NetBeans please go to http://www.netbeans.org for -all information, tutorials and fun stuff. - -Daria Titova -NetBeans Engineer. ------------------------------------------------------------------------ diff -r 00276ab4f1d5 -r 5ff833cfd3c8 src/Tools/jEdit/README_BUILD --- a/src/Tools/jEdit/README_BUILD Wed Nov 19 11:49:30 2008 +0100 +++ b/src/Tools/jEdit/README_BUILD Wed Nov 26 18:10:53 2008 +0100 @@ -2,20 +2,26 @@ Requirements to build from sources ================================== -* Proper Java JRE/JDK from Sun +* Proper Java JRE/JDK from Sun, e.g. 1.6.0_07 http://java.sun.com/javase/downloads/index.jsp -* Netbeans 6.5beta - http://download.netbeans.org/netbeans/6.5/beta/ +* Netbeans 6.5 + http://www.netbeans.org/downloads/index.html * Scala for Netbeans + http://blogtrader.net/page/dcaoyuan/entry/new_scala_plugin_for_netbeans http://wiki.netbeans.org/Scala http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=11854 -* jEdit 4.3pre14 or similar +* jEdit 4.3pre16 or similar http://www.jedit.org/ + Netbeans Library "jEdit" = .../jedit.jar + or + + Netbeans Project "jEdit" (see below) + * Flying Saucer XHTML renderer https://xhtmlrenderer.dev.java.net/ Netbeans Library "Flying-Saucer" = .../core-renderer.jar @@ -24,6 +30,14 @@ Netbeans Library "Isabelle-Pure" = ~~/lib/classes/Pure.jar +Auxiliary projects +================== + +* project "jEdit" + . unpack official sources .../jEdit + . add content of ./contrib/jEdit + + Running the application within Netbeans ======================================= diff -r 00276ab4f1d5 -r 5ff833cfd3c8 src/Tools/jEdit/contrib/jEdit/build-nb.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/Tools/jEdit/contrib/jEdit/build-nb.xml Wed Nov 26 18:10:53 2008 +0100 @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + This target can only run inside the NetBeans IDE. + + + + + + + + + + + + + \ No newline at end of file diff -r 00276ab4f1d5 -r 5ff833cfd3c8 src/Tools/jEdit/contrib/jEdit/nbproject/project.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/Tools/jEdit/contrib/jEdit/nbproject/project.xml Wed Nov 26 18:10:53 2008 +0100 @@ -0,0 +1,118 @@ + + + org.netbeans.modules.ant.freeform + + + jEdit + + + + jEdit + + build-nb.xml + + + + + . + UTF-8 + + + + java + . + build/** doc/** icons/** macros/** modes/** package-files/** + UTF-8 + + + + + + build + + + + clean + + + + docs-javadoc + + + + run + + + + clean + build + + + + debug-nb + + + + jar + build/jEdit.jar + + build + + + + + + . + build/** doc/** icons/** macros/** modes/** package-files/** + + + ${ant.script} + + + + + + + + + + + + + + + + . + . + build/jEdit.jar + 1.5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 00276ab4f1d5 -r 5ff833cfd3c8 src/Tools/jEdit/makedist --- a/src/Tools/jEdit/makedist Wed Nov 19 11:49:30 2008 +0100 +++ b/src/Tools/jEdit/makedist Wed Nov 26 18:10:53 2008 +0100 @@ -90,9 +90,9 @@ cp -R "$THIS/dist-template/." "$JEDIT/." -cp Isabelle-jEdit.jar "$JEDIT/jars/isabelle.jar" -cp lib/Pure.jar "$JEDIT/jars/isabelle-Pure.jar" -cp lib/core-renderer.jar "$JEDIT/jars/" +cp jars/Isabelle-jEdit.jar "$JEDIT/jars/isabelle.jar" +cp jars/lib/Pure.jar "$JEDIT/jars/isabelle-Pure.jar" +cp jars/lib/core-renderer.jar "$JEDIT/jars/" # build archive diff -r 00276ab4f1d5 -r 5ff833cfd3c8 src/Tools/jEdit/nbproject/build-impl.xml --- a/src/Tools/jEdit/nbproject/build-impl.xml Wed Nov 19 11:49:30 2008 +0100 +++ b/src/Tools/jEdit/nbproject/build-impl.xml Wed Nov 26 18:10:53 2008 +0100 @@ -45,6 +45,7 @@ + @@ -214,13 +215,16 @@ + - + - + + + @@ -268,7 +272,9 @@ - + + + @@ -329,7 +335,9 @@ - + + + @@ -349,7 +357,9 @@ - + + + @@ -373,7 +383,9 @@ COMPILATION SECTION =================== --> - + + + @@ -675,7 +687,9 @@ CLEANUP SECTION =============== --> - + + + diff -r 00276ab4f1d5 -r 5ff833cfd3c8 src/Tools/jEdit/nbproject/genfiles.properties --- a/src/Tools/jEdit/nbproject/genfiles.properties Wed Nov 19 11:49:30 2008 +0100 +++ b/src/Tools/jEdit/nbproject/genfiles.properties Wed Nov 26 18:10:53 2008 +0100 @@ -3,6 +3,6 @@ build.xml.stylesheet.CRC32=ca9d572e # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. -nbproject/build-impl.xml.data.CRC32=d2379ac2 -nbproject/build-impl.xml.script.CRC32=234fa40f -nbproject/build-impl.xml.stylesheet.CRC32=411eee22 +nbproject/build-impl.xml.data.CRC32=8f41dcce +nbproject/build-impl.xml.script.CRC32=828f71d1 +nbproject/build-impl.xml.stylesheet.CRC32=2aa5193a diff -r 00276ab4f1d5 -r 5ff833cfd3c8 src/Tools/jEdit/nbproject/project.properties --- a/src/Tools/jEdit/nbproject/project.properties Wed Nov 19 11:49:30 2008 +0100 +++ b/src/Tools/jEdit/nbproject/project.properties Wed Nov 26 18:10:53 2008 +0100 @@ -30,8 +30,8 @@ jar.compress=false java.platform.active=java_default_platform javac.classpath=\ - ${libs.jEdit.classpath}:\ ${libs.Flying-Saucer.classpath}:\ + ${reference.jEdit.build}:\ ${libs.Isabelle-Pure.classpath} # Space-separated list of extra javac options javac.compilerargs= @@ -58,6 +58,8 @@ manifest.file=manifest.mf meta.inf.dir=${src.dir}/META-INF platform.active=default_platform +project.jEdit=contrib/jEdit +reference.jEdit.build=${project.jEdit}/build/jEdit.jar run.classpath=\ ${javac.classpath}:\ ${build.classes.dir} diff -r 00276ab4f1d5 -r 5ff833cfd3c8 src/Tools/jEdit/nbproject/project.xml --- a/src/Tools/jEdit/nbproject/project.xml Wed Nov 19 11:49:30 2008 +0100 +++ b/src/Tools/jEdit/nbproject/project.xml Wed Nov 26 18:10:53 2008 +0100 @@ -10,5 +10,15 @@ + + + jEdit + jar + + build + clean + build + +