Browse Source

Misc

master
Skia 3 years ago
parent
commit
39a2228a2a
33 changed files with 743 additions and 0 deletions
  1. BIN
      JDBC/bin/dblab/shop/transactions/sql/Output.class
  2. BIN
      JDBC/bin/dblab/shop/transactions/sql/SQLConnector.class
  3. BIN
      JDBC/bin/dblab/shop/transactions/sql/SQLUpdateManager.class
  4. BIN
      JDBC/bin/dblab/shop/transactions/sql/bonus/DatabaseThread.class
  5. BIN
      JavaTest/bin/Fenetre.class
  6. BIN
      JavaTest/bin/MouseGlassListener.class
  7. BIN
      JavaTest/bin/MouseGlassMotionListener.class
  8. BIN
      JavaTest/bin/MyGlassPane.class
  9. BIN
      JavaTest/bin/Test.class
  10. +67
    -0
      JavaTest/src/Fenetre.java
  11. +71
    -0
      JavaTest/src/MouseGlassListener.java
  12. +31
    -0
      JavaTest/src/MouseGlassMotionListener.java
  13. +45
    -0
      JavaTest/src/MyGlassPane.java
  14. BIN
      Pacman/bin/environment/Environment.class
  15. BIN
      Pacman/bin/environment/EnvironmentObject.class
  16. BIN
      Pacman/bin/game/Game.class
  17. +88
    -0
      Pacman/fr/utbm/gi/vi51/pacman/environment/Direction.java
  18. +289
    -0
      Pacman/fr/utbm/gi/vi51/pacman/gui/PacManGUI.java
  19. +7
    -0
      Pacman/src/environment/Environment.java
  20. +43
    -0
      Pacman/src/environment/EnvironmentObject.java
  21. +5
    -0
      Pacman/src/game/Game.java
  22. +1
    -0
      Smallworld
  23. BIN
      TicTacToe/bin/JUnitTests/GridJUnitTest.class
  24. BIN
      TicTacToe/bin/mvc/Controller.class
  25. BIN
      TicTacToe/bin/mvc/Grid.class
  26. BIN
      TicTacToe/bin/mvc/View.class
  27. BIN
      TicTacToe/bin/tictactoe/Grid.class
  28. BIN
      TicTacToe/bin/tictactoe/Input.class
  29. BIN
      TicTacToe/bin/tictactoe/Main.class
  30. BIN
      Ubung5/bin/Datum.class
  31. BIN
      Ubung6/bin/de/hska/info1/objekte/Datum.class
  32. BIN
      Ubung9/bin/HausVomNikolaus.class
  33. +96
    -0
      eclimd.log

BIN
JDBC/bin/dblab/shop/transactions/sql/Output.class View File


BIN
JDBC/bin/dblab/shop/transactions/sql/SQLConnector.class View File


BIN
JDBC/bin/dblab/shop/transactions/sql/SQLUpdateManager.class View File


BIN
JDBC/bin/dblab/shop/transactions/sql/bonus/DatabaseThread.class View File


BIN
JavaTest/bin/Fenetre.class View File


BIN
JavaTest/bin/MouseGlassListener.class View File


BIN
JavaTest/bin/MouseGlassMotionListener.class View File


BIN
JavaTest/bin/MyGlassPane.class View File


BIN
JavaTest/bin/Test.class View File


+ 67
- 0
JavaTest/src/Fenetre.java View File

@@ -0,0 +1,67 @@
import java.awt.BorderLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.TransferHandler;

