Skip to content

Commit 83ee074

Browse files
committedAug 30, 2012
Updated Initializr version number to 4.0, added root folder
1 parent 2a1e142 commit 83ee074

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.jverrecchia.initializr.builder;
22

33
public class Const {
4-
final public static String version = "3.0";
4+
final public static String version = "4.0";
55
}
66

‎src/com/jverrecchia/initializr/builder/zip/Zip.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private void generateZip(List<ZipFile> zipfiles){
4949

5050

5151
for (ZipFile currentZipFile : zipfiles){
52-
ZipEntry entry = new ZipEntry(currentZipFile.getZipPath());
52+
ZipEntry entry = new ZipEntry("initializr/" + currentZipFile.getZipPath());
5353
zipOut.putNextEntry(entry);
5454

5555
byte[] theByteArray = null;
@@ -62,7 +62,7 @@ private void generateZip(List<ZipFile> zipfiles){
6262
zipOut.write(theByteArray);
6363
}
6464

65-
zipOut.putNextEntry(new ZipEntry("img/"));
65+
zipOut.putNextEntry(new ZipEntry("initializr/img/"));
6666
zipOut.finish();
6767
byteData = bos.toByteArray();
6868

0 commit comments

Comments
 (0)
Please sign in to comment.