Building 1.1.8

This commit is contained in:
Jonathan Bernard 2010-02-25 19:29:35 -06:00
parent 0d8be72c71
commit 7263cd1521
18 changed files with 25 additions and 24 deletions

View File

@ -23,9 +23,13 @@
<target name="pit-swing" depends="libpit">
<copy file="${libpit.jar}" todir="pit-swing/lib"/>
<ant dir="pit-cli" target="package" inheritAll="false"/>
<ant dir="pit-swing" fork="true" target="package" inheritAll="false"/>
</target>
<target name="package" depends="libpit,pit-cli,pit-swing">
<mkdir dir="release/lib"/>
<copy file="pit-cli/release/pit-clii-${application.version}.jar" todir="release"/>
<copy file="pit-swing/dist/jar/pit-swing.jar" tofile="release/pit-swing-${application.version}.jar"/>
<copy file="libpit/release/pit-${application.version}.jar" todir="release/lib"/>
</target>
</project>

View File

@ -1,10 +1,10 @@
#Wed Feb 24 08:39:48 CST 2010
#Thu Feb 25 17:24:06 CST 2010
build.dir=build
src.dir=src
lib.shared.dir=../shared-libs
test.dir=test
build.number=10
expected.application.version=1.1.6
build.number=1
expected.application.version=1.1.8
lib.dir=lib
release.dir=release
release.jar=pit-${application.version}.jar

Binary file not shown.

Binary file not shown.

View File

@ -54,8 +54,6 @@ class FileProject extends Project {
def issueFile = new File(source, FileIssue.makeFilename(id,
options.category, options.priority))
assert !issueFile.exists()
issueFile.createNewFile()
issueFile.write(options.text)

Binary file not shown.

Binary file not shown.

BIN
pit-cli/lib/pit-1.1.8.jar Normal file

Binary file not shown.

View File

@ -1,9 +1,9 @@
#Wed Feb 24 08:40:12 CST 2010
#Thu Feb 25 17:41:36 CST 2010
build.dir=build
src.dir=src
build.jar=pit-cli-${application.version}.${build.number}.jar
build.number=1
expected.application.version=1.1.6
expected.application.version=1.1.8
lib.dir=lib
release.dir=release
release.jar=pit-cli-${application.version}.jar

View File

@ -1,4 +1,4 @@
#Sat Feb 13 08:41:16 CST 2010
app.version=1.1.6
app.version=1.1.8
app.griffon.version=0.2.1
app.name=pit-swing

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 822 B

View File

@ -37,6 +37,7 @@ categoryIcons = [:]
filter = new Filter(categories: [])
popupProject = null
selectedProject = model.rootProject
popupIssue = null
@ -125,14 +126,12 @@ newIssueDialog = dialog(title: 'New Task...', modal: true, pack: true,//size: [3
constraints: gbc(gridx: 1, gridy: 4, insets: [5, 5, 5, 5],
anchor: GBC.WEST),
actionPerformed: {
def project = projectTree.leadSelectionPath
.lastPathComponent.userObject
def issue = project.createNewIssue(
def issue = selectedProject.createNewIssue(
category: categoryComboBox.selectedItem,
priority: prioritySpinner.value,
text: titleTextField.text)
projectListModels[(project.name)] = null
displayProject(project)
projectListModels[(selectedProject.name)] = null
displayProject(selectedProject)
newIssueDialog.visible = false
})
}
@ -166,8 +165,9 @@ issuePopupMenu = popupMenu() {
menuItem('Delete Issue',
actionPerformed: {
if (!popupIssue) return
selectedProject.issues.remove(popupIssue.id)
projectListModels[(selectedProject.name)].removeElement(popupIssue)
popupIssue.delete()
})
separator()
@ -207,10 +207,10 @@ frame = application(title:'Personal Issue Tracker',
//size:[320,480],
pack:true,
//location:[50,50],
iconImage: imageIcon('/griffon-icon-48x48.png').image,
iconImages: [imageIcon('/griffon-icon-48x48.png').image,
imageIcon('/griffon-icon-32x32.png').image,
imageIcon('/griffon-icon-16x16.png').image]
iconImage: imageIcon('/icon64x64.png').image,
iconImages: [imageIcon('/icon64x64.png').image,
imageIcon('/icon32x32.png').image,
imageIcon('/icon16x16.png').image]
) {
borderLayout()
@ -244,8 +244,7 @@ frame = application(title:'Personal Issue Tracker',
evt.source.selected = true
}
projectListModels.clear()
displayProject(projectTree.leadSelectionPath
?.lastPathComponent?.userObject)
displayProject(selectedProject)
})
}
@ -270,8 +269,8 @@ frame = application(title:'Personal Issue Tracker',
} else new DefaultTreeModel()
}),
valueChanged: { evt ->
displayProject(evt?.newLeadSelectionPath
?.lastPathComponent?.userObject)
selectedProject = evt?.newLeadSelectionPath?.lastPathComponent?.userObject ?: model.rootProject
displayProject(selectedProject)
},
mouseClicked: { evt ->
if (evt.button == MouseEvent.BUTTON3) {

Binary file not shown.

BIN
pit-swing/lib/pit-1.1.8.jar Normal file

Binary file not shown.

View File

@ -1 +1 @@
application.version=1.1.6
application.version=1.1.8