//CTRL + SHIFT + O pour générer les imports
public class Fenetre extends JFrame{

private MyGlassPane glass = new MyGlassPane();

public Fenetre(){
super("Test de GlassPane");
setSize(400, 200);
setLocationRelativeTo(null);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

JPanel pan = new JPanel();
JPanel pan2 = new JPanel();
//On crée un composant
JButton bouton1 = new JButton("Bouton N°1");
//On y attache les écouteurs qui auront pour rôle
//d'initialiser notre glace et d'y affecter les données
//qui permettront de simuler le déplacement
bouton1.addMouseListener(new MouseGlassListener(glass));
bouton1.addMouseMotionListener(new MouseGlassMotionListener(glass));
//On affecte maintenant un TranferHandler spécifique
//initialisé avec la propriété JavaBean "text"
bouton1.setTransferHandler(new TransferHandler("text"));
JButton bouton2 = new JButton("Bouton N°2");
bouton2.addMouseListener(new MouseGlassListener(glass));
bouton2.addMouseMotionListener(new MouseGlassMotionListener(glass));
bouton2.setTransferHandler(new TransferHandler("text"));

JLabel text = new JLabel("Deuxième texte statique");
text.addMouseListener(new MouseGlassListener(glass));
text.addMouseMotionListener(new MouseGlassMotionListener(glass));
text.setTransferHandler(new TransferHandler("text"));

JLabel label = new JLabel("Texte statique !");
label.addMouseListener(new MouseGlassListener(glass));
label.addMouseMotionListener(new MouseGlassMotionListener(glass));
label.setTransferHandler(new TransferHandler("text"));

pan.add(bouton1);
pan.add(label);
add(pan, BorderLayout.NORTH);

pan2.add(text);
pan2.add(bouton2);
add(pan2, BorderLayout.SOUTH);

setGlassPane(glass);
setLocationRelativeTo(null);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

setVisible(true);
}

public static void main(String[] args){
new Fenetre();
}
}

+ 71
- 0
JavaTest/src/MouseGlassListener.java View File

@@ -0,0 +1,71 @@
import java.awt.Component;
import java.awt.Graphics;
import java.awt.Point;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.image.BufferedImage;

import javax.swing.JComponent;
import javax.swing.SwingUtilities;
import javax.swing.TransferHandler;

//CTRL + SHIFT + O pour générer les imports
public class MouseGlassListener extends MouseAdapter{

private MyGlassPane myGlass;
private BufferedImage image;

public MouseGlassListener(MyGlassPane glass){
myGlass = glass;
}
public void mousePressed(MouseEvent event) {
//On récupère le composant pour en déduire sa position
Component composant = event.getComponent();
Point location = (Point)event.getPoint().clone();
//Les méthodes ci-dessous permettent, dans l'ordre,
//de convertir un point en coordonnées d'écran
//et de reconvertir ce point en coordonnées fenêtres
SwingUtilities.convertPointToScreen(location, composant);
SwingUtilities.convertPointFromScreen(location, myGlass);
//Les instructions ci-dessous permettent de redessiner le composant
image = new BufferedImage(composant.getWidth(), composant.getHeight(), BufferedImage.TYPE_INT_ARGB);
Graphics g = image.getGraphics();
composant.paint(g);
//On passe les données qui vont bien à notre GlassPane
myGlass.setLocation(location);
myGlass.setImage(image);
//On n'oublie pas de dire à notre GlassPane de s'afficher
myGlass.setVisible(true);
}

public void mouseReleased(MouseEvent event) {
//---------------------------------------------------------------------
//On implémente le transfert lorsqu'on relâche le bouton de souris
//Ceci afin de ne pas supplanter le fonctionnement du déplacement
JComponent lab = (JComponent)event.getSource();
TransferHandler handle = lab.getTransferHandler();
handle.exportAsDrag(lab, event, TransferHandler.COPY);
//---------------------------------------------------------------------
//On récupère le composant pour en déduire sa position
Component composant = event.getComponent();
Point location = (Point)event.getPoint().clone();
//Les méthodes ci-dessous permettent, dans l'ordre,
//de convertir un point en coordonnées d'écran
//et de reconvertir ce point en coordonnées fenêtre
SwingUtilities.convertPointToScreen(location, composant);
SwingUtilities.convertPointFromScreen(location, myGlass);
//On passe les données qui vont bien à notre GlassPane
myGlass.setLocation(location);
myGlass.setImage(null);
//On n'oublie pas de ne plus l'afficher
myGlass.setVisible(false);
}
}

