Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Today's Messages (off)  | Unanswered Messages (on)

Forum: Java Development Tools (JDT)
 Topic: Please Help Asap!!!
Please Help Asap!!! [message #1060513] Sat, 25 May 2013 15:18
Anthony Anderson is currently offline Anthony Anderson
Messages: 1
Registered: May 2013
Junior Member
When I try to open Eclipse I get a error that says

Failed To Load The Jni shared library "C:\Program Files
\Java\ jdk1.7.0_21\bin\server\jvm.dll".

Also I'm learning to make android apps if this helps.
 Topic: Configuring mercurial SCM to eclipse Helios
icon7.gif  Configuring mercurial SCM to eclipse Helios [message #1060098] Thu, 23 May 2013 02:35
Umesh Annegirikar is currently offline Umesh Annegirikar
Messages: 1
Registered: May 2013
Junior Member
Hello Team

I am using Eclipse Helios 3.2 for my webapps devlopment,currently i am trying to configure the Mercurial SCM in Eclipse Helios it is configured successfully but it shows the error HG root not known for the current project when i want to synchronize the current project with remote repository please let me know why this error comes?
is there any issue with configuration of Mercurial?

Please guide me

Thanks in Advance

Umesh Annegirikar
 Topic: Changing Native Logging Behavior
Changing Native Logging Behavior [message #1060057] Wed, 22 May 2013 14:09
Felix Smith is currently offline Felix Smith
Messages: 1
Registered: May 2013
Junior Member
Hey all,

I'm trying to configure eclipse such that only select types of errors are posted to the log file.

An example of this is if I have 3 errors: ERROR, WARNING, INFO. And I just want to display the WARNING type errors in the error log.

How would I go about doing this? I tried changing the config.ini file and .options file to no avail.

My code to test these 3 types of errors is as follows:
Activator.getDefault().getLog().log(new Status(IStatus.INFO, Activator.PLUGIN_ID, 0, "<<INFO>>", new Exception("INFO")));

Activator.getDefault().getLog().log(new Status(IStatus.WARNING, Activator.PLUGIN_ID, 0, "<<WARNING>>", new Exception("WARNING")));

Activator.getDefault().getLog().log(new Status(IStatus.ERROR, Activator.PLUGIN_ID, 0, "<<ERROR>>", new Exception("ERROR")));


And as a side note, in my config.ini file I added the line "eclipse.log.level = WARNING" but of course this did nothing.

Any help at all as to what to do to only display WARNING type errors for example would be greatly appreciated!
 Topic: Why does ant not compile
Why does ant not compile [message #1060038] Wed, 22 May 2013 11:23
Steve Howerton is currently offline Steve Howerton
Messages: 5
Registered: April 2013
Junior Member
I just starting building projects with and and eclipse ide. everything I try to import does not compile. I have added jar files to the lib or eclipse and the program runs in eclipse fine.
Why does ant not compile and build the project? How would I begin to fix the compile errors listed?
thanks



compile:
     [echo] "
     [echo]
     [echo] ================================================
     [echo]       COMPILE
     [echo] ================================================
     [echo]
     [echo] "
     [echo] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
mma.build.ant.first\src
     [echo] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
mma.build.ant.first\build
    [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
mma.build.ant.first\build.xml:120: warning: 'includeantruntime' was not set
, defaulting to build.sysclasspath=last; set to false for repeatable builds

    [javac] Compiling 8 source files to C:\Users\Steves\Documents\ceyesumma
\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisu
mma.build.ant.first\com.cisumma.build.ant.first\build\classes
    [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
mma.build.ant.first\src\model\Bar.java:3: error: package org.apache.log4j d
oes not exist
    [javac] import org.apache.log4j.Logger;
    [javac]                        ^
    [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
mma.build.ant.first\src\model\Bar.java:6: error: cannot find symbol
    [javac]     public static Logger logger = Logger.getLogger(Bar.class);
    [javac]                   ^
    [javac]   symbol:   class Logger
    [javac]   location: class Bar
    [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
mma.build.ant.first\src\model\Main.java:11: error: package org.apache.log4j
 does not exist
    [javac] import org.apache.log4j.Logger;
    [javac]                        ^
    [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
mma.build.ant.first\src\model\Main.java:12: error: package org.apache.log4j
 does not exist
    [javac] import org.apache.log4j.BasicConfigurator;
    [javac]                        ^
    [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
mma.build.ant.first\src\model\Main.java:14: error: package com.toedter.cale
ndar does not exist
    [javac] import com.toedter.calendar.JCalendar;
    [javac]                            ^
    [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
mma.build.ant.first\src\model\Main.java:20: error: cannot find symbol
    [javac]     public static Logger logger = Logger.getLogger(Main.class);

    [javac]                   ^
    [javac]   symbol:   class Logger
    [javac]   location: class Main
    [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
mma.build.ant.first\src\model\Bar.java:6: error: cannot find symbol
    [javac]     public static Logger logger = Logger.getLogger(Bar.class);
    [javac]                                   ^
    [javac]   symbol:   variable Logger
    [javac]   location: class Bar
    [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
mma.build.ant.first\src\model\Main.java:20: error: cannot find symbol
    [javac]     public static Logger logger = Logger.getLogger(Main.class);

    [javac]                                   ^
    [javac]   symbol:   variable Logger
    [javac]   location: class Main
    [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
mma.build.ant.first\src\model\Main.java:30: error: cannot find symbol
    [javac]             BasicConfigurator.configure();
    [javac]             ^
    [javac]   symbol:   variable BasicConfigurator
    [javac]   location: class Main
    [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
mma.build.ant.first\src\model\Main.java:53: error: cannot find symbol
    [javac]             JCalendar myJCalendar = new JCalendar();
    [javac]             ^
    [javac]   symbol:   class JCalendar
    [javac]   location: class Main
    [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
mma.build.ant.first\src\model\Main.java:53: error: cannot find symbol
    [javac]             JCalendar myJCalendar = new JCalendar();
    [javac]                                         ^
    [javac]   symbol:   class JCalendar
    [javac]   location: class Main
    [javac] 11 errors

BUILD FAILED
C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisu
mma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.an
t.first\build.xml:120: Compile failed; see the compiler error output for de
tails.

Total time: 2 seconds
C:\ant\apache-ant-1.8.1\bin>


 Topic: run jar file
run jar file [message #1060036] Wed, 22 May 2013 11:21
Steve Howerton is currently offline Steve Howerton
Messages: 5
Registered: April 2013
Junior Member
I am learning to build.xml a project with eclipse ide.
below is the MANIFEST.MF that I am creating.
The build shows that the manifest is being written in the dir structure below.
The dir META-INF (sibling to the src) contains this MANIFEST.MF





Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.1
Created-By: Apache Ant version 1.8.1 compiled on April 30 2010
Built-By: Steves
Main-Class: build.classes.model.Main 
Implementation-Version: 1.0-b0
Built-Date: <tstamp />
Class-Path: build\lib\jcalendar.jar


05/06/2013  06:38 AM    <DIR>          .
05/06/2013  06:38 AM    <DIR>          ..
04/07/2013  07:18 AM               864 .classpath
04/02/2013  06:35 AM               688 .project
05/06/2013  06:38 AM    <DIR>          bin
05/06/2013  06:38 AM    <DIR>          build
05/05/2013  11:03 AM            15,307 build.properties
05/06/2013  06:32 AM             5,405 build.xml
04/10/2013  10:23 AM             2,612 build_output.xml
05/05/2013  11:08 AM             9,052 build_test.xml
05/06/2013  06:32 AM           328,533 dist.zip.jar
05/06/2013  06:38 AM    <DIR>          img
05/14/2011  12:20 AM            68,310 jcalendar.jar
03/31/2013  07:00 PM           220,183 junit.jar
04/08/2013  05:53 PM               242 MANIFEST.MF
05/06/2013  06:38 AM    <DIR>          META-INF
04/11/2013  03:26 AM             1,421 README.txt
05/06/2013  06:38 AM    <DIR>          src
04/05/2013  06:21 PM            44,599 sys.txt
04/05/2013  06:24 PM               366 temp.txt
              13 File(s)        697,582 bytes
               7 Dir(s)  710,885,691,392 bytes free



the following MANIFEST.MF is in the jar file too.
it is in the bin dir of the jar file.



Manifest-Version: 1.0
Main-Class: com.toedter.calendar.JCalendarDemo
Created-By: Ant 1.4.1

Name: com/toedter/components/JSpinField.class
Java-Bean: True

Name: com/toedter/calendar/JDayChooser.class
Java-Bean: True

Name: com/toedter/calendar/JCalendar.class
Java-Bean: True

Name: com/toedter/calendar/JMonthChooser.class
Java-Bean: True

Name: com/toedter/calendar/JYearChooser.class
Java-Bean: True

Name: com/toedter/components/JLocaleChooser.class
Java-Bean: True



I am attempting to run the dist.jar.
below is the error. Why does my project never find the Main of my app?
Thanks.


C:\Program Files\Java\jdk1.7.0_15\bin>java -jar %TARGET%\dist\dist.jar
Exception in thread "main" java.lang.NoClassDefFoundError: build/classes/mo
del/Main (wrong name: model/Main)
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.ja
va:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java
:482)

C:\Program Files\Java\jdk1.7.0_15\bin>



a look inside my dist.jar note that the dir "build.classes.model.Main" is the Main I would like to have found.


C:\Program Files\Java\jdk1.7.0_15\bin>jar -tvf %TARGET%\dist\dist.jar
     0 Sun May 05 11:08:58 CDT 2013 META-INF/
   270 Sun May 05 11:08:56 CDT 2013 META-INF/MANIFEST.MF
   864 Sun Apr 07 07:18:10 CDT 2013 .classpath
   688 Tue Apr 02 06:35:20 CDT 2013 .project
   242 Mon Apr 08 17:53:58 CDT 2013 MANIFEST.MF
  1421 Thu Apr 11 03:26:52 CDT 2013 README.txt
     0 Sun May 05 10:02:50 CDT 2013 bin/
     0 Sun May 05 10:02:50 CDT 2013 bin/META-INF/
   493 Wed Jul 17 15:44:52 CDT 2002 bin/META-INF/MANIFEST.MF
     0 Sun May 05 10:02:50 CDT 2013 bin/model/
   940 Sun May 05 10:02:50 CDT 2013 bin/model/Main.class
     0 Sun May 05 10:02:50 CDT 2013 bin/model/math/
   385 Sun May 05 10:02:50 CDT 2013 bin/model/math/MyMath.class
     0 Sun May 05 10:02:50 CDT 2013 bin/view/
   498 Sun May 05 10:02:50 CDT 2013 bin/view/AboutControl.class
  2154 Sun May 05 10:02:50 CDT 2013 bin/view/AboutPopup.class
   513 Sun May 05 10:02:50 CDT 2013 bin/view/ExitControl.class
  1265 Sun May 05 10:02:50 CDT 2013 bin/view/UKLights.class
 15307 Sun May 05 11:03:16 CDT 2013 build.properties
  5398 Wed Apr 24 07:00:00 CDT 2013 build.xml
     0 Sun May 05 11:08:58 CDT 2013 build/
     0 Sun May 05 11:08:58 CDT 2013 build/META-INF/
   270 Sun May 05 11:08:58 CDT 2013 build/META-INF/MANIFEST.MF
     0 Sun May 05 11:08:58 CDT 2013 build/classes/
     0 Sun May 05 11:08:58 CDT 2013 build/classes/model/
   988 Sun May 05 11:08:58 CDT 2013 build/classes/model/Main.class
     0 Sun May 05 11:08:58 CDT 2013 build/classes/model/math/
   385 Sun May 05 11:08:58 CDT 2013 build/classes/model/math/MyMath.class
     0 Sun May 05 11:08:58 CDT 2013 build/classes/view/
   500 Sun May 05 11:08:58 CDT 2013 build/classes/view/AboutControl.class
  2071 Sun May 05 11:08:58 CDT 2013 build/classes/view/AboutPopup.class
   513 Sun May 05 11:08:58 CDT 2013 build/classes/view/ExitControl.class
  1265 Sun May 05 11:08:58 CDT 2013 build/classes/view/UKLights.class
     0 Sun May 05 11:08:58 CDT 2013 build/lib/
 68310 Sun May 05 11:08:58 CDT 2013 build/lib/jcalendar.jar
     0 Sun May 05 11:08:58 CDT 2013 build/main/
     0 Sun May 05 11:08:58 CDT 2013 build/main/model/
   988 Sun May 05 11:08:58 CDT 2013 build/main/model/Main.class
     0 Sun May 05 11:08:58 CDT 2013 build/main/model/math/
   385 Sun May 05 11:08:58 CDT 2013 build/main/model/math/MyMath.class
     0 Sun May 05 11:08:58 CDT 2013 build/main/view/
   500 Sun May 05 11:08:58 CDT 2013 build/main/view/AboutControl.class
  2071 Sun May 05 11:08:58 CDT 2013 build/main/view/AboutPopup.class
   513 Sun May 05 11:08:58 CDT 2013 build/main/view/ExitControl.class
  1265 Sun May 05 11:08:58 CDT 2013 build/main/view/UKLights.class
     0 Sun May 05 11:08:58 CDT 2013 build/test/
     0 Sun May 05 11:08:58 CDT 2013 build/test/model/
   988 Sun May 05 11:08:58 CDT 2013 build/test/model/Main.class
     0 Sun May 05 11:08:58 CDT 2013 build/test/model/math/
   385 Sun May 05 11:08:58 CDT 2013 build/test/model/math/MyMath.class
     0 Sun May 05 11:08:58 CDT 2013 build/test/view/
   500 Sun May 05 11:08:58 CDT 2013 build/test/view/AboutControl.class
  2071 Sun May 05 11:08:58 CDT 2013 build/test/view/AboutPopup.class
   513 Sun May 05 11:08:58 CDT 2013 build/test/view/ExitControl.class
  1265 Sun May 05 11:08:58 CDT 2013 build/test/view/UKLights.class
  2612 Wed Apr 10 10:23:20 CDT 2013 build_output.xml
  9052 Sun May 05 11:08:48 CDT 2013 build_test.xml
     0 Tue Apr 23 10:28:58 CDT 2013 img/
 62417 Thu Mar 25 22:35:10 CDT 2010 img/Paradise.jpg
 68310 Sat May 14 00:20:08 CDT 2011 jcalendar.jar
220183 Sun Mar 31 19:00:00 CDT 2013 junit.jar
     0 Tue Apr 23 10:29:16 CDT 2013 src/
     0 Mon Apr 08 05:43:36 CDT 2013 src/META-INF/
   493 Wed Jul 17 15:44:52 CDT 2002 src/META-INF/MANIFEST.MF
     0 Tue Apr 09 05:41:18 CDT 2013 src/model/
   518 Tue Apr 23 09:45:42 CDT 2013 src/model/Main.java
     0 Tue Apr 02 06:03:54 CDT 2013 src/model/math/
   138 Mon Apr 01 12:44:20 CDT 2013 src/model/math/MyMath.java
     0 Wed Apr 24 06:46:56 CDT 2013 src/view/
   179 Wed Apr 24 06:47:12 CDT 2013 src/view/AboutControl.java
  1322 Wed Apr 24 06:50:54 CDT 2013 src/view/AboutPopup.java
   178 Wed Apr 24 06:45:18 CDT 2013 src/view/ExitControl.java
   841 Wed Apr 24 06:44:00 CDT 2013 src/view/UKLights.java
 44599 Fri Apr 05 18:21:22 CDT 2013 sys.txt
   366 Fri Apr 05 18:24:22 CDT 2013 temp.txt

C:\Program Files\Java\jdk1.7.0_15\bin>

 Topic: no class found
no class found [message #1060035] Wed, 22 May 2013 11:19
Steve Howerton is currently offline Steve Howerton
Messages: 5
Registered: April 2013
Junior Member
I am learning to build.xml a project with eclipse ide.
below is the MANIFEST.MF that I am creating.
The build shows that the manifest is being written in the dir structure below.
The dir META-INF (sibling to the src) contains this MANIFEST.MF





Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.1
Created-By: Apache Ant version 1.8.1 compiled on April 30 2010
Built-By: Steves
Main-Class: build.classes.model.Main 
Implementation-Version: 1.0-b0
Built-Date: <tstamp />
Class-Path: build\lib\jcalendar.jar


05/06/2013  06:38 AM    <DIR>          .
05/06/2013  06:38 AM    <DIR>          ..
04/07/2013  07:18 AM               864 .classpath
04/02/2013  06:35 AM               688 .project
05/06/2013  06:38 AM    <DIR>          bin
05/06/2013  06:38 AM    <DIR>          build
05/05/2013  11:03 AM            15,307 build.properties
05/06/2013  06:32 AM             5,405 build.xml
04/10/2013  10:23 AM             2,612 build_output.xml
05/05/2013  11:08 AM             9,052 build_test.xml
05/06/2013  06:32 AM           328,533 dist.zip.jar
05/06/2013  06:38 AM    <DIR>          img
05/14/2011  12:20 AM            68,310 jcalendar.jar
03/31/2013  07:00 PM           220,183 junit.jar
04/08/2013  05:53 PM               242 MANIFEST.MF
05/06/2013  06:38 AM    <DIR>          META-INF
04/11/2013  03:26 AM             1,421 README.txt
05/06/2013  06:38 AM    <DIR>          src
04/05/2013  06:21 PM            44,599 sys.txt
04/05/2013  06:24 PM               366 temp.txt
              13 File(s)        697,582 bytes
               7 Dir(s)  710,885,691,392 bytes free



the following MANIFEST.MF is in the jar file too.
it is in the bin dir of the jar file.



Manifest-Version: 1.0
Main-Class: com.toedter.calendar.JCalendarDemo
Created-By: Ant 1.4.1

Name: com/toedter/components/JSpinField.class
Java-Bean: True

Name: com/toedter/calendar/JDayChooser.class
Java-Bean: True

Name: com/toedter/calendar/JCalendar.class
Java-Bean: True

Name: com/toedter/calendar/JMonthChooser.class
Java-Bean: True

Name: com/toedter/calendar/JYearChooser.class
Java-Bean: True

Name: com/toedter/components/JLocaleChooser.class
Java-Bean: True



I am attempting to run the dist.jar.
below is the error. Why does my project never find the Main of my app?
Thanks.


C:\Program Files\Java\jdk1.7.0_15\bin>java -jar %TARGET%\dist\dist.jar
Exception in thread "main" java.lang.NoClassDefFoundError: build/classes/mo
del/Main (wrong name: model/Main)
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.ja
va:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java
:482)

C:\Program Files\Java\jdk1.7.0_15\bin>



a look inside my dist.jar note that the dir "build.classes.model.Main" is the Main I would like to have found.


C:\Program Files\Java\jdk1.7.0_15\bin>jar -tvf %TARGET%\dist\dist.jar
     0 Sun May 05 11:08:58 CDT 2013 META-INF/
   270 Sun May 05 11:08:56 CDT 2013 META-INF/MANIFEST.MF
   864 Sun Apr 07 07:18:10 CDT 2013 .classpath
   688 Tue Apr 02 06:35:20 CDT 2013 .project
   242 Mon Apr 08 17:53:58 CDT 2013 MANIFEST.MF
  1421 Thu Apr 11 03:26:52 CDT 2013 README.txt
     0 Sun May 05 10:02:50 CDT 2013 bin/
     0 Sun May 05 10:02:50 CDT 2013 bin/META-INF/
   493 Wed Jul 17 15:44:52 CDT 2002 bin/META-INF/MANIFEST.MF
     0 Sun May 05 10:02:50 CDT 2013 bin/model/
   940 Sun May 05 10:02:50 CDT 2013 bin/model/Main.class
     0 Sun May 05 10:02:50 CDT 2013 bin/model/math/
   385 Sun May 05 10:02:50 CDT 2013 bin/model/math/MyMath.class
     0 Sun May 05 10:02:50 CDT 2013 bin/view/
   498 Sun May 05 10:02:50 CDT 2013 bin/view/AboutControl.class
  2154 Sun May 05 10:02:50 CDT 2013 bin/view/AboutPopup.class
   513 Sun May 05 10:02:50 CDT 2013 bin/view/ExitControl.class
  1265 Sun May 05 10:02:50 CDT 2013 bin/view/UKLights.class
 15307 Sun May 05 11:03:16 CDT 2013 build.properties
  5398 Wed Apr 24 07:00:00 CDT 2013 build.xml
     0 Sun May 05 11:08:58 CDT 2013 build/
     0 Sun May 05 11:08:58 CDT 2013 build/META-INF/
   270 Sun May 05 11:08:58 CDT 2013 build/META-INF/MANIFEST.MF
     0 Sun May 05 11:08:58 CDT 2013 build/classes/
     0 Sun May 05 11:08:58 CDT 2013 build/classes/model/
   988 Sun May 05 11:08:58 CDT 2013 build/classes/model/Main.class
     0 Sun May 05 11:08:58 CDT 2013 build/classes/model/math/
   385 Sun May 05 11:08:58 CDT 2013 build/classes/model/math/MyMath.class
     0 Sun May 05 11:08:58 CDT 2013 build/classes/view/
   500 Sun May 05 11:08:58 CDT 2013 build/classes/view/AboutControl.class
  2071 Sun May 05 11:08:58 CDT 2013 build/classes/view/AboutPopup.class
   513 Sun May 05 11:08:58 CDT 2013 build/classes/view/ExitControl.class
  1265 Sun May 05 11:08:58 CDT 2013 build/classes/view/UKLights.class
     0 Sun May 05 11:08:58 CDT 2013 build/lib/
 68310 Sun May 05 11:08:58 CDT 2013 build/lib/jcalendar.jar
     0 Sun May 05 11:08:58 CDT 2013 build/main/
     0 Sun May 05 11:08:58 CDT 2013 build/main/model/
   988 Sun May 05 11:08:58 CDT 2013 build/main/model/Main.class
     0 Sun May 05 11:08:58 CDT 2013 build/main/model/math/
   385 Sun May 05 11:08:58 CDT 2013 build/main/model/math/MyMath.class
     0 Sun May 05 11:08:58 CDT 2013 build/main/view/
   500 Sun May 05 11:08:58 CDT 2013 build/main/view/AboutControl.class
  2071 Sun May 05 11:08:58 CDT 2013 build/main/view/AboutPopup.class
   513 Sun May 05 11:08:58 CDT 2013 build/main/view/ExitControl.class
  1265 Sun May 05 11:08:58 CDT 2013 build/main/view/UKLights.class
     0 Sun May 05 11:08:58 CDT 2013 build/test/
     0 Sun May 05 11:08:58 CDT 2013 build/test/model/
   988 Sun May 05 11:08:58 CDT 2013 build/test/model/Main.class
     0 Sun May 05 11:08:58 CDT 2013 build/test/model/math/
   385 Sun May 05 11:08:58 CDT 2013 build/test/model/math/MyMath.class
     0 Sun May 05 11:08:58 CDT 2013 build/test/view/
   500 Sun May 05 11:08:58 CDT 2013 build/test/view/AboutControl.class
  2071 Sun May 05 11:08:58 CDT 2013 build/test/view/AboutPopup.class
   513 Sun May 05 11:08:58 CDT 2013 build/test/view/ExitControl.class
  1265 Sun May 05 11:08:58 CDT 2013 build/test/view/UKLights.class
  2612 Wed Apr 10 10:23:20 CDT 2013 build_output.xml
  9052 Sun May 05 11:08:48 CDT 2013 build_test.xml
     0 Tue Apr 23 10:28:58 CDT 2013 img/
 62417 Thu Mar 25 22:35:10 CDT 2010 img/Paradise.jpg
 68310 Sat May 14 00:20:08 CDT 2011 jcalendar.jar
220183 Sun Mar 31 19:00:00 CDT 2013 junit.jar
     0 Tue Apr 23 10:29:16 CDT 2013 src/
     0 Mon Apr 08 05:43:36 CDT 2013 src/META-INF/
   493 Wed Jul 17 15:44:52 CDT 2002 src/META-INF/MANIFEST.MF
     0 Tue Apr 09 05:41:18 CDT 2013 src/model/
   518 Tue Apr 23 09:45:42 CDT 2013 src/model/Main.java
     0 Tue Apr 02 06:03:54 CDT 2013 src/model/math/
   138 Mon Apr 01 12:44:20 CDT 2013 src/model/math/MyMath.java
     0 Wed Apr 24 06:46:56 CDT 2013 src/view/
   179 Wed Apr 24 06:47:12 CDT 2013 src/view/AboutControl.java
  1322 Wed Apr 24 06:50:54 CDT 2013 src/view/AboutPopup.java
   178 Wed Apr 24 06:45:18 CDT 2013 src/view/ExitControl.java
   841 Wed Apr 24 06:44:00 CDT 2013 src/view/UKLights.java
 44599 Fri Apr 05 18:21:22 CDT 2013 sys.txt
   366 Fri Apr 05 18:24:22 CDT 2013 temp.txt

C:\Program Files\Java\jdk1.7.0_15\bin>

 Topic: IJavaProject without Eclipse Environment
IJavaProject without Eclipse Environment [message #1059999] Wed, 22 May 2013 09:50
Burak Emre Kabakcı is currently offline Burak Emre Kabakcı
Messages: 2
Registered: May 2013
Junior Member
I have an exported Eclipse Java Project in my server and I want to be able to compile the project and use proposals programmatically with JDT.

I'm able to compile the project using BatchCompiler, however it runs on console and gives me PrintWriters instead of an array of problems and errors. Also I want to be able to use proposals in Eclipse and BatchCompiler didn't built for this purpose.

Therefore I tried to use ASTParser, it can be used with either char[] or ICompilationUnit. CompletionProposalCollector and org.eclipse.jdt.internal.compiler.Compiler.Compiler needs ICompilationUnit so I have to create an ICompilationUnit which only can be created by an IJavaProject (dl.dropboxusercontent.com/u/10773282/2012/eclipse_workspace.pdf) in order to be able to use these features.

It seems the only way to create IJavaProject is to use ResourcesPlugin.getWorkspace(), however it returns java.lang.IllegalStateException: Workspace is closed. on my computer and it seems the reason is that the program that I coded is not an Eclipse plug-in.

Is there any way to create IJavaProject without Eclipse environment?
 Topic: I want my perspective button bar back
I want my perspective button bar back [message #1059825] Tue, 21 May 2013 14:15
Marc Ewert is currently offline Marc Ewert
Messages: 3
Registered: December 2012
Junior Member
Hi,

is there any chance that we can get back the perspective button bar from the pre 4.x eclipse versions? I know so many people that are still using the version 3.7 or 3.8 because of the unfinished refactoring of the perspective button bar.

Why was it changed in such an inconvenient and unfinshed way? It's like driving a perfect car until a new designer arrives, who decides to move the direction-indicator control somewhere on the door on the passenger's side.

Is it really only a minority which bothers about the usability of the new perspective buttons, or are there many people who wants the dedicated perspective button bar back?

 Topic: JSP is not opening in Eclipse Juno
JSP is not opening in Eclipse Juno [message #1059746] Tue, 21 May 2013 09:51
ram ram is currently offline ram ram
Messages: 1
Registered: May 2013
Junior Member
JSP is not opening in Eclipse Juno Service Release 2.getting below exception while opening JSP page which has JSTL tags.Please refer screenshot for error details.

java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "=c"
at java.net.URLDecoder.decode(Unknown Source)
at org.eclipse.jst.pagedesigner.utils.ProjectResolver.getLocationByURI(ProjectResolver.java:372)
 Topic: eclipse shortcuts
eclipse shortcuts [message #1059710] Tue, 21 May 2013 06:17
Wang Guohui is currently offline Wang Guohui
Messages: 1
Registered: May 2013
Junior Member
Hi, I am a JAVA developer from China.
I have used Eclipse for 2 years in Windows that OS's language is Chinese.I'm becoming acclimated to the default shortcuts of eclipse in Chinese Windows.
Now I am working in an American company.The OS's language is English. I decompressed the same eclipse.zip file into the computer. I found that the default shortcuts were different from before. This makes me very uncomfortable.I don't wanna modify the shortcuts one by one. Is there any better idea?

By the way, there is one thing confused me. Why the default shortcuts reference to the operation system's language?



Current Time: Tue May 28 06:05:23 EDT 2013

Powered by FUDForum. Page generated in 0.11732 seconds