-
Notifications
You must be signed in to change notification settings - Fork 20
Non Maven Java project with Eclipse
benelog edited this page Jan 28, 2013
·
14 revisions
- Make sure JRE version 1.6 or later is installed.
- Check settings in Eclipse 'Project > Properties > Java compiler'

Download multiline-string-0.1.1.jar and save it on your local machine.
- Go to 'Project > Properties > Java Build path > Libraries'
- add 'multiline-string-0.1.1.jar' file by 'add JARS..' or 'add External JARs..' button.

- Go to 'Project > Properties > Java compiler > Annotation Processing > Factroy Path'
- add 'multiline-string-0.1.1.jar' file by 'add JARS..' or 'add External JARs..' button.

import org.adrianwalker.multilinestring.Multiline;
public class Hello {
/**
Hello!
Multiline-string!!
*/
@Multiline private static String msg;
public static void main(String[] args) {
System.out.println(msg);
}
}