+ 31
- 0
JavaTest/src/MouseGlassMotionListener.java View File

@@ -0,0 +1,31 @@
import java.awt.Component;
import java.awt.Point;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

import javax.swing.SwingUtilities;

//CTRL + SHIFT + O pour générer les imports
public class MouseGlassMotionListener extends MouseAdapter{

private MyGlassPane myGlass;
public MouseGlassMotionListener(MyGlassPane glass){
myGlass = glass;
}
/**
* Méthode fonctionnant sur le même principe que la classe précédente
* mais cette fois sur l'action de déplacement
*/
public void mouseDragged(MouseEvent event) {
//Vous connaissez maintenant…
Component c = event.getComponent();

Point p = (Point) event.getPoint().clone();
SwingUtilities.convertPointToScreen(p, c);
SwingUtilities.convertPointFromScreen(p, myGlass);
myGlass.setLocation(p);
myGlass.repaint();
}
}

+ 45
- 0
JavaTest/src/MyGlassPane.java View File

@@ -0,0 +1,45 @@
import java.awt.AlphaComposite;
import java.awt.Composite;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.image.BufferedImage;

import javax.swing.JPanel;

//CTRL + SHIFT + O pour générer les imports
public class MyGlassPane extends JPanel{

//L'image qui sera dessinée
private BufferedImage img;
//Les coordonnées de l'image
private Point location;
//La transparence de notre glace
private Composite transparence;
public MyGlassPane(){
//Afin de ne peindre que ce qui nous intéresse
setOpaque(false);
//On définit la transparence
transparence = AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.55f);
}
public void setLocation(Point location){
this.location = location;
}
public void setImage(BufferedImage image){
img = image;
}
public void paintComponent(Graphics g){
//Si on n'a pas d'image à dessiner, on ne fait rien…
if(img == null)
return;
//Dans le cas contraire, on dessine l'image souhaitée
Graphics2D g2d = (Graphics2D)g;
g2d.setComposite(transparence);
g2d.drawImage(img, (int) (location.getX() - (img.getWidth(this) / 2)), (int) (location.getY() - (img.getHeight(this) / 2)), null);
}
}

BIN
Pacman/bin/environment/Environment.class View File


BIN
Pacman/bin/environment/EnvironmentObject.class View File


BIN
Pacman/bin/game/Game.class View File


+ 88
- 0
Pacman/fr/utbm/gi/vi51/pacman/environment/Direction.java View File

@@ -0,0 +1,88 @@
package fr.utbm.gi.vi51.pacman.environment;
/*
* $Id$
*
* Copyright (c) 2008-13 Stephane GALLAND.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* This program is free software; you can redistribute it and/or modify
*/


import java.util.Random;

/**
* Define the directions in the PacMan game.
*
* @author $Author: sgalland$
* @version $FullVersion$
* @mavengroupid $GroupId$
* @mavenartifactid $ArtifactId$
*/
public enum Direction {
/** North. */
NORTH(0,-1) {
@Override
public Direction opposite() { return SOUTH; }
},
/** West. */
WEST(-1,0) {
@Override
public Direction opposite() { return EAST; }
},
/** South. */
SOUTH(0,+1) {
@Override
public Direction opposite() { return NORTH; }
},
/** East. */
EAST(+1,0) {
@Override
public Direction opposite() { return WEST; }
};
/** Relative coordinate of the direction.
*/
public final int dx;
/** Relative coordinate of the direction.
*/
public final int dy;
/**
* @param x
* @param y
*/
Direction(int x, int y) {
this.dx = x;
this.dy = y;
}

/** Replies a random direction.
*
* @return a random direction.
*/
public static Direction random() {
Random rnd = new Random();
return values()[rnd.nextInt(values().length)];
}
/** Replies the opposite direction.
*
* @return the opposite direction.
*/
public abstract Direction opposite();
}

