New Citation Style HowTo
Jump to navigation
Jump to search
This is a protected page.
Prerequisites[edit]
- java SDK 6
- svn
- maven
- jEdit
Steps[edit]
$svn co https://zim02.gwdg.de/repos/common/trunk/common_services
$cd common_services/citationmanager
- check whether co was OK:
$mvn clean install
$cd src/main/resources/CitationStyles
$cp rm Default Test; rm -rf Test/.svn
- add new citation style
Test
in thesrc/main/resources/Schemas/explain-styles.xml
, defineoutput-formats
- get nice items-list XML from PubMan live, create src/test/resources/testFiles/Test directory, and save the XML into it.
- changes in
src/test/java/test/TestCitationManager.java
:- define path for the new test item list in
- tests testCitManOutput() only for CS Test (optionally)
- start test with
$mvn -Dtest=TestCitationManager test
- compile citation style Test with
- ......
- check console output and
target/surefire-reports/test.TestCitationManager.txt
for errors. Update CitationStyle
...
$mvn -Dtest=TestCitationManager test