facebook

No JavaScript autocomplete

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • #224341 Reply

    Mork
    Participant

    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

    #224361 Reply

    Riyad Kalla
    Member

    M,
    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.

    #224367 Reply

    Mork
    Participant

    What operating system and version are you running?
    xp Pro

    What 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.*
    5

    What 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_06

    What JDK version are you using to launch your application server?
    1.4.2_06

    What 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.5

    Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)

    Always lots of exceptions, but none related to the problem I’m reporting.

    #224368 Reply

    Riyad Kalla
    Member

    Also 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.

    #224370 Reply

    Mork
    Participant

    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>

    #224372 Reply

    Riyad Kalla
    Member

    Hmm, 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)

    #224376 Reply

    Mork
    Participant

    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
    at

    org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:446)
    at

    org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:43)
    at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:936)
    at

    org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
    at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.?(Unknown Source)
    at

    com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown

    Source)
    at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.?(Unknown Source)
    at

    com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.parse(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.JSPValidator.validate(Unknown

    Source)
    at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction$1.run(Unknown Source)
    at

    org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693)
    at

    com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.validate(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.run(Unknown

    Source)
    at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
    at

    com.genuitec.eclipse.wdt.jsp.validation.Validator.validateIfNeeded(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown

    Source)
    at com.ibm.etools.validation.ValidatorLauncher.start(Unknown Source)
    at

    com.ibm.etools.validate.ValidationOperation.launchValidator(Unknown Source)
    at com.ibm.etools.validate.ValidationOperation.internalValidate(Unknown

    Source)
    at com.ibm.etools.validate.ValidationOperation.validate(Unknown Source)
    at com.ibm.etools.validate.ValidationOperation.run(Unknown

    Source)
    at com.ibm.etools.validate.ValidationBuilder.build(Unknown Source)
    at

    org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:570)
    at

    org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at

    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:159)
    at

    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:251)
    at

    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:204)
    at

    org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
    at

    org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at

    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
    at

    org.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:\Program

    Files\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(Native

    Method)
    at java.lang.Win32Process.<init>(Unknown Source)
    at java.lang.Runtime.execInternal(Native Method)
    at

    java.lang.Runtime.exec(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at

    sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at

    java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:831)
    at

    org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:436)
    at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:450)
    at

    org.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:\Program

    Files\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(Native

    Method)
    at java.lang.Win32Process.<init>(Unknown Source)
    at java.lang.Runtime.execInternal(Native Method)
    at

    java.lang.Runtime.exec(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at

    sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at

    java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:831)
    at

    org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:436)
    at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:450)
    at

    org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:443)
    at

    org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:43)
    at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:936)
    at

    org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
    at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.?(Unknown Source)
    at

    com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown

    Source)
    at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.?(Unknown Source)
    at

    com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.parse(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.JSPValidator.validate(Unknown

    Source)
    at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction$1.run(Unknown Source)
    at

    org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693)
    at

    com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.validate(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.run(Unknown

    Source)
    at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
    at

    com.genuitec.eclipse.wdt.jsp.validation.Validator.validateIfNeeded(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown

    Source)
    at com.ibm.etools.validation.ValidatorLauncher.start(Unknown Source)
    at

    com.ibm.etools.validate.ValidationOperation.launchValidator(Unknown Source)
    at com.ibm.etools.validate.ValidationOperation.internalValidate(Unknown

    Source)
    at com.ibm.etools.validate.ValidationOperation.validate(Unknown Source)
    at com.ibm.etools.validate.ValidationOperation.run(Unknown

    Source)
    at com.ibm.etools.validate.ValidationBuilder.build(Unknown Source)
    at

    org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:570)
    at

    org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at

    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:159)
    at

    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:251)
    at

    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:204)
    at

    org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
    at

    org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at

    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
    at

    org.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:\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

    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:\Program

    Files\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.jar

    cp=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:\Program

    Files\Java\j2re1.4.2_06\lib\ext\dnsns.jar
    cp=C:\Program Files\Java\j2re1.4.2_06\lib\ext\ldapsec.jar
    cp=C:\Program

    Files\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:\Program

    Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\activation.jar
    cp=C:\Program

    Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jar
    cp=C:\Program

    Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jsp.jar
    cp=C:\Program

    Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-j2ee.jar
    cp=C:\Program

    Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-jaxrpc.jar
    cp=C:\Program

    Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-jsr77.jar
    cp=C:\Program

    Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-saaj.jar
    cp=C:\Program

    Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\mail.jar
    cp=C:\Program

    Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\namespace.jar
    cp=C:\Program

    Files\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:\Program

    Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wdt.jsp.debug_3.8.4\lib\jasper-runtime.jar
    cp=C:\Program

    Files\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-jspcc

    extension dir=C:\Program Files\Java\j2re1.4.2_06\lib\ext
    srcDir=C:\DOCUME~1\Jim\LOCALS~1\Temp\myeclipse-jspcc
    compiler=extJavac

    include=org/apache/jsp/SendMessages_jsp.java

    #224377 Reply

    Riyad Kalla
    Member

    Ok 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
    
    #224380 Reply

    Mork
    Participant

    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

    #224382 Reply

    Riyad Kalla
    Member

    You’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.

    #224391 Reply

    Mork
    Participant

    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

    #224394 Reply

    Riyad Kalla
    Member

    This 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.

    #224396 Reply

    Mork
    Participant

    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

    #224407 Reply

    Mork
    Participant

    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

    #224409 Reply

    Riyad Kalla
    Member

    OK, 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?

Viewing 15 posts - 1 through 15 (of 25 total)
Reply To: No JavaScript autocomplete

You must be logged in to post in the forum log in