+ 289
- 0
Pacman/fr/utbm/gi/vi51/pacman/gui/PacManGUI.java View File

@@ -0,0 +1,289 @@
/*
* $Id$
*
* Copyright (c) 2008-13 Stephane GALLAND.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* This program is free software; you can redistribute it and/or modify
*/
package fr.utbm.gi.vi51.pacman.gui;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;

import fr.utbm.gi.vi51.pacman.environment.Direction;
import fr.utbm.gi.vi51.pacman.environment.Environment;
import fr.utbm.gi.vi51.pacman.players.Player;

/**
* Swing UI for the PacMan game.
*
* @author $Author: sgalland$
* @version $FullVersion$
* @mavengroupid $GroupId$
* @mavenartifactid $ArtifactId$
*/
public class PacManGUI extends JFrame implements KeyListener {

private static final long serialVersionUID = -3354644983761730596L;
/** Width in pixels of a cell.
*/
public static final int CELL_WIDTH = 20;
/** Height in pixels of a cell.
*/
public static final int CELL_HEIGHT = 20;
/** Demi-width in pixels of a cell.
*/
public static final int DEMI_CELL_WIDTH = CELL_WIDTH/2;
/** Demi-height in pixels of a cell.
*/
public static final int DEMI_CELL_HEIGHT = CELL_HEIGHT/2;
private final Environment environment;
private final Player player;
/**
*
* @param env is the environment to display.
* @param player is the player to interact with.
*/
public PacManGUI(Environment env, Player player) {
this.environment = env;
this.player = player;
GridPanel gp = new GridPanel();
gp.setPreferredSize(new Dimension(
CELL_WIDTH*this.environment.getWidth(),
CELL_HEIGHT*this.environment.getHeight()));
JScrollPane sc = new JScrollPane(gp);
getContentPane().setLayout(new BorderLayout());
getContentPane().add(BorderLayout.CENTER, sc);
setPreferredSize(new Dimension(500,500));
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
pack();

addKeyListener(this);
}

@Override
public void keyPressed(KeyEvent e) {
switch(e.getKeyCode()) {
case KeyEvent.VK_LEFT:
this.player.setGUIMove(Direction.WEST);
break;
case KeyEvent.VK_RIGHT:
this.player.setGUIMove(Direction.EAST);
break;
case KeyEvent.VK_UP:
this.player.setGUIMove(Direction.NORTH);
break;
case KeyEvent.VK_DOWN:
this.player.setGUIMove(Direction.SOUTH);
break;
}
}

@Override
public void keyReleased(KeyEvent e) {
//this.player.setGUIMove(null);
}

@Override
public void keyTyped(KeyEvent e) {
//
}

/**
* Swing panel that is displaying the environment state.
*
* @author $Author: sgalland$
* @version $FullVersion$
* @mavengroupid $GroupId$
* @mavenartifactid $ArtifactId$
*/
private class GridPanel extends JPanel {
private static final long serialVersionUID = -7163684947280907441L;
public GridPanel() {
setBackground(Color.BLACK);
}

@SuppressWarnings("synthetic-access")
@Override
public void paint(Graphics g) {
super.paint(g);

int px, py;
int duration = 0;
Graphics2D g2d = (Graphics2D)g;
synchronized(PacManGUI.this.environment) {
for(int x=0; x<PacManGUI.this.environment.getWidth(); x++) {
for(int y=0; y<PacManGUI.this.environment.getHeight(); y++) {
px = CELL_WIDTH * x;
py = CELL_HEIGHT * y;
if (PacManGUI.this.environment.isWall(x,y)) {
g2d.setColor(Color.BLUE);
g2d.fillRect(px, py, CELL_WIDTH, CELL_HEIGHT);
}
else if (PacManGUI.this.environment.isPacMan(x,y)) {
duration = PacManGUI.this.environment.getSuperPacManDuration(x, y);
g2d.setColor(Color.YELLOW);
if (PacManGUI.this.environment.isEvenTime()) {
g2d.fillArc(
px+1, py+1, CELL_WIDTH-2, CELL_HEIGHT-2,
45, 270);
}
else {
g2d.fillArc(
px+1, py+1, CELL_WIDTH-2, CELL_HEIGHT-2,
5, 350);
}
g2d.setColor(getBackground());
int eyex = px+DEMI_CELL_WIDTH-2;
int eyey = py+DEMI_CELL_HEIGHT/2-2;
if (!PacManGUI.this.environment.isEvenTime()) eyex ++;
g2d.fillOval(eyex, eyey, 4, 4);
}
else if (PacManGUI.this.environment.isGhost(x,y)) {
Color color = null;
switch(PacManGUI.this.environment.getGhostState(x,y)) {
case EVADE_PACMAN:
color = Color.MAGENTA;
break;
case PURSUE_PACMAN:
color = Color.RED;
break;
case SEARCH_PACMAN:
color = Color.WHITE;
break;
}
assert(color!=null);
g2d.setColor(color);
g2d.fillArc(
px+3, py+1, CELL_WIDTH-6, CELL_HEIGHT-2,
0, 180);
int up = py+DEMI_CELL_HEIGHT;
int bottom1 = py+CELL_HEIGHT-2;
int bottom2 = bottom1-4;
int lleft = px+3;
int left = px + DEMI_CELL_WIDTH/2;
int middle = px + DEMI_CELL_WIDTH;
int right = px + DEMI_CELL_WIDTH + DEMI_CELL_WIDTH/2;
int rright = px+CELL_WIDTH-3;
if (!PacManGUI.this.environment.isEvenTime()) {
left --;
middle -= 2;
bottom2 += 2;
}
int[] xx = new int[] {
lleft,
lleft,
left,
middle,
right,
rright,
rright
};
int[] yy = new int[] {
up,
bottom1,
bottom2,
bottom1,
bottom2,
bottom1,
up
};
g2d.fillPolygon(xx,yy,Math.min(xx.length,yy.length));
int eyex, eyey;
int dx = 0;
int dy = 0;
switch(PacManGUI.this.environment.getGhostDirection(x,y)) {
case WEST:
dx = -2;
break;
case EAST:
break;
case NORTH:
dx = -1;
dy = -2;
break;
case SOUTH:
dx = -1;
dy = 2;
break;
}
eyex = px+DEMI_CELL_WIDTH - 5 + dx;
eyey = py+DEMI_CELL_HEIGHT/2 + dy;
g2d.setColor(getBackground());
g2d.fillOval(eyex, eyey, 5,5);
g2d.setColor(color);
eyex = px+DEMI_CELL_WIDTH + 2 + dx;
g2d.setColor(getBackground());
g2d.fillOval(eyex, eyey, 5,5);
}
else if (PacManGUI.this.environment.isPill(x,y)) {
g2d.setColor(Color.WHITE);
if (PacManGUI.this.environment.isEvenTime()) {
g2d.fillRoundRect(px+DEMI_CELL_WIDTH-2, py+DEMI_CELL_HEIGHT-2, 4, 4, 1, 1);
}
else {
g2d.fillRoundRect(px+DEMI_CELL_WIDTH-3, py+DEMI_CELL_HEIGHT-3, 6, 6, 1, 1);
}
}
}
}
}
if (duration>0) {
Font oldFont = g2d.getFont();
g2d.setFont(oldFont.deriveFont(40f));
g2d.setColor(Color.RED);
String txt = Integer.toString(duration);
FontMetrics fm = g2d.getFontMetrics();
float width = fm.stringWidth(txt);
g2d.drawString(
txt,
(int)((getWidth() - width)/2),
(getHeight() - 40)/2);
}
}
}
}

