MichaelJCompton / ConceptDiagrams

BSD 2-Clause "Simplified" License
1 stars 1 forks source link

Hardcoded paths #14

Open AidanDelaney opened 8 years ago

AidanDelaney commented 8 years ago

The following is a list of hard-coded paths that will have to be fixed up post MVP:

* src/main/java/org/ontologyengineering/conceptdiagrams/web/server/serialization/GsonClassSerializer.java:    private final String fileprefix = "/Users/Michael/thm_prv/code/ConceptDiagrams/src/test/resources/serializedHistories";
* src/main/java/org/ontologyengineering/conceptdiagrams/web/server/serialization/JacksonClassSerializer.java:    private final String fileprefix = "/Users/Michael/thm_prv/code/ConceptDiagrams/src/test/resources/serializedHistories/workspace";
* src/main/resources/log4j.properties:log4j.appender.FA.File=/Users/Michael/ConceptDiagrams.log src/test/java/org/ontologyengineering/conceptdiagrams/web/server/handler/ConvertAllToOWLImplTest.java:    private static String testDir = "/Users/Michael/thm_prv/code/ConceptDiagrams/src/test/resources/serializedHistories";
* src/test/java/org/ontologyengineering/conceptdiagrams/web/server/handler/ConvertAllToOWLImplTest.java://        ArrayList<Command> history = jacksonSerialiser.readSerializedCommandHistory("/Users/Michael/thm_prv/code/ConceptDiagrams/src/test/resources/serializedHistories/workspace/test.cd.hist");
* src/test/java/org/ontologyengineering/conceptdiagrams/web/server/handler/ConvertAllToOWLImplTest.java://        OWLAPIutils.writeOntology(ontology, "/Users/Michael/thm_prv/code/ConceptDiagrams/src/test/resources/serializedHistories/workspace/output.owl");
* src/test/java/org/ontologyengineering/conceptdiagrams/web/server/handler/ConvertOneToOWLTest.java:    private static String testDir = "/Users/Michael/thm_prv/code/ConceptDiagrams/src/test/resources/serializedHistories";
* src/test/java/org/ontologyengineering/conceptdiagrams/web/server/handler/ConvertOneToOWLTest.java:        ArrayList<Command> history = jacksonSerialiser.readSerializedCommandHistory("/Users/Michael/thm_prv/code/ConceptDiagrams/src/test/resources/serializedHistories/workspace/test.cd.hist");
* src/test/java/org/ontologyengineering/conceptdiagrams/web/server/handler/ConvertOneToOWLTest.java:        OWLAPIutils.writeOntology(ontology, "/Users/Michael/thm_prv/code/ConceptDiagrams/src/test/resources/serializedHistories/workspace/output.owl");
AidanDelaney commented 8 years ago

Some of these are now fixed, but not all.