- This topic has 24 replies, 2 voices, and was last updated 20 years, 2 months ago by
Mork.
-
AuthorPosts
-
Hi,
I have a JSP page where I have some Javascript. However, when typing in something like document.form1. … etc., I get no code completion assistance or anything I thought was available in MyEclipse.
How do I need to configure MyEclipse so that it helps me write Javascript?
I was hoping also that MyEclipse would give me method listings for each type of control..
Look forward to your reply.
Thanks.
— M
Riyad KallaMemberM,
Can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.Also give me a sample code snippet of what you are trying to edit so I can reproduce it locally if necessary.
What operating system and version are you running?
xp ProWhat Eclipse version and build id are you using? (Help > About Eclipse Platform)
3.01– Was Eclipse freshly installed for MyEclipse?
Yes– Are any other external plugins installed? Yes, Cold Fusion
– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
5What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
3.8.4
What JDK version are you using to run Eclipse? (java -version)
1.4.2_06What JDK version are you using to launch your application server?
1.4.2_06What steps did you take that resulted in the issue?
Tried to type Javascript into a JSP page within MyEclipse, but nothing happens (code completion, etc.)What application server are you using?
Tomcat 5.5Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)
Always lots of exceptions, but none related to the problem I’m reporting.
Riyad KallaMemberAlso give me a sample code snippet of what you are trying to edit so I can reproduce it locally if necessary.
I still need this 😉
The reason I ask is because JavaScript autocomplete IS supported, so I need to know how/where you are trying to use it that it is not working.
Sure, no problem <s>…
The JS function below is defined within the <body> tag of a regular JSP file, yet editing it in MyEclipse doesn’t do anything.
For example, after any “.” between, say, document and form1, MyEclipse doesn’t do anything like it would with regular Java (method, code complete, you name it)…
Thanks in advance.
———————————
<body>
<script language=”javascript”>function selectAllUsers()
{
for (var x = 0; x < form1.userListing.length ; x++)
{
if (form1.chkAllUsers.checked)
{
document.form1.userListing[x].selected = true;
}
else
{
document.form1.userListing[x].selected = false;
}
}
}</script>
Riyad KallaMemberHmm, it seems to be working fine:
NOTE: I believe the only ‘valid’ location for <script> tags is in your <head> section of your page. You might want to double check the HTML spec.
My setup is Win XP Pro, Eclipse 3.0.1, MyEclipse 3.8.4, JDK 1.4.2_06
I always do clean installs, you might want to try and do a -clean (http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-30.html#343) or a clean reintsall of MyEclipse (Removing all the old installs of it)
Did multiple -clean attempts in shortcut.
Tried putting code under <HEAD> Tag.
Tried to disable firewall.
I get NOTHING like you get above.
(The Java .JSP file is “SendMessages.jsp”)
Maybe this will help: if I delete the .log file, open the project, open the JSP, try to click a “.” between document and “form1”, observe nothing happens, close the proejct, and exit eclipse, I get (in the newly created .log file):
————————————————–
!SESSION Feb 03, 2005 11:58:49.703 ———————————————
eclipse.buildId=M200409161125
java.version=1.4.2_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US!ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 Feb 03, 2005 11:58:49.703
!MESSAGE
Feb 3, 2005 11:58:49 AM com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler ?
SEVERE: Javac exception
Error running javac.exe compiler
atorg.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:446)
atorg.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:43)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:936)
atorg.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.?(Unknown Source)
atcom.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(UnknownSource)
at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.?(Unknown Source)
atcom.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.parse(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.JSPValidator.validate(UnknownSource)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction$1.run(Unknown Source)
atorg.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693)
atcom.genuitec.eclipse.wdt.jsp.validation.ValidateAction.validate(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.run(UnknownSource)
at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
atcom.genuitec.eclipse.wdt.jsp.validation.Validator.validateIfNeeded(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(UnknownSource)
at com.ibm.etools.validation.ValidatorLauncher.start(Unknown Source)
atcom.ibm.etools.validate.ValidationOperation.launchValidator(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.internalValidate(UnknownSource)
at com.ibm.etools.validate.ValidationOperation.validate(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.run(UnknownSource)
at com.ibm.etools.validate.ValidationBuilder.build(Unknown Source)
atorg.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:570)
atorg.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
atorg.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:159)
atorg.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:251)
atorg.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:204)
atorg.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
atorg.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
atorg.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
atorg.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:270)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:299)at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:155)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:212)at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
!ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 Feb 03, 2005 11:58:49.718
!MESSAGE Caused by: java.io.IOException: CreateProcess: javac.exe -classpath “C:\eclipse\startup.jar;C:\Program Files\Java\j2re1.4.2_06\lib\rt.jar;C:\ProgramFiles\Java\j2re1.4.2_06\lib\sunrsasign.jar;C:\Program Files\Java\j2re1.4.2_06\lib\jsse.jar;C:\Program Files\Java\j2re1.4.2_06\lib\jce.jar;C:\Program
Files\Java\j2re1.4.2_06\lib\charsets.jar;C:\Program Files\Java\j2re1.4.2_06\lib\ext\dnsns.jar;C:\Program Files\Java\j2re1.4.2_06\lib\ext\ldapsec.jar;C:\Program
Files\Java\j2re1.4.2_06\lib\ext\localedata.jar;C:\Program Files\Java\j2re1.4.2_06\lib\ext\sunjce_provider.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\activation.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jsp.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-j2ee.jar;C:\Program?
at java.lang.Win32Process.create(NativeMethod)
at java.lang.Win32Process.<init>(Unknown Source)
at java.lang.Runtime.execInternal(Native Method)
atjava.lang.Runtime.exec(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
atsun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
atjava.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:831)
atorg.apache.tools.ant.taskdefs.Execute.launch(Execute.java:436)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:450)
atorg.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:443)
… 38 more
— Nested Exception —!ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 Feb 03, 2005 11:58:49.718
!MESSAGE java.io.IOException: CreateProcess: javac.exe -classpath “C:\eclipse\startup.jar;C:\Program Files\Java\j2re1.4.2_06\lib\rt.jar;C:\ProgramFiles\Java\j2re1.4.2_06\lib\sunrsasign.jar;C:\Program Files\Java\j2re1.4.2_06\lib\jsse.jar;C:\Program Files\Java\j2re1.4.2_06\lib\jce.jar;C:\Program
Files\Java\j2re1.4.2_06\lib\charsets.jar;C:\Program Files\Java\j2re1.4.2_06\lib\ext\dnsns.jar;C:\Program Files\Java\j2re1.4.2_06\lib\ext\ldapsec.jar;C:\Program
Files\Java\j2re1.4.2_06\lib\ext\localedata.jar;C:\Program Files\Java\j2re1.4.2_06\lib\ext\sunjce_provider.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\activation.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jsp.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-j2ee.jar;C:\Program?
at java.lang.Win32Process.create(NativeMethod)
at java.lang.Win32Process.<init>(Unknown Source)
at java.lang.Runtime.execInternal(Native Method)
atjava.lang.Runtime.exec(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
atsun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
atjava.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:831)
atorg.apache.tools.ant.taskdefs.Execute.launch(Execute.java:436)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:450)
atorg.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:443)
atorg.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:43)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:936)
atorg.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.?(Unknown Source)
atcom.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(UnknownSource)
at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.?(Unknown Source)
atcom.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.parse(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.JSPValidator.validate(UnknownSource)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction$1.run(Unknown Source)
atorg.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693)
atcom.genuitec.eclipse.wdt.jsp.validation.ValidateAction.validate(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.run(UnknownSource)
at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
atcom.genuitec.eclipse.wdt.jsp.validation.Validator.validateIfNeeded(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(UnknownSource)
at com.ibm.etools.validation.ValidatorLauncher.start(Unknown Source)
atcom.ibm.etools.validate.ValidationOperation.launchValidator(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.internalValidate(UnknownSource)
at com.ibm.etools.validate.ValidationOperation.validate(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.run(UnknownSource)
at com.ibm.etools.validate.ValidationBuilder.build(Unknown Source)
atorg.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:570)
atorg.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
atorg.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:159)
atorg.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:251)
atorg.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:204)
atorg.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
atorg.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
atorg.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
atorg.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:270)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:299)at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:155)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:212)at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
!ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 Feb 03, 2005 11:58:49.718
!MESSAGE Feb 3, 2005 11:58:49 AM com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler ?!ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 Feb 03, 2005 11:58:49.718
!MESSAGE SEVERE: Env: Compile: javaFileName=/C:/DOCUME~1/Jim/LOCALS~1/Temp/myeclipse-jspcc//org/apache/jsp\SendMessages_jsp.java!ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 Feb 03, 2005 11:58:49.718
!MESSAGE classpath=C:\Program Files\Java\j2re1.4.2_06\lib\rt.jar;C:\Program Files\Java\j2re1.4.2_06\lib\sunrsasign.jar;C:\ProgramFiles\Java\j2re1.4.2_06\lib\jsse.jar;C:\Program Files\Java\j2re1.4.2_06\lib\jce.jar;C:\Program Files\Java\j2re1.4.2_06\lib\charsets.jar;C:\Program
Files\Java\j2re1.4.2_06\lib\ext\dnsns.jar;C:\Program Files\Java\j2re1.4.2_06\lib\ext\ldapsec.jar;C:\Program Files\Java\j2re1.4.2_06\lib\ext\localedata.jar;C:\Program
Files\Java\j2re1.4.2_06\lib\ext\sunjce_provider.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\activation.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jsp.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-j2ee.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-jaxrpc.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-jsr77.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-saaj.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\mail.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\namespace.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\xml-apis.jar;C:\eclipse\workspace\ChatApplication\WebRoot\WEB-INF\clas
ses;C:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wdt.jsp.debug_3.8.4\lib\jasper-runtime.jar;C:\Program
Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wdt.jsp.debug_3.8.4\lib\jsp-api.jar
cp=C:\eclipse\startup.jar
cp=C:\ProgramFiles\Java\j2re1.4.2_06\lib\rt.jar
cp=C:\Program Files\Java\j2re1.4.2_06\lib\sunrsasign.jar
cp=C:\Program Files\Java\j2re1.4.2_06\lib\jsse.jarcp=C:\Program Files\Java\j2re1.4.2_06\lib\jce.jar
cp=C:\Program Files\Java\j2re1.4.2_06\lib\charsets.jar
cp=C:\ProgramFiles\Java\j2re1.4.2_06\lib\ext\dnsns.jar
cp=C:\Program Files\Java\j2re1.4.2_06\lib\ext\ldapsec.jar
cp=C:\ProgramFiles\Java\j2re1.4.2_06\lib\ext\localedata.jar
cp=C:\Program Files\Java\j2re1.4.2_06\lib\ext\sunjce_provider.jar
cp=C:\ProgramFiles\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\activation.jar
cp=C:\ProgramFiles\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jar
cp=C:\ProgramFiles\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jsp.jar
cp=C:\ProgramFiles\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-j2ee.jar
cp=C:\ProgramFiles\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-jaxrpc.jar
cp=C:\ProgramFiles\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-jsr77.jar
cp=C:\ProgramFiles\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-saaj.jar
cp=C:\ProgramFiles\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\mail.jar
cp=C:\ProgramFiles\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\namespace.jar
cp=C:\ProgramFiles\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\xml-apis.jar
cp=C:\eclipse\workspace\ChatApplication\WebRoot\WEB-INF\classes
cp=C:\ProgramFiles\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wdt.jsp.debug_3.8.4\lib\jasper-runtime.jar
cp=C:\ProgramFiles\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wdt.jsp.debug_3.8.4\lib\jsp-api.jar
work dir=C:\DOCUME~1\Jim\LOCALS~1\Temp\myeclipse-jspccextension dir=C:\Program Files\Java\j2re1.4.2_06\lib\ext
srcDir=C:\DOCUME~1\Jim\LOCALS~1\Temp\myeclipse-jspcc
compiler=extJavacinclude=org/apache/jsp/SendMessages_jsp.java
Riyad KallaMemberOk independent of the autocomplete issue, you need to edit the shortcut you use to start MyEclipse and add the -vm argument to it and point it at the java or javaw executable FROM your JDK install, then MyEclipse will stop giving you those “javac process” exceptions AND will be able to validate your JSP pages for you.
SO your shortcut should look something like this:
c:\eclipse\eclipse.exe -vm c:\j2sdk1.4.2_06\bin\javaw.exe -vmargs -Xmx256m
OK, thanks.
You’re still going to help me figure out why Javascirpt support isn’t working though, right? <s>
Look forward to hearing from you.
— M
Riyad KallaMemberYou’re still going to help me figure out why Javascirpt support isn’t working though, right? <s>
Yes, I need you to do the clean reinstall of Eclipse AND MyEclipse before we continue. Please make sure you redownlaod the SDK and MyEclipse installs and unzip them to new areas and create a new workspace. We need to rule out all variables to figure out what is going on.
This is a drastic thing I have to do. I was hoping there would be an easier way to fix this…
Can I just move all my projects in to the new install directory by copying all the project directories under Workspace?
Please let me know.
— M
Riyad KallaMemberThis is a drastic thing I have to do. I was hoping there would be an easier way to fix this…
So was I, but it seems we have tried all that. I want to rule out everything first.
Can I just move all my projects in to the new install directory by copying all the project directories under Workspace?
We aren’t there yet, the purpose of me asking you to do a full new install of Eclipse and MyEclipse is so we can even see if a brand new fresh install works.. if THAT doesn’t work either, then there is no where to go. But if that new install does work, then we can shut it down, and then start it back up with -clean and point at your existing workspace and viola, you are done.
What do you mean we have no where to go? If MyEclipse supports Javascript, then we have to find a solution, right?
I’ll download the files and start on the fresh install, test the JSP, and get back to you later today.
— M
OK, Installed fresh Eclipse, Fresh MyEclipse.
Tried to run this code:
<head>
<script language=”javascript”>
function selectAllUsers()
{
document.
}</script>
After the “.” in document above, NOTHING happnens.
Can you please tell me what I can try next?
Thanks.
— M
Riyad KallaMemberOK, Installed fresh Eclipse, Fresh MyEclipse.
Also a fresh workspace?
<head>
<script language=”javascript”>
function selectAllUsers()
{
document.
}</script>
After the “.” in document above, NOTHING happnens.
Did you create a JSP page using our New > File > JSP wizard?
Can you please tell me what I can try next?
Close all the editors, right-click on the JSP file and select “Open With” then “MyEclipse JSP Editor”. Try try the same use case as before, does it still not work?
-
AuthorPosts