Click here to Skip to main content
15,891,136 members
Home / Discussions / Java
   

Java

 
AnswerRe: job Pin
thatraja12-Nov-11 18:32
professionalthatraja12-Nov-11 18:32 
AnswerRe: job Pin
Smithers-Jones28-Nov-11 6:30
Smithers-Jones28-Nov-11 6:30 
QuestionArray of textboxes - can't access data [SOLVED.. by self] Pin
LEKnowlton11-Nov-11 6:45
LEKnowlton11-Nov-11 6:45 
AnswerRe: Array of textboxes - can't access data Pin
Nagy Vilmos11-Nov-11 7:36
professionalNagy Vilmos11-Nov-11 7:36 
GeneralRe: Array of textboxes - can't access data Pin
LEKnowlton11-Nov-11 7:54
LEKnowlton11-Nov-11 7:54 
GeneralRe: Array of textboxes - can't access data Pin
Nagy Vilmos13-Nov-11 23:42
professionalNagy Vilmos13-Nov-11 23:42 
GeneralRe: Array of textboxes - can't access data Pin
LEKnowlton14-Nov-11 0:28
LEKnowlton14-Nov-11 0:28 
QuestionAnnotation Processor in Eclipse [Solved] Pin
Skippums9-Nov-11 6:50
Skippums9-Nov-11 6:50 
Does anyone know how to get an annotation processor to work in Eclipse? These are the steps that I have taken thus far:

1) Export the annotation and associated processor into a JAR file
2) Open Project->Properties, and select "Java Compiler"->"Annotation Processing"->"Factory Path" from the tree view on the left, and click "Add External JARs...".

After completing these steps, when I select my JAR file and click the Advanced button, I get a dialog that has an empty listbox labeled "Processors in this container". Why is Eclipse not seeing my annotation processor? I have included some simple code to illustrate the problem:

// Test.java
package NAMESPACE;

public @interface Test {}

// TestProcessor.java
package NAMESPACE;

import java.util.Set;

import javax.annotation.processing.*;
import javax.lang.model.element.TypeElement;

@SupportedAnnotationTypes({"NAMESPACE.Test"})
public class TestProcessor extends AbstractProcessor {
    @Override
    public boolean process(
            Set<? extends TypeElement> annotations,
            RoundEnvironment roundEnv) {
        return true;
    }
}


This example is about as simple as I can make it. Please help me to figure out why this isn't being found by Eclipse's annotation processor. Thanks,
Sounds like somebody's got a case of the Mondays

-Jeff

AnswerRe: Annotation Processor in Eclipse Pin
Nagy Vilmos10-Nov-11 5:09
professionalNagy Vilmos10-Nov-11 5:09 
GeneralRe: Annotation Processor in Eclipse Pin
Skippums10-Nov-11 10:51
Skippums10-Nov-11 10:51 
GeneralRe: Annotation Processor in Eclipse Pin
Nagy Vilmos10-Nov-11 10:54
professionalNagy Vilmos10-Nov-11 10:54 
AnswerRe: Annotation Processor in Eclipse Pin
Skippums10-Nov-11 12:52
Skippums10-Nov-11 12:52 
GeneralCode Analysis Pin
gamer11278-Nov-11 6:59
gamer11278-Nov-11 6:59 
GeneralRe: Code Analysis Pin
Nagy Vilmos8-Nov-11 7:06
professionalNagy Vilmos8-Nov-11 7:06 
Questionstring compare java problem Pin
Jim Crafton8-Nov-11 3:51
Jim Crafton8-Nov-11 3:51 
AnswerRe: string compare java problem Pin
Nagy Vilmos8-Nov-11 4:23
professionalNagy Vilmos8-Nov-11 4:23 
GeneralRe: string compare java problem Pin
Jim Crafton8-Nov-11 5:32
Jim Crafton8-Nov-11 5:32 
GeneralRe: string compare java problem Pin
Nagy Vilmos8-Nov-11 5:47
professionalNagy Vilmos8-Nov-11 5:47 
GeneralRe: string compare java problem Pin
Jim Crafton8-Nov-11 5:56
Jim Crafton8-Nov-11 5:56 
GeneralRe: string compare java problem Pin
Richard MacCutchan8-Nov-11 9:22
mveRichard MacCutchan8-Nov-11 9:22 
GeneralRe: string compare java problem Pin
Nagy Vilmos8-Nov-11 10:03
professionalNagy Vilmos8-Nov-11 10:03 
GeneralRe: string compare java problem Pin
Richard MacCutchan8-Nov-11 10:06
mveRichard MacCutchan8-Nov-11 10:06 
GeneralRe: string compare java problem Pin
anshul.zunke26-Nov-11 17:26
anshul.zunke26-Nov-11 17:26 
AnswerRe: string compare java problem Pin
jschell8-Nov-11 10:10
jschell8-Nov-11 10:10 
GeneralRe: string compare java problem Pin
TorstenH.8-Nov-11 19:07
TorstenH.8-Nov-11 19:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.