+ 7
- 0
Pacman/src/environment/Environment.java View File

@@ -0,0 +1,7 @@
package environment;

import java.util.ArrayList;

public class Environment {
private ArrayList<ArrayList<EnvironmentObject>> matrix = new ArrayList<ArrayList<EnvironmentObject>>();
}

+ 43
- 0
Pacman/src/environment/EnvironmentObject.java View File

@@ -0,0 +1,43 @@
package environment;

public class EnvironmentObject {
private int x;
private int y;
/**
* @return the x
*/
public int getX() {
return x;
}

/**
* @param x
* the x to set
*/
public void setX(int x) {
this.x = x;
}

/**
* @return the y
*/
public int getY() {
return y;
}

/**
* @param y the y to set
*/
public void setY(int y) {
this.y = y;
}

public EnvironmentObject(int x, int y) {
super();
this.x = x;
this.y = y;
}

}

+ 5
- 0
Pacman/src/game/Game.java View File

@@ -0,0 +1,5 @@
package game;

public class Game {

}

+ 1
- 0
Smallworld

@@ -0,0 +1 @@
Subproject commit 4274b783a03ba0f0ed5f862fb970e97fb41c0b2e

BIN
TicTacToe/bin/JUnitTests/GridJUnitTest.class View File


BIN
TicTacToe/bin/mvc/Controller.class View File


BIN
TicTacToe/bin/mvc/Grid.class View File


BIN
TicTacToe/bin/mvc/View.class View File


BIN
TicTacToe/bin/tictactoe/Grid.class View File


BIN
TicTacToe/bin/tictactoe/Input.class View File


BIN
TicTacToe/bin/tictactoe/Main.class View File


BIN
Ubung5/bin/Datum.class View File


BIN
Ubung6/bin/de/hska/info1/objekte/Datum.class View File


BIN
Ubung9/bin/HausVomNikolaus.class View File


+ 96
- 0
eclimd.log View File

@@ -0,0 +1,96 @@
2015-01-02 01:17:44,953 INFO [org.eclim.eclipse.EclimDaemon] Workspace: /home/skia/workspace
2015-01-02 01:17:44,956 INFO [org.eclim.eclipse.EclimDaemon] Home: /opt/eclipse/plugins/org.eclim_2.4.0/
2015-01-02 01:17:44,956 INFO [org.eclim.eclipse.EclimDaemon] Starting eclim...
2015-01-02 01:17:44,968 INFO [org.eclim.eclipse.EclimDaemon] Loading plugin org.eclim
2015-01-02 01:17:44,974 INFO [org.eclim.eclipse.EclimDaemon] Loading plugin org.eclim.core
2015-01-02 01:17:45,118 INFO [org.eclim.plugin.core.CorePlugin] Loading eclim plugins...
2015-01-02 01:17:45,122 INFO [org.eclim.plugin.core.CorePlugin] Loading plugin org.eclim.jdt
2015-01-02 01:17:45,126 INFO [org.eclim.plugin.core.CorePlugin] Plugins loaded.
2015-01-02 01:17:45,127 INFO [org.eclim.eclipse.EclimDaemon] Loaded plugin org.eclim.core
2015-01-02 01:17:45,132 INFO [org.eclim.eclipse.EclimDaemon] Eclim Server Started on: 127.0.0.1:9091
2015-01-02 01:17:45,214 ERROR [org.eclim.plugin.jdt.PluginResources]
java.lang.NullPointerException
at org.eclim.plugin.jdt.PluginResources.initializeVars(PluginResources.java:286)
at org.eclim.plugin.jdt.PluginResources.initialize(PluginResources.java:106)
at org.eclim.plugin.Plugin.activate(Plugin.java:121)
at org.eclim.plugin.Plugin.bundleChanged(Plugin.java:225)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:902)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
2015-01-02 01:19:36,760 INFO [org.eclim.eclipse.EclimDaemon] Shutting down eclim...
2015-01-02 01:19:36,771 INFO [org.eclim.eclipse.EclimDaemon] Stopping plugin org.eclim.core
2015-01-02 01:19:36,773 INFO [org.eclim.plugin.core.CorePlugin] Stopping plugin org.eclim.jdt
2015-01-02 01:19:36,773 INFO [org.eclim.eclipse.EclimDaemon] Eclim stopped.
2015-01-02 01:20:25,011 INFO [org.eclim.eclipse.EclimDaemon] Workspace: /home/skia/workspace
2015-01-02 01:20:25,035 INFO [org.eclim.eclipse.EclimDaemon] Home: /opt/eclipse/plugins/org.eclim_2.4.0/
2015-01-02 01:20:25,038 INFO [org.eclim.eclipse.EclimDaemon] Starting eclim...
2015-01-02 01:20:25,077 INFO [org.eclim.eclipse.EclimDaemon] Loading plugin org.eclim
2015-01-02 01:20:25,095 INFO [org.eclim.eclipse.EclimDaemon] Loading plugin org.eclim.core
2015-01-02 01:20:25,529 INFO [org.eclim.plugin.core.CorePlugin] Loading eclim plugins...
2015-01-02 01:20:25,545 INFO [org.eclim.plugin.core.CorePlugin] Loading plugin org.eclim.jdt
2015-01-02 01:20:25,558 INFO [org.eclim.plugin.core.CorePlugin] Plugins loaded.
2015-01-02 01:20:25,560 INFO [org.eclim.eclipse.EclimDaemon] Loaded plugin org.eclim.core
2015-01-02 01:20:25,566 INFO [org.eclim.eclipse.EclimDaemon] Waiting on running jobs before starting eclimd...
2015-01-02 01:20:25,656 ERROR [org.eclim.plugin.jdt.PluginResources]
java.lang.NullPointerException
at org.eclim.plugin.jdt.PluginResources.initializeVars(PluginResources.java:286)
at org.eclim.plugin.jdt.PluginResources.initialize(PluginResources.java:106)
at org.eclim.plugin.Plugin.activate(Plugin.java:121)
at org.eclim.plugin.Plugin.bundleChanged(Plugin.java:225)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:902)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
2015-01-02 01:20:32,610 INFO [org.eclim.eclipse.EclimDaemon] Jobs finished.
2015-01-02 01:20:32,610 INFO [org.eclim.eclipse.EclimDaemon] Eclim Server Started on: 127.0.0.1:9091
2015-01-02 05:28:11,937 INFO [org.eclim.eclipse.EclimDaemon] Shutting down eclim...
2015-01-02 05:28:11,942 INFO [org.eclim.eclipse.EclimDaemon] Stopping plugin org.eclim.core
2015-01-02 05:28:11,956 INFO [org.eclim.plugin.core.CorePlugin] Stopping plugin org.eclim.jdt
2015-01-02 05:28:11,959 INFO [org.eclim.eclipse.EclimDaemon] Eclim stopped.
2015-01-02 16:53:24,334 INFO [org.eclim.eclipse.EclimDaemon] Workspace: /home/skia/workspace
2015-01-02 16:53:24,354 INFO [org.eclim.eclipse.EclimDaemon] Home: /opt/eclipse/plugins/org.eclim_2.4.0/
2015-01-02 16:53:24,354 INFO [org.eclim.eclipse.EclimDaemon] Starting eclim...
2015-01-02 16:53:24,366 INFO [org.eclim.eclipse.EclimDaemon] Loading plugin org.eclim
2015-01-02 16:53:24,375 INFO [org.eclim.eclipse.EclimDaemon] Loading plugin org.eclim.core
2015-01-02 16:53:24,728 INFO [org.eclim.plugin.core.CorePlugin] Loading eclim plugins...
2015-01-02 16:53:24,743 INFO [org.eclim.plugin.core.CorePlugin] Loading plugin org.eclim.jdt
2015-01-02 16:53:24,745 INFO [org.eclim.plugin.core.CorePlugin] Plugins loaded.
2015-01-02 16:53:24,746 INFO [org.eclim.eclipse.EclimDaemon] Loaded plugin org.eclim.core
2015-01-02 16:53:24,747 INFO [org.eclim.eclipse.EclimDaemon] Waiting on running jobs before starting eclimd...
2015-01-02 16:53:24,833 ERROR [org.eclim.plugin.jdt.PluginResources]
java.lang.NullPointerException
at org.eclim.plugin.jdt.PluginResources.initializeVars(PluginResources.java:286)
at org.eclim.plugin.jdt.PluginResources.initialize(PluginResources.java:106)
at org.eclim.plugin.Plugin.activate(Plugin.java:121)
at org.eclim.plugin.Plugin.bundleChanged(Plugin.java:225)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:902)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
2015-01-02 16:53:30,758 INFO [org.eclim.eclipse.EclimDaemon] Jobs finished.
2015-01-02 16:53:30,758 INFO [org.eclim.eclipse.EclimDaemon] Eclim Server Started on: 127.0.0.1:9091
2015-01-03 01:09:50,886 INFO [org.eclim.eclipse.EclimDaemon] Shutting down eclim...
2015-01-03 01:09:50,893 INFO [org.eclim.eclipse.EclimDaemon] Stopping plugin org.eclim.core
2015-01-03 01:09:50,907 INFO [org.eclim.plugin.core.CorePlugin] Stopping plugin org.eclim.jdt
2015-01-03 01:09:50,911 INFO [org.eclim.eclipse.EclimDaemon] Eclim stopped.
2015-01-03 01:10:06,304 INFO [org.eclim.eclipse.EclimDaemon] Workspace: /home/skia/workspace
2015-01-03 01:10:06,306 INFO [org.eclim.eclipse.EclimDaemon] Home: /opt/eclipse/plugins/org.eclim_2.4.0/
2015-01-03 01:10:06,307 INFO [org.eclim.eclipse.EclimDaemon] Starting eclim...
2015-01-03 01:10:06,317 INFO [org.eclim.eclipse.EclimDaemon] Loading plugin org.eclim
2015-01-03 01:10:06,321 INFO [org.eclim.eclipse.EclimDaemon] Loading plugin org.eclim.core
2015-01-03 01:10:06,894 INFO [org.eclim.plugin.core.CorePlugin] Loading eclim plugins...
2015-01-03 01:10:06,899 INFO [org.eclim.plugin.core.CorePlugin] Loading plugin org.eclim.jdt
2015-01-03 01:10:06,903 INFO [org.eclim.plugin.core.CorePlugin] Plugins loaded.
2015-01-03 01:10:06,903 INFO [org.eclim.eclipse.EclimDaemon] Loaded plugin org.eclim.core
2015-01-03 01:10:06,905 INFO [org.eclim.eclipse.EclimDaemon] Eclim Server Started on: 127.0.0.1:9091
2015-01-03 01:10:07,061 ERROR [org.eclim.plugin.jdt.PluginResources]
java.lang.NullPointerException
at org.eclim.plugin.jdt.PluginResources.initializeVars(PluginResources.java:286)
at org.eclim.plugin.jdt.PluginResources.initialize(PluginResources.java:106)
at org.eclim.plugin.Plugin.activate(Plugin.java:121)
at org.eclim.plugin.Plugin.bundleChanged(Plugin.java:225)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:902)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
2015-01-03 02:52:10,298 INFO [org.eclim.eclipse.EclimDaemon] Shutting down eclim...
2015-01-03 02:52:10,314 INFO [org.eclim.eclipse.EclimDaemon] Stopping plugin org.eclim.core
2015-01-03 02:52:10,321 INFO [org.eclim.plugin.core.CorePlugin] Stopping plugin org.eclim.jdt
2015-01-03 02:52:10,321 INFO [org.eclim.eclipse.EclimDaemon] Eclim stopped.

Loading…
Cancel
Save