rvasa / jseat

Automatically exported from code.google.com/p/jseat
0 stars 0 forks source link

Introduce a 'Project' concept to simplify the way we work with files #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Background:
Previously we loaded up either a verions file (*.ver) or a persisted 
metric model data file (*.mmb). This didn't allow customization of the 
environment and was simple because only one file was ever involved.

To further accomodate the required persistence framework changes of issue 
15 [http://code.google.com/p/jseat/issues/detail?id=15] which proposes 
multiple files we can shift to a Project concept.

Proposed Change:
A project will now be donted by a JSeat Project File (*.jpf) with the 
required information to load any data files (found in the data folder) for 
that version.

For example a Groovy project might look something like.

c:/Groovy
c:/Groovy/Groovy.jpf
c:/Groovy/data/1.cme
c:/Groovy/data/1.mme
c:/Groovy/data/1.dep
c:/Groovy/data/2.cme
c:/Groovy/data/...

With this change, we would only work with project files. Thus before 
performing analysis on a software system, a project would have to be 
created.

This could be automated by a tool.

Original issue reported on code.google.com by jtha...@gmail.com on 28 Aug 2007 at 5:15

GoogleCodeExporter commented 9 years ago
Fixed:
Using the Groovy example from above, the format of the project file looks like 
this...

# Java Software Evolution Analysis Tool (JSeat) Project File #
# Created: Tue Aug 28 18:31:50 GMT 2007
$TestGroovy,Groovy Scripting Language
# The set of versions that exist in this project.
$20,CLASSES
1, Groovy-1.0a1, D:\MyGroovyProject\data\1
2, Groovy-1.0a2, D:\MyGroovyProject\data\2
3, Groovy-1.0b2, D:\MyGroovyProject\data\3
4, Groovy-1.0b3, D:\MyGroovyProject\data\4
5, Groovy-1.0b4, D:\MyGroovyProject\data\5
6, Groovy-1.0b5, D:\MyGroovyProject\data\6
7, Groovy-1.0b6, D:\MyGroovyProject\data\7
8, Groovy-1.0b7, D:\MyGroovyProject\data\8
9, Groovy-1.0b8, D:\MyGroovyProject\data\9
10, Groovy-1.0b9, D:\MyGroovyProject\data\10
11, Groovy-1.0b10, D:\MyGroovyProject\data\11
12, Groovy-1.0js1, D:\MyGroovyProject\data\12
13, Groovy-1.0js2, D:\MyGroovyProject\data\13
14, Groovy-1.0js3, D:\MyGroovyProject\data\14
15, Groovy-1.0js4, D:\MyGroovyProject\data\15
16, Groovy-1.0js5, D:\MyGroovyProject\data\16
17, Groovy-1.0js6, D:\MyGroovyProject\data\17
18, Groovy-1.0rc1, D:\MyGroovyProject\data\18
19, Groovy-1.0rc2, D:\MyGroovyProject\data\19
20, Groovy-1.0.0, D:\MyGroovyProject\data\20

# JSeatVisualizer settings.

Original comment by jtha...@gmail.com on 28 Aug 2007 at 7:08