# HG changeset patch # User casties # Date 1394114944 -3600 # Node ID 2b1e6df5e21aeff50c5d2eb41c193875b545ac4c # Parent 9d3885d1681e1f854c8cecb4f9956cc817f6d198 added lgpl_v3 license information. diff -r 9d3885d1681e -r 2b1e6df5e21a pom.xml --- a/pom.xml Sat Feb 22 07:25:58 2014 -0800 +++ b/pom.xml Thu Mar 06 15:09:04 2014 +0100 @@ -1,116 +1,131 @@ - 4.0.0 - de.mpiwg.itgroup.annotations - AnnotationManagerN4J - 0.3-SNAPSHOT - - UTF-8 - 2.0.1 - 2.0.15 - - - - - neo4j-release-repository - Neo4j Maven 2 release repository - http://m2.neo4j.org/releases - - true - - - false - - - - maven-restlet - Public online Restlet repository - http://maven.restlet.org - - - - - org.neo4j - neo4j - ${neo4j-version} - - - org.neo4j.app - neo4j-server - ${neo4j-version} - - - org.neo4j.app - neo4j-server - static-web - ${neo4j-version} - - - org.restlet.jee - org.restlet - ${restlet-version} - - - org.restlet.jee - org.restlet.ext.servlet - ${restlet-version} - - - org.restlet.jee - org.restlet.ext.json - ${restlet-version} - - - com.googlecode.jsontoken - jsontoken - 1.1-SNAPSHOT - - - servlet-api - javax.servlet - - - - - log4j - log4j - 1.2.14 - - - commons-codec - commons-codec - 1.4 - - - org.restlet.jee - org.restlet.lib.org.json - 2.0 - - - - AnnotationManager - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.7 - 1.7 - - - - - - war - AnnotationManager - - MPIWG IT Group - http://itgroup.mpiwg-berlin.mpg.de - - - scm:hg:https://it-dev.mpiwg-berlin.mpg.de/hg/AnnotationManagerN4J - https://it-dev.mpiwg-berlin.mpg.de/hg/AnnotationManagerN4J - scm:hg:https://it-dev.mpiwg-berlin.mpg.de/hg/AnnotationManagerN4J - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 + de.mpiwg.itgroup.annotations + AnnotationManagerN4J + 0.3-SNAPSHOT + + UTF-8 + 2.0.1 + 2.0.15 + + + + + neo4j-release-repository + Neo4j Maven 2 release repository + http://m2.neo4j.org/releases + + true + + + false + + + + maven-restlet + Public online Restlet repository + http://maven.restlet.org + + + + + org.neo4j + neo4j + ${neo4j-version} + + + org.neo4j.app + neo4j-server + ${neo4j-version} + + + org.neo4j.app + neo4j-server + static-web + ${neo4j-version} + + + org.restlet.jee + org.restlet + ${restlet-version} + + + org.restlet.jee + org.restlet.ext.servlet + ${restlet-version} + + + org.restlet.jee + org.restlet.ext.json + ${restlet-version} + + + com.googlecode.jsontoken + jsontoken + 1.1-SNAPSHOT + + + servlet-api + javax.servlet + + + + + log4j + log4j + 1.2.14 + + + commons-codec + commons-codec + 1.4 + + + org.restlet.jee + org.restlet.lib.org.json + 2.0 + + + + AnnotationManager + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.7 + 1.7 + + + + + + + org.codehaus.mojo + license-maven-plugin + 1.4 + + + lgpl_v3 + + src/main/java + + + + + + war + AnnotationManager + + IT-Group, MPIWG Berlin + http://itgroup.mpiwg-berlin.mpg.de + + + scm:hg:https://it-dev.mpiwg-berlin.mpg.de/hg/AnnotationManagerN4J + https://it-dev.mpiwg-berlin.mpg.de/hg/AnnotationManagerN4J + scm:hg:https://it-dev.mpiwg-berlin.mpg.de/hg/AnnotationManagerN4J + + 2012 \ No newline at end of file diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/Actor.java --- a/src/main/java/de/mpiwg/itgroup/annotations/Actor.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/Actor.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import de.mpiwg.itgroup.annotations.neo4j.AnnotationStore; import de.mpiwg.itgroup.annotations.restlet.BaseRestlet; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/Annotation.java --- a/src/main/java/de/mpiwg/itgroup/annotations/Annotation.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/Annotation.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.UnsupportedEncodingException; import java.util.Set; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/Group.java --- a/src/main/java/de/mpiwg/itgroup/annotations/Group.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/Group.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + /** * @author casties * diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/NS.java --- a/src/main/java/de/mpiwg/itgroup/annotations/NS.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/NS.java Thu Mar 06 15:09:04 2014 +0100 @@ -1,5 +1,27 @@ package de.mpiwg.itgroup.annotations; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + public class NS { public static final String OAC_NS = "http://www.openannotation.org/ns/"; public static final String CNT_NS = "http://www.w3.org/2011/content#"; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/Person.java --- a/src/main/java/de/mpiwg/itgroup/annotations/Person.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/Person.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import de.mpiwg.itgroup.annotations.restlet.BaseRestlet; /** diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/Resource.java --- a/src/main/java/de/mpiwg/itgroup/annotations/Resource.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/Resource.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + /** * @author casties * diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/Tag.java --- a/src/main/java/de/mpiwg/itgroup/annotations/Tag.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/Tag.java Thu Mar 06 15:09:04 2014 +0100 @@ -1,5 +1,27 @@ package de.mpiwg.itgroup.annotations; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import de.mpiwg.itgroup.annotations.restlet.BaseRestlet; /** diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/Target.java --- a/src/main/java/de/mpiwg/itgroup/annotations/Target.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/Target.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + /** * @author casties * diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/Uri.java --- a/src/main/java/de/mpiwg/itgroup/annotations/Uri.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/Uri.java Thu Mar 06 15:09:04 2014 +0100 @@ -1,5 +1,27 @@ package de.mpiwg.itgroup.annotations; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + /** * @author casties * diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/neo4j/AnnotationStore.java --- a/src/main/java/de/mpiwg/itgroup/annotations/neo4j/AnnotationStore.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/neo4j/AnnotationStore.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,29 @@ */ package de.mpiwg.itgroup.annotations.neo4j; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + * Author: Robert Casties (casties@mpiwg-berlin.mpg.de) + */ + import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotations.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotations.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotations.java Thu Mar 06 15:09:04 2014 +0100 @@ -4,6 +4,28 @@ */ package de.mpiwg.itgroup.annotations.restlet; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotationsByResources.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotationsByResources.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotationsByResources.java Thu Mar 06 15:09:04 2014 +0100 @@ -1,5 +1,27 @@ package de.mpiwg.itgroup.annotations.restlet; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.util.ArrayList; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotationsByTags.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotationsByTags.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotationsByTags.java Thu Mar 06 15:09:04 2014 +0100 @@ -1,5 +1,27 @@ package de.mpiwg.itgroup.annotations.restlet; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.util.ArrayList; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorGroups.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorGroups.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorGroups.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations.restlet; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.util.List; import org.json.JSONArray; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorInfo.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorInfo.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorInfo.java Thu Mar 06 15:09:04 2014 +0100 @@ -1,5 +1,27 @@ package de.mpiwg.itgroup.annotations.restlet; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.InputStream; import org.restlet.data.MediaType; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorResourceImpl.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorResourceImpl.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorResourceImpl.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations.restlet; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.UnsupportedEncodingException; import java.security.InvalidKeyException; import java.security.SignatureException; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorResources.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorResources.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorResources.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations.restlet; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.util.List; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorRestlet.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorRestlet.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorRestlet.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations.restlet; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import org.apache.log4j.Logger; import org.restlet.Context; import org.restlet.Restlet; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorSearch.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorSearch.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorSearch.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations.restlet; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.util.ArrayList; import java.util.List; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorTags.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorTags.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorTags.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations.restlet; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.util.List; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/BaseRestlet.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/BaseRestlet.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/BaseRestlet.java Thu Mar 06 15:09:04 2014 +0100 @@ -1,5 +1,28 @@ package de.mpiwg.itgroup.annotations.restlet; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + * Author: Robert Casties (casties@mpiwg-berlin.mpg.de) + */ + import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; @@ -23,7 +46,6 @@ import org.neo4j.graphdb.factory.GraphDatabaseBuilder; import org.neo4j.graphdb.factory.GraphDatabaseFactory; import org.neo4j.graphdb.factory.GraphDatabaseSettings; -import org.neo4j.kernel.AbstractGraphDatabase; import org.neo4j.kernel.GraphDatabaseAPI; import org.neo4j.server.WrappingNeoServerBootstrapper; import org.restlet.Application; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationResource.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationResource.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationResource.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations.restlet.annotations_ui; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.UnsupportedEncodingException; import java.net.URLDecoder; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationsResource.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationsResource.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationsResource.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations.restlet.annotations_ui; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.util.List; import org.apache.log4j.Logger; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationsUiRestlet.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationsUiRestlet.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationsUiRestlet.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations.restlet.annotations_ui; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import org.apache.log4j.Logger; import org.restlet.Context; import org.restlet.Restlet; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/GroupMembersResource.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/GroupMembersResource.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/GroupMembersResource.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations.restlet.annotations_ui; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.util.List; import org.restlet.data.Form; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/GroupResource.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/GroupResource.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/GroupResource.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations.restlet.annotations_ui; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.UnsupportedEncodingException; import java.net.URLDecoder; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/GroupsResource.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/GroupsResource.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/GroupsResource.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations.restlet.annotations_ui; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.util.List; import org.apache.log4j.Logger; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/InfoResource.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/InfoResource.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/InfoResource.java Thu Mar 06 15:09:04 2014 +0100 @@ -1,5 +1,27 @@ package de.mpiwg.itgroup.annotations.restlet.annotations_ui; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.InputStream; import org.restlet.data.MediaType; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/PersonResource.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/PersonResource.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/PersonResource.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations.restlet.annotations_ui; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.UnsupportedEncodingException; import java.net.URLDecoder; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/PersonsResource.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/PersonsResource.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/PersonsResource.java Thu Mar 06 15:09:04 2014 +0100 @@ -3,6 +3,28 @@ */ package de.mpiwg.itgroup.annotations.restlet.annotations_ui; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + import java.util.List; import org.apache.log4j.Logger; diff -r 9d3885d1681e -r 2b1e6df5e21a src/main/java/de/mpiwg/itgroup/annotations/restlet/utils/JSONObjectComparator.java --- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/utils/JSONObjectComparator.java Sat Feb 22 07:25:58 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/utils/JSONObjectComparator.java Thu Mar 06 15:09:04 2014 +0100 @@ -1,5 +1,28 @@ package de.mpiwg.itgroup.annotations.restlet.utils; +/* + * #%L + * AnnotationManager + * %% + * Copyright (C) 2012 - 2014 MPIWG Berlin + * %% + * This program 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 3 of the + * License, or (at your option) any later version. + * + * This program 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 General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + * Author: Dirk Wintergruen (dwinter@mpiwg-berlin.mpg.de) + */ + import java.util.Comparator; import java.util.List;