Skip to content

Commit 0554c36

Browse files
committed
Change package name to remove references to foxopen.
This project has nothing to do with FOXopen other than that I use FOXopen in my day job. Most of the work I do on the JIRAChangelogBuilder project is done in my spare time. This has the side-effect of not being able to reload cached versions as these are simply serialised Java object using the old package name. To mitigate this I have added a catch for ClassCastException that will return null thus bypassing the cache and forcing a reload for this version.
1 parent 768e54b commit 0554c36

File tree

14 files changed

+33
-25
lines changed

14 files changed

+33
-25
lines changed

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ bin
1515
nb*
1616

1717
build
18-
changelog*
1918
target
2019
lib
2120
credentials.properties
22-
!/src/net/foxopen/jira/changelog/
23-
!/test/net/foxopen/jira/changelog/
2421
cache
2522
test*.txt
23+
test_output

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<jar update="true" destfile="${build}/jira-changelog-builder.jar" basedir="${build}/classes" includes="**,${lib}/**">
2525
<zipgroupfileset dir="${lib}" includes="*.jar"/>
2626
<manifest>
27-
<attribute name="Main-Class" value="net.foxopen.jira.changelog.Changelog"/>
27+
<attribute name="Main-Class" value="com.switchtrue.jira.changelog.Changelog"/>
2828
</manifest>
2929
</jar>
3030
</target>

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44

5-
<groupId>net.foxopen.jira.changelog</groupId>
5+
<groupId>com.switchtrue.jira.changelog</groupId>
66
<artifactId>jira-changelog-builder</artifactId>
77
<version>1.05.3</version>
88
<packaging>jar</packaging>
@@ -77,7 +77,7 @@
7777
<transformers>
7878
<transformer
7979
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
80-
<mainClass>net.foxopen.jira.changelog.Changelog</mainClass>
80+
<mainClass>com.switchtrue.jira.changelog.Changelog</mainClass>
8181
</transformer>
8282
</transformers>
8383
</configuration>

src/net/foxopen/jira/changelog/Change.java renamed to src/com/switchtrue/jira/changelog/Change.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
package net.foxopen.jira.changelog;
1+
package com.switchtrue.jira.changelog;
22

33
import java.util.Comparator;
44
import java.io.Serializable;
55

66
/**
77
* Represents a JIRA issue for display in the changelog.
8-
*
9-
* @author apigram
10-
* @version 1.03.00
118
*/
129
public class Change implements Serializable {
1310

src/net/foxopen/jira/changelog/Changelog.java renamed to src/com/switchtrue/jira/changelog/Changelog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package net.foxopen.jira.changelog;
1+
package com.switchtrue.jira.changelog;
22

33
import java.io.File;
44

src/net/foxopen/jira/changelog/ChangelogBuilder.java renamed to src/com/switchtrue/jira/changelog/ChangelogBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package net.foxopen.jira.changelog;
1+
package com.switchtrue.jira.changelog;
22

33
import java.io.FileWriter;
44
import java.io.IOException;

src/net/foxopen/jira/changelog/ChangelogTemplate.java renamed to src/com/switchtrue/jira/changelog/ChangelogTemplate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* To change this template, choose Tools | Templates
33
* and open the template in the editor.
44
*/
5-
package net.foxopen.jira.changelog;
5+
package com.switchtrue.jira.changelog;
66

77
import java.util.HashMap;
88
import java.util.List;

src/net/foxopen/jira/changelog/JiraAPI.java renamed to src/com/switchtrue/jira/changelog/JiraAPI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package net.foxopen.jira.changelog;
1+
package com.switchtrue.jira.changelog;
22

33
import java.net.URI;
44
import java.net.URISyntaxException;

src/net/foxopen/jira/changelog/LineEnding.java renamed to src/com/switchtrue/jira/changelog/LineEnding.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* To change this template, choose Tools | Templates
33
* and open the template in the editor.
44
*/
5-
package net.foxopen.jira.changelog;
5+
package com.switchtrue.jira.changelog;
66

77
/**
88
* Represents the available line ending types supported by the changelog builder.

src/net/foxopen/jira/changelog/Logger.java renamed to src/com/switchtrue/jira/changelog/Logger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package net.foxopen.jira.changelog;
1+
package com.switchtrue.jira.changelog;
22

33
import java.text.SimpleDateFormat;
44
import java.util.Date;

0 commit comments

Comments
 (0)