scripts to convert from GTFS to sqlite; inc zip utils
This commit is contained in:
parent
34909619dd
commit
bbcf7e021d
61
android/scripts/convGTFStoCSV.sh
Executable file
61
android/scripts/convGTFStoCSV.sh
Executable file
|
@ -0,0 +1,61 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Macgregor
|
||||
# Liscense: GPLv3
|
||||
# Date: 17th Jan 2012
|
||||
#
|
||||
#
|
||||
|
||||
source "env.sh"
|
||||
|
||||
if [ ${#} -eq 1 ] ; then
|
||||
M_FORCE_GTFS_REFRESH=${1}
|
||||
else
|
||||
M_FORCE_GTFS_REFRESH=0
|
||||
fi
|
||||
|
||||
if [ ! -d "${GTFS_INPUT}" ] ; then
|
||||
mkdir -p "${GTFS_INPUT}"
|
||||
fi
|
||||
|
||||
if [ ! -d "${DATA_OUT}" ] ; then
|
||||
mkdir -p "${DATA_OUT}"
|
||||
fi
|
||||
|
||||
pushd "${GTFS_INPUT}"
|
||||
|
||||
if [ ! -f gtfs.zip ] || [ ${M_FORCE_GTFS_REFRESH} -eq 1 ] ; then
|
||||
rm -f gtfs.zip
|
||||
wget -O gtfs.zip "${M_GTFS_FEED}"
|
||||
unzip gtfs.zip
|
||||
|
||||
dos2unix "${FILE_IN_STOPS}"
|
||||
dos2unix "${FILE_IN_ROUTES}"
|
||||
dos2unix "${FILE_IN_TRIPS}"
|
||||
dos2unix "${FILE_IN_CALENDAR}"
|
||||
dos2unix "${FILE_IN_STOP_TIMES}"
|
||||
fi
|
||||
|
||||
popd
|
||||
|
||||
echo "---- -------- ----- ------ ----------- ------ -----"
|
||||
|
||||
echo -n "Info: Generating Stop Name Geo Entries ... "
|
||||
./csve/insertStops.sh "${FILE_IN_STOPS}" "${FILE_OUT_STOPS_NAMES}" "${FILE_OUT_STOPS_GEO}"
|
||||
echo "done"
|
||||
|
||||
echo -n "Info: Generating Trip Bus Freq Entries ... "
|
||||
./csve/insertTripBusFreq.sh "${FILE_IN_FREQ}" "${FILE_OUT_FREQ}"
|
||||
echo "done"
|
||||
|
||||
echo -n "Info: Generating Trip Route Entries ... "
|
||||
./csve/insertTripRoutes.sh "${FILE_IN_ROUTES}" "${FILE_OUT_ROUTES}" "${FILE_IN_TRIPS}" "${FILE_OUT_TRIPS}"
|
||||
echo "done"
|
||||
|
||||
echo -n "Info: Generating Schedule Entries ... "
|
||||
./csve/insertTripSchedules.sh "${FILE_IN_CALENDAR}" "${FILE_OUT_CALENDAR}"
|
||||
echo "done"
|
||||
|
||||
echo -n "Info: Generating Stop Trip Sequence Entries ... "
|
||||
./csve/insertStopSeq.sh "${FILE_IN_STOP_TIMES}" "${FILE_OUT_STOP_SEQ}"
|
||||
echo "done"
|
61
android/scripts/convGTFStoSQL.sh
Executable file
61
android/scripts/convGTFStoSQL.sh
Executable file
|
@ -0,0 +1,61 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Macgregor
|
||||
# Liscense: GPLv3
|
||||
# Date: 17th Jan 2012
|
||||
#
|
||||
#
|
||||
|
||||
source "env.sh"
|
||||
|
||||
if [ ${#} -eq 1 ] ; then
|
||||
M_FORCE_GTFS_REFRESH=${1}
|
||||
else
|
||||
M_FORCE_GTFS_REFRESH=0
|
||||
fi
|
||||
|
||||
if [ ! -d "${GTFS_INPUT}" ] ; then
|
||||
mkdir -p "${GTFS_INPUT}"
|
||||
fi
|
||||
|
||||
if [ ! -d "${DATA_OUT}" ] ; then
|
||||
mkdir -p "${DATA_OUT}"
|
||||
fi
|
||||
|
||||
pushd "${GTFS_INPUT}"
|
||||
|
||||
if [ ! -f gtfs.zip ] || [ ${M_FORCE_GTFS_REFRESH} -eq 1 ] ; then
|
||||
rm -f gtfs.zip
|
||||
wget -O gtfs.zip "${M_GTFS_FEED}"
|
||||
unzip gtfs.zip
|
||||
|
||||
dos2unix "${FILE_IN_STOPS}"
|
||||
dos2unix "${FILE_IN_ROUTES}"
|
||||
dos2unix "${FILE_IN_TRIPS}"
|
||||
dos2unix "${FILE_IN_CALENDAR}"
|
||||
dos2unix "${FILE_IN_STOP_TIMES}"
|
||||
fi
|
||||
|
||||
popd
|
||||
|
||||
echo -n "Info: Generating Stop Name Geo Entries ... "
|
||||
./sqle/insertStops.sh "${FILE_IN_STOPS}" "${FILE_OUT_STOPS_NAMES}" "${FILE_OUT_STOPS_GEO}"
|
||||
echo "done"
|
||||
|
||||
echo -n "Info: Generating Trip Bus Freq Entries ... "
|
||||
./sqle/insertTripBusFreq.sh "${FILE_IN_FREQ}" "${FILE_OUT_FREQ}"
|
||||
echo "done"
|
||||
|
||||
echo -n "Info: Generating Trip Route Entries ... "
|
||||
./sqle/insertTripRoutes.sh "${FILE_IN_ROUTES}" "${FILE_OUT_ROUTES}" "${FILE_IN_TRIPS}" "${FILE_OUT_TRIPS}"
|
||||
echo "done"
|
||||
|
||||
echo -n "Info: Generating Schedule Entries ... "
|
||||
./sqle/insertTripSchedules.sh "${FILE_IN_CALENDAR}" "${FILE_OUT_CALENDAR}"
|
||||
echo "done"
|
||||
|
||||
echo -n "Info: Generating Stop Trip Sequence Entries ... "
|
||||
./sqle/insertStopSeq.sh "${FILE_IN_STOP_TIMES}" "${FILE_OUT_STOP_SEQ}"
|
||||
echo "done"
|
||||
|
||||
echo "---- -------- ----- ------ ----------- ------ -----"
|
36
android/scripts/csve/insertStopSeq.sh
Executable file
36
android/scripts/csve/insertStopSeq.sh
Executable file
|
@ -0,0 +1,36 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Macgregor
|
||||
# Liscense: GPLv3
|
||||
#
|
||||
#trip_id,arrival_time,departure_time,stop_id,stop_sequence -- FOR MUMBAI
|
||||
|
||||
if [ ${#} -eq 2 ] ; then
|
||||
FILE_IN_STOP_TIMES="${1}"
|
||||
FILE_OUT_STOP_SEQ="${2}"
|
||||
|
||||
cat "${FILE_IN_STOP_TIMES}" | grep -v "stop_id" | gawk -v sq="${SQLITE_DB_IMPORT_SEP}" -F ',' '{
|
||||
pickup_type = $7; drop_off_type = $8;
|
||||
if( ( ( pickup_type == "" ) &&( drop_off_type == "" ) ) || ( ( pickup_type == 0 ) && ( drop_off_type == 0 ) ) ) {
|
||||
trip_id=$1; arri_time=$2; dept_time=$3; stop_id=$4; stop_seq=$5;
|
||||
|
||||
if( arri_time == "" )
|
||||
arri_time = "00:00:00";
|
||||
if( dept_time == "" )
|
||||
dept_time = "00:00:00";
|
||||
|
||||
stop_seq = stop_seq;
|
||||
|
||||
split(dept_time, parts_dept_time, ":"); split(arri_time, parts_arri_time, ":");
|
||||
|
||||
if( parts_dept_time[1] >= 24 )
|
||||
{ dept_time_next_day = "true"; dept_time = (parts_dept_time[1] - 24) ":" parts_dept_time[2] ":" parts_dept_time[3] }
|
||||
else { dept_time_next_day = "false"; }
|
||||
if( parts_arri_time[1] >= 24 )
|
||||
{ arri_time_next_day = "true"; arri_time = (parts_arri_time[1] - 24) ":" parts_arri_time[2] ":" parts_arri_time[3] }
|
||||
else { arri_time_next_day = "false"; }
|
||||
|
||||
print trip_id sq stop_id sq stop_seq sq dept_time sq dept_time_next_day sq arri_time sq arri_time_next_day;
|
||||
}
|
||||
}' | grep -v "^$" >"${FILE_OUT_STOP_SEQ}"
|
||||
fi
|
39
android/scripts/csve/insertStops.sh
Executable file
39
android/scripts/csve/insertStops.sh
Executable file
|
@ -0,0 +1,39 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Macgregor
|
||||
# Liscense: GPLv3
|
||||
#
|
||||
#
|
||||
|
||||
if [ ${#} -eq 3 ] ; then
|
||||
FILE_IN_STOPS="${1}"
|
||||
FILE_OUT_STOPS_NAMES="${2}"
|
||||
FILE_OUT_STOPS_GEO="${3}"
|
||||
|
||||
cat "${FILE_IN_STOPS}" | grep -v "stop_id" | gawk -v sq="${SQLITE_DB_IMPORT_SEP}" -F ',' '{
|
||||
stop_id=$1; stop_name=$2; stop_dec=$5;
|
||||
|
||||
if(length(stop_id)>0)
|
||||
{
|
||||
sub( sq, sq""sq, stop_name );
|
||||
if( split( stop_dec, stop_dec_parts, ":" ) == 4 )
|
||||
{
|
||||
stop_name_marathi = stop_dec_parts[2];
|
||||
sub( " Road", "", stop_name_marathi );
|
||||
stop_road = stop_dec_parts[3];
|
||||
sub( " Area", "", stop_road );
|
||||
stop_area = stop_dec_parts[4];
|
||||
# _stopID, _stopName, _stopNameMarathi, _stopRoad, _stopArea
|
||||
print stop_id sq stop_name sq stop_name_marathi sq stop_road sq stop_areas;
|
||||
}
|
||||
}
|
||||
}' | grep -v "^$" >"${FILE_OUT_STOPS_NAMES}"
|
||||
|
||||
cat "${FILE_IN_STOPS}" | grep -v "stop_id" | gawk -v sq="${SQLITE_DB_IMPORT_SEP}" -F ',' '{
|
||||
stop_id=$1; stop_lat=$3; stop_long=$4;
|
||||
if( (length(stop_id)>0) && (length(stop_lat)>0) && (length(stop_long)>0) )
|
||||
{
|
||||
print stop_id sq stop_lat sq stop_long;
|
||||
}
|
||||
}' | grep -v "^$" >"${FILE_OUT_STOPS_GEO}"
|
||||
fi
|
27
android/scripts/csve/insertTripBusFreq.sh
Executable file
27
android/scripts/csve/insertTripBusFreq.sh
Executable file
|
@ -0,0 +1,27 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Macgregor
|
||||
# Liscense: GPLv3
|
||||
#
|
||||
# routes = route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color
|
||||
# route_id,route_short_name,route_long_name,route_type --for MUMBAI routes
|
||||
# route_id,service_id,trip_id --for MUMBAI trips
|
||||
|
||||
if [ ${#} -eq 2 ] ; then
|
||||
|
||||
FILE_IN_FREQ="${1}"
|
||||
FILE_OUT_FREQ="${2}"
|
||||
|
||||
# FPAT regex parse CSV and then strip not needed quotes from field data
|
||||
cat "${FILE_IN_FREQ}" | grep -v "trip_id" | gawk -v sq="${SQLITE_DB_IMPORT_SEP}" 'BEGIN { FPAT = "([^,]*)|(\"[^\"]+\")" } {
|
||||
trip_id = $1; start_time = $2; end_time = $3; headways = $4;
|
||||
|
||||
if( length(alltrips[trip_id]) > 0 )
|
||||
alltrips[trip_id] = ((alltrips[trip_id] + headways) / 2); # hack: ouch average out the headways!
|
||||
else
|
||||
alltrips[trip_id] = headways;
|
||||
} END {
|
||||
for( tid in alltrips)
|
||||
print tid sq int(alltrips[tid]);
|
||||
}' | grep -v "^$" | tr -d '"' >"${FILE_OUT_FREQ}"
|
||||
fi
|
33
android/scripts/csve/insertTripRoutes.sh
Executable file
33
android/scripts/csve/insertTripRoutes.sh
Executable file
|
@ -0,0 +1,33 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Macgregor
|
||||
# Liscense: GPLv3
|
||||
#
|
||||
# routes = route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color
|
||||
# route_id,route_short_name,route_long_name,route_type --for MUMBAI routes
|
||||
# route_id,service_id,trip_id --for MUMBAI trips
|
||||
|
||||
if [ ${#} -eq 4 ] ; then
|
||||
FILE_IN_ROUTES="${1}"
|
||||
FILE_OUT_ROUTES="${2}"
|
||||
|
||||
FILE_IN_TRIPS="${3}"
|
||||
FILE_OUT_TRIPS="${4}"
|
||||
|
||||
cat "${FILE_IN_ROUTES}" | grep -v "route_id" | gawk -v sq="${SQLITE_DB_IMPORT_SEP}" -F ',' '{
|
||||
route_id = $1; agency_id = $2; route_short_name = $3; route_long_name = $4; route_type = $5;
|
||||
|
||||
if(route_type==0) { route_type="Tram"; } else if(route_type==1) { route_type="Subway"; } else if(route_type==2) { route_type="Rail"; } else if(route_type==3) { route_type="Bus"; } else if(route_type==4) { route_type="Ferry"; } else if(route_type==5) { route_type="Cable car"; } else if(route_type==6) { route_type="Gondola"; } else if(route_type==7) { route_type="Funicular"; } else { route_type=""; }
|
||||
|
||||
if(route_type=="") { route_type="Bus"; }
|
||||
|
||||
print route_id sq agency_id sq route_short_name sq route_long_name sq route_type;
|
||||
}' >"${FILE_OUT_ROUTES}"
|
||||
|
||||
# FPAT regex used to parse CSV data where a comma is in the field; further strip quotes from result as that is not part of the field data.
|
||||
cat "${FILE_IN_TRIPS}" | grep -v "route_id" | gawk -v sq="${SQLITE_DB_IMPORT_SEP}" 'BEGIN { FPAT = "([^,]*)|(\"[^\"]+\")" } {
|
||||
route_id = $1; service_id = $2; trip_id = $3; trip_sign = $4;
|
||||
|
||||
print trip_id sq route_id sq service_id sq trip_sign;
|
||||
}' | grep -v "^$" | tr -d '"' >"${FILE_OUT_TRIPS}"
|
||||
fi
|
35
android/scripts/csve/insertTripSchedules.sh
Executable file
35
android/scripts/csve/insertTripSchedules.sh
Executable file
|
@ -0,0 +1,35 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Macgregor
|
||||
# Liscense: GPLv3
|
||||
#
|
||||
#service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date -- FOR MUMBAI
|
||||
|
||||
if [ ${#} -eq 2 ] ; then
|
||||
FILE_IN_CALENDAR="${1}"
|
||||
FILE_OUT_CALENDAR="${2}"
|
||||
|
||||
cat "${FILE_IN_CALENDAR}" | grep -v "^service_id" | gawk -v sq="${SQLITE_DB_IMPORT_SEP}" -F ',' '{
|
||||
if(NF==10)
|
||||
{
|
||||
service_id=$1; service_date_start=$9; service_date_end=$10; service_day="";
|
||||
|
||||
for( ix=2; ix<=8; ix++ )
|
||||
{
|
||||
if( (ix==2) && ($ix=="1") ) { service_day="Mon"; }
|
||||
else if( (ix==3) && ($ix=="1") ) { service_day="Tue"; }
|
||||
else if( (ix==4) && ($ix=="1") ) { service_day="Wed"; }
|
||||
else if( (ix==5) && ($ix=="1") ) { service_day="Thu"; }
|
||||
else if( (ix==6) && ($ix=="1") ) { service_day="Fri"; }
|
||||
else if( (ix==7) && ($ix=="1") ) { service_day="Sat"; }
|
||||
else if( (ix==8) && ($ix=="1") ) { service_day="Sun"; }
|
||||
else { service_day=""; }
|
||||
|
||||
if(service_day != "")
|
||||
{
|
||||
print service_id sq service_day sq service_date_start sq service_date_end;
|
||||
}
|
||||
}
|
||||
}
|
||||
}' | grep -v "^$" >"${FILE_OUT_CALENDAR}"
|
||||
fi
|
48
android/scripts/env.sh
Executable file
48
android/scripts/env.sh
Executable file
|
@ -0,0 +1,48 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Macgregor
|
||||
# Liscense: GPLv3
|
||||
#
|
||||
#
|
||||
|
||||
export M_PROCESS_FOR="Mumbai"
|
||||
export M_GTFS_FEED='http://gtfs.chalobest.in/gtfs_0.9.5.zip'
|
||||
export SQLITE_DB_IMPORT_SEP="~"
|
||||
|
||||
if [ $(uname -a | grep -i -c cygwin) -ge 1 ] ; then
|
||||
export M_BASE="/cygdrive/d/dev/new_dev/BESTMobile/"
|
||||
else
|
||||
export M_BASE="/var/working/transportation"
|
||||
fi
|
||||
|
||||
M_DB_ID="gt${M_PROCESS_FOR}"
|
||||
|
||||
GTFS_INPUT="${M_BASE}/GTFS/${M_PROCESS_FOR}"
|
||||
DATA_OUT="${M_BASE}/data/${M_PROCESS_FOR}"
|
||||
|
||||
TMP_WORK_FILE="${DATA_OUT}/__tmp"
|
||||
|
||||
DATA_SQLITE_DB_CORE="${DATA_OUT}/android-db.sqlite"
|
||||
DATA_SQLITE_DB_CREATE="${M_BASE}/BESTMobile/android/db/create-sqlite-android.sql"
|
||||
|
||||
FILE_DB_CREATE="${M_BASE}/web/db/create-template.txt"
|
||||
|
||||
FILE_IN_FREQ="${GTFS_INPUT}/frequencies.txt"
|
||||
FILE_OUT_FREQ="${DATA_OUT}/frequencies.txt"
|
||||
|
||||
FILE_IN_STOPS="${GTFS_INPUT}/stops.txt"
|
||||
FILE_IN_STOP_TIMES="${GTFS_INPUT}/stop_times.txt"
|
||||
FILE_OUT_STOPS_NAMES="${DATA_OUT}/stop_names.txt"
|
||||
FILE_OUT_STOPS_GEO="${DATA_OUT}/stop_geo.txt"
|
||||
|
||||
FILE_IN_STOP_TIMES="${GTFS_INPUT}/stop_times.txt"
|
||||
FILE_OUT_STOP_SEQ="${DATA_OUT}/stop_seq.txt"
|
||||
|
||||
FILE_IN_ROUTES="${GTFS_INPUT}/routes.txt"
|
||||
FILE_OUT_ROUTES="${DATA_OUT}/routes.txt"
|
||||
|
||||
FILE_IN_TRIPS="${GTFS_INPUT}/trips.txt"
|
||||
FILE_OUT_TRIPS="${DATA_OUT}/trips.txt"
|
||||
|
||||
FILE_IN_CALENDAR="${GTFS_INPUT}/calendar.txt"
|
||||
FILE_OUT_CALENDAR="${DATA_OUT}/trip_schedules.txt"
|
38
android/scripts/generateSQLiteDB.sh
Executable file
38
android/scripts/generateSQLiteDB.sh
Executable file
|
@ -0,0 +1,38 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Macgregor
|
||||
# Liscense: GPLv3
|
||||
# Date: 25th Oct 2012
|
||||
#
|
||||
#
|
||||
|
||||
source "env.sh"
|
||||
|
||||
if [ -f ${DATA_SQLITE_DB_CORE} ] ; then
|
||||
rm -vf ${DATA_SQLITE_DB_CORE}
|
||||
fi
|
||||
|
||||
echo -n "Info: Generating sqlite data base ... "
|
||||
|
||||
# Create the DB
|
||||
cat ${DATA_SQLITE_DB_CREATE} | sqlite3 ${DATA_SQLITE_DB_CORE}
|
||||
|
||||
# Import the data
|
||||
echo .separator \"${SQLITE_DB_IMPORT_SEP}\" >${TMP_WORK_FILE}
|
||||
echo .import \"${FILE_OUT_STOPS_NAMES}\" stop_names >>${TMP_WORK_FILE}
|
||||
echo .import \"${FILE_OUT_STOPS_GEO}\" stop_geo >>${TMP_WORK_FILE}
|
||||
echo .import \"${FILE_OUT_FREQ}\" bus_max_freq >>${TMP_WORK_FILE}
|
||||
echo .import \"${FILE_OUT_ROUTES}\" routes >>${TMP_WORK_FILE}
|
||||
echo .import \"${FILE_OUT_TRIPS}\" trips >>${TMP_WORK_FILE}
|
||||
echo .import \"${FILE_OUT_CALENDAR}\" schedule_rules >>${TMP_WORK_FILE}
|
||||
echo .import \"${FILE_OUT_STOP_SEQ}\" stops_on_trip >>${TMP_WORK_FILE}
|
||||
|
||||
cat ${TMP_WORK_FILE} | sqlite3 ${DATA_SQLITE_DB_CORE}
|
||||
|
||||
rm -f ${TMP_WORK_FILE}
|
||||
|
||||
echo "done."
|
||||
|
||||
|
||||
|
||||
|
41
android/scripts/sqle/insertStopSeq.sh
Executable file
41
android/scripts/sqle/insertStopSeq.sh
Executable file
|
@ -0,0 +1,41 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Macgregor
|
||||
# Liscense: GPLv3
|
||||
#
|
||||
#trip_id,arrival_time,departure_time,stop_id,stop_sequence -- FOR MUMBAI
|
||||
|
||||
if [ ${#} -eq 2 ] ; then
|
||||
FILE_IN_STOP_TIMES="${1}"
|
||||
FILE_OUT_STOP_SEQ="${2}"
|
||||
|
||||
#print "insert into stops_on_trip (_tripID, _stopID, _stopSeq, _stopDept, _stopDeptOnNextDay, _stopArri, _stopArriOnNextDay) values (" sq trip_id sq "," sq stop_id sq "," stop_seq "," sq dept_time sq "," dept_time_next_day "," sq arri_time sq "," arri_time_next_day ");"
|
||||
|
||||
#print sq trip_id sq "," sq stop_id sq "," stop_seq "," sq dept_time sq "," dept_time_next_day "," sq arri_time sq "," arri_time_next_day;
|
||||
|
||||
echo "delete from stops_on_trip;" >"${FILE_OUT_STOP_SEQ}"
|
||||
cat "${FILE_IN_STOP_TIMES}" | grep -v "stop_id" | gawk -v sq="'" -F ',' '{
|
||||
pickup_type = $7; drop_off_type = $8;
|
||||
if( ( ( pickup_type == "" ) &&( drop_off_type == "" ) ) || ( ( pickup_type == 0 ) && ( drop_off_type == 0 ) ) ) {
|
||||
trip_id=$1; arri_time=$2; dept_time=$3; stop_id=$4; stop_seq=$5;
|
||||
|
||||
if( arri_time == "" )
|
||||
arri_time = "00:00:00";
|
||||
if( dept_time == "" )
|
||||
dept_time = "00:00:00";
|
||||
|
||||
stop_seq = stop_seq;
|
||||
|
||||
split(dept_time, parts_dept_time, ":"); split(arri_time, parts_arri_time, ":");
|
||||
|
||||
if( parts_dept_time[1] >= 24 )
|
||||
{ dept_time_next_day = "true"; dept_time = (parts_dept_time[1] - 24) ":" parts_dept_time[2] ":" parts_dept_time[3] }
|
||||
else { dept_time_next_day = "false"; }
|
||||
if( parts_arri_time[1] >= 24 )
|
||||
{ arri_time_next_day = "true"; arri_time = (parts_arri_time[1] - 24) ":" parts_arri_time[2] ":" parts_arri_time[3] }
|
||||
else { arri_time_next_day = "false"; }
|
||||
|
||||
print "insert into stops_on_trip (_tripID, _stopID, _stopSeq, _stopDept, _stopDeptOnNextDay, _stopArri, _stopArriOnNextDay) values (" sq trip_id sq "," sq stop_id sq "," stop_seq "," sq dept_time sq "," dept_time_next_day "," sq arri_time sq "," arri_time_next_day ");"
|
||||
}
|
||||
}' >>"${FILE_OUT_STOP_SEQ}"
|
||||
fi
|
40
android/scripts/sqle/insertStops.sh
Executable file
40
android/scripts/sqle/insertStops.sh
Executable file
|
@ -0,0 +1,40 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Macgregor
|
||||
# Liscense: GPLv3
|
||||
#
|
||||
#
|
||||
|
||||
if [ ${#} -eq 3 ] ; then
|
||||
FILE_IN_STOPS="${1}"
|
||||
FILE_OUT_STOPS_NAMES="${2}"
|
||||
FILE_OUT_STOPS_GEO="${3}"
|
||||
|
||||
echo "delete from stop_names;" >"${FILE_OUT_STOPS_NAMES}"
|
||||
cat "${FILE_IN_STOPS}" | grep -v "stop_id" | gawk -v sq="'" -F ',' '{
|
||||
stop_id=$1; stop_name=$2; stop_dec=$5;
|
||||
|
||||
if(length(stop_id)>0)
|
||||
{
|
||||
sub( sq, sq""sq, stop_name );
|
||||
if( split( stop_dec, stop_dec_parts, ":" ) == 4 )
|
||||
{
|
||||
stop_name_marathi = stop_dec_parts[2];
|
||||
sub( " Road", "", stop_name_marathi );
|
||||
stop_road = stop_dec_parts[3];
|
||||
sub( " Area", "", stop_road );
|
||||
stop_area = stop_dec_parts[4];
|
||||
print "insert into stop_names (_stopID, _stopName, _stopNameMarathi, _stopRoad, _stopArea) values (" sq stop_id sq "," sq stop_name sq "," sq stop_name_marathi sq "," sq stop_road sq "," sq stop_area sq");"
|
||||
}
|
||||
}
|
||||
}' | grep -v "^$" >>"${FILE_OUT_STOPS_NAMES}"
|
||||
|
||||
echo "delete from stop_geo;" >"${FILE_OUT_STOPS_GEO}"
|
||||
cat "${FILE_IN_STOPS}" | grep -v "stop_id" | gawk -v sq="'" -F ',' '{
|
||||
stop_id=$1; stop_lat=$3; stop_long=$4;
|
||||
if( (length(stop_id)>0) && (length(stop_lat)>0) && (length(stop_long)>0) )
|
||||
{
|
||||
print "insert into stop_geo (_stopID, _stopLat, _stopLon) values (" sq stop_id sq "," stop_lat "," stop_long ");"
|
||||
}
|
||||
}' | grep -v "^$" >>"${FILE_OUT_STOPS_GEO}"
|
||||
fi
|
26
android/scripts/sqle/insertTripBusFreq.sh
Executable file
26
android/scripts/sqle/insertTripBusFreq.sh
Executable file
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Macgregor
|
||||
# Liscense: GPLv3
|
||||
#
|
||||
# routes = route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color
|
||||
# route_id,route_short_name,route_long_name,route_type --for MUMBAI routes
|
||||
# route_id,service_id,trip_id --for MUMBAI trips
|
||||
|
||||
if [ ${#} -eq 2 ] ; then
|
||||
|
||||
FILE_IN_FREQ="${1}"
|
||||
FILE_OUT_FREQ="${2}"
|
||||
|
||||
echo "delete from bus_max_freq;" >"${FILE_OUT_FREQ}"
|
||||
cat "${FILE_IN_FREQ}" | grep -v "trip_id" | gawk -v sq="'" -F ',' '{
|
||||
trip_id = $1; start_time = $2; end_time = $3; headways = $4;
|
||||
if( length(alltrips[trip_id]) > 0 )
|
||||
alltrips[trip_id] = ((alltrips[trip_id] + headways) / 2); # hack: ouch average out the headways!
|
||||
else
|
||||
alltrips[trip_id] = headways;
|
||||
} END {
|
||||
for( tid in alltrips)
|
||||
print "insert into bus_max_freq (_tripID, _freq) values (" sq tid sq "," int(alltrips[tid]) ");"
|
||||
}' >>"${FILE_OUT_FREQ}"
|
||||
fi
|
26
android/scripts/sqle/insertTripFreq.sh
Executable file
26
android/scripts/sqle/insertTripFreq.sh
Executable file
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Macgregor
|
||||
# Liscense: GPLv3
|
||||
#
|
||||
# routes = route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color
|
||||
# route_id,route_short_name,route_long_name,route_type --for MUMBAI routes
|
||||
# route_id,service_id,trip_id --for MUMBAI trips
|
||||
|
||||
if [ ${#} -eq 2 ] ; then
|
||||
FILE_IN_FREQ="${1}"
|
||||
FILE_OUT_FREQ="${2}"
|
||||
|
||||
echo "delete from trips_freq;" >"${FILE_OUT_FREQ}"
|
||||
cat "${FILE_IN_FREQ}" | grep -v "trip_id" | gawk -v sq="'" -F ',' '{
|
||||
trip_id = $1; start_time = $2; end_time = $3; headways = $4;
|
||||
|
||||
split(end_time, parts_end_time, ":");
|
||||
|
||||
if( parts_end_time[1] >= 24 )
|
||||
{ end_time_next_day = "true"; end_time = (parts_end_time[1] - 24) ":" parts_end_time[2] ":" parts_end_time[3]; }
|
||||
else { end_time_next_day = "false"; }
|
||||
|
||||
print "insert into trips_freq (_tripID, _start, _end, _end_next_day, _headways) values (" sq trip_id sq "," sq start_time sq "," sq end_time sq "," end_time_next_day "," sq headways sq ");"
|
||||
}' >>"${FILE_OUT_FREQ}"
|
||||
fi
|
40
android/scripts/sqle/insertTripRoutes.sh
Executable file
40
android/scripts/sqle/insertTripRoutes.sh
Executable file
|
@ -0,0 +1,40 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Macgregor
|
||||
# Liscense: GPLv3
|
||||
#
|
||||
# routes = route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color
|
||||
# route_id,route_short_name,route_long_name,route_type --for MUMBAI routes
|
||||
# route_id,service_id,trip_id --for MUMBAI trips
|
||||
|
||||
if [ ${#} -eq 4 ] ; then
|
||||
FILE_IN_ROUTES="${1}"
|
||||
FILE_OUT_ROUTES="${2}"
|
||||
|
||||
FILE_IN_TRIPS="${3}"
|
||||
FILE_OUT_TRIPS="${4}"
|
||||
|
||||
echo "delete from routes;" >"${FILE_OUT_ROUTES}"
|
||||
cat "${FILE_IN_ROUTES}" | grep -v "route_id" | gawk -v sq="'" -F ',' '{
|
||||
route_id = $1; agency_id = $2; route_short_name = $3; route_long_name = $4; route_type = $5;
|
||||
|
||||
sub( sq, sq""sq, route_short_name );
|
||||
sub( sq, sq""sq, route_long_name );
|
||||
sub( sq, sq""sq, route_type );
|
||||
|
||||
if(route_type==0) { route_type="Tram"; } else if(route_type==1) { route_type="Subway"; } else if(route_type==2) { route_type="Rail"; } else if(route_type==3) { route_type="Bus"; } else if(route_type==4) { route_type="Ferry"; } else if(route_type==5) { route_type="Cable car"; } else if(route_type==6) { route_type="Gondola"; } else if(route_type==7) { route_type="Funicular"; } else { route_type=""; }
|
||||
|
||||
if(route_type=="") { route_type="Bus"; }
|
||||
|
||||
print "insert into routes (_routeID, _agencyID, _routeName, _routeLongName, _routeType) values (" sq route_id sq "," sq agency_id sq "," sq route_short_name sq "," sq route_long_name sq "," sq route_type sq ");"
|
||||
}' >>"${FILE_OUT_ROUTES}"
|
||||
|
||||
echo "delete from trips;" >"${FILE_OUT_TRIPS}"
|
||||
cat "${FILE_IN_TRIPS}" | grep -v "route_id" | gawk -v sq="'" -F ',' '{
|
||||
route_id = $1; service_id = $2; trip_id = $3; trip_sign = $4;
|
||||
|
||||
sub( sq, sq""sq, trip_sign );
|
||||
|
||||
print "insert into trips (_tripID, _routeID, _serviceID, _tripHeadSign) values (" sq trip_id sq "," sq route_id sq "," sq service_id sq "," sq trip_sign sq ");"
|
||||
}' >>"${FILE_OUT_TRIPS}"
|
||||
fi
|
36
android/scripts/sqle/insertTripSchedules.sh
Executable file
36
android/scripts/sqle/insertTripSchedules.sh
Executable file
|
@ -0,0 +1,36 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Macgregor
|
||||
# Liscense: GPLv3
|
||||
#
|
||||
#service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date -- FOR MUMBAI
|
||||
|
||||
if [ ${#} -eq 2 ] ; then
|
||||
FILE_IN_CALENDAR="${1}"
|
||||
FILE_OUT_CALENDAR="${2}"
|
||||
|
||||
echo "delete from schedule_rules;" >"${FILE_OUT_CALENDAR}"
|
||||
cat "${FILE_IN_CALENDAR}" | grep -v "^service_id" | gawk -v sq="'" -F ',' '{
|
||||
if(NF==10)
|
||||
{
|
||||
service_id=$1; service_date_start=$9; service_date_end=$10; service_day="";
|
||||
|
||||
for( ix=2; ix<=8; ix++ )
|
||||
{
|
||||
if( (ix==2) && ($ix=="1") ) { service_day="Mon"; }
|
||||
else if( (ix==3) && ($ix=="1") ) { service_day="Tue"; }
|
||||
else if( (ix==4) && ($ix=="1") ) { service_day="Wed"; }
|
||||
else if( (ix==5) && ($ix=="1") ) { service_day="Thu"; }
|
||||
else if( (ix==6) && ($ix=="1") ) { service_day="Fri"; }
|
||||
else if( (ix==7) && ($ix=="1") ) { service_day="Sat"; }
|
||||
else if( (ix==8) && ($ix=="1") ) { service_day="Sun"; }
|
||||
else { service_day=""; }
|
||||
|
||||
if(service_day != "")
|
||||
{
|
||||
print "insert into schedule_rules (_serviceID, _serviceDay, _startPeriodDate, _endPeriodDate) values (" sq service_id sq "," sq service_day sq "," sq service_date_start sq "," sq service_date_end sq ");"
|
||||
}
|
||||
}
|
||||
}
|
||||
}' >>"${FILE_OUT_CALENDAR}"
|
||||
fi
|
12
zipgen/ZipGen/ZipGen.iml
Executable file
12
zipgen/ZipGen/ZipGen.iml
Executable file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
|
45
zipgen/ZipGen/src/CZipCreate.java
Executable file
45
zipgen/ZipGen/src/CZipCreate.java
Executable file
|
@ -0,0 +1,45 @@
|
|||
/**
|
||||
* Author: Macgregor
|
||||
* License: GPLv3
|
||||
*/
|
||||
|
||||
import java.io.*;
|
||||
import java.util.zip.*;
|
||||
|
||||
public class CZipCreate
|
||||
{
|
||||
public static void writeGZ(String inFileName)
|
||||
{
|
||||
try
|
||||
{
|
||||
File file = new File(inFileName);
|
||||
FileOutputStream fos = new FileOutputStream(file + ".gz");
|
||||
GZIPOutputStream gzos = new GZIPOutputStream(fos);
|
||||
FileInputStream fin = new FileInputStream(file);
|
||||
BufferedInputStream in = new BufferedInputStream(fin);
|
||||
|
||||
System.out.println("Creating FAT filesystem (MS-DOS, OS/2, NT) GZip: " + inFileName + " to "+ file + ".gz");
|
||||
|
||||
byte[] buffer = new byte[1024];
|
||||
int i = -1;
|
||||
|
||||
while ((i = in.read(buffer)) >= 0)
|
||||
gzos.write(buffer,0,i);
|
||||
|
||||
in.close();
|
||||
gzos.close();
|
||||
}
|
||||
catch(IOException e)
|
||||
{
|
||||
System.out.println("Error: " + e);
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String args[]){
|
||||
if(args.length == 1)
|
||||
writeGZ(args[0]);
|
||||
else
|
||||
System.out.println("Raw Input Missing.");
|
||||
}
|
||||
}
|
166
zipgen/zipkit.ipr
Executable file
166
zipgen/zipkit.ipr
Executable file
|
@ -0,0 +1,166 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="AntConfiguration">
|
||||
<defaultAnt bundledAnt="true" />
|
||||
</component>
|
||||
<component name="CompilerConfiguration">
|
||||
<option name="DEFAULT_COMPILER" value="Javac" />
|
||||
<resourceExtensions />
|
||||
<wildcardResourcePatterns>
|
||||
<entry name="?*.properties" />
|
||||
<entry name="?*.xml" />
|
||||
<entry name="?*.gif" />
|
||||
<entry name="?*.png" />
|
||||
<entry name="?*.jpeg" />
|
||||
<entry name="?*.jpg" />
|
||||
<entry name="?*.html" />
|
||||
<entry name="?*.dtd" />
|
||||
<entry name="?*.tld" />
|
||||
<entry name="?*.ftl" />
|
||||
</wildcardResourcePatterns>
|
||||
<annotationProcessing enabled="false" useClasspath="true" />
|
||||
</component>
|
||||
<component name="CopyrightManager" default="">
|
||||
<module2copyright />
|
||||
</component>
|
||||
<component name="DependencyValidationManager">
|
||||
<option name="SKIP_IMPORT_STATEMENTS" value="false" />
|
||||
</component>
|
||||
<component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
|
||||
<component name="EntryPointsManager">
|
||||
<entry_points version="2.0" />
|
||||
</component>
|
||||
<component name="Palette2">
|
||||
<group name="Swing">
|
||||
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
||||
</item>
|
||||
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
|
||||
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
||||
<initial-values>
|
||||
<property name="text" value="Button" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="RadioButton" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="CheckBox" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="Label" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
||||
<preferred-size width="-1" height="20" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
||||
</item>
|
||||
</group>
|
||||
</component>
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/ZipGen/ZipGen.iml" filepath="$PROJECT_DIR$/ZipGen/ZipGen.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="1.6 (1)" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="" />
|
||||
</component>
|
||||
</project>
|
||||
|
455
zipgen/zipkit.iws
Executable file
455
zipgen/zipkit.iws
Executable file
|
@ -0,0 +1,455 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="cf499f07-8597-4415-bf02-b259976ad0e5" name="Default" comment="" />
|
||||
<ignored path="zipkit.iws" />
|
||||
<ignored path=".idea/workspace.xml" />
|
||||
<option name="TRACKING_ENABLED" value="true" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||
</component>
|
||||
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
||||
<component name="CreatePatchCommitExecutor">
|
||||
<option name="PATCH_PATH" value="" />
|
||||
</component>
|
||||
<component name="DaemonCodeAnalyzer">
|
||||
<disable_hints />
|
||||
</component>
|
||||
<component name="DebuggerManager">
|
||||
<breakpoint_any>
|
||||
<breakpoint>
|
||||
<option name="NOTIFY_CAUGHT" value="true" />
|
||||
<option name="NOTIFY_UNCAUGHT" value="true" />
|
||||
<option name="ENABLED" value="false" />
|
||||
<option name="LOG_ENABLED" value="false" />
|
||||
<option name="LOG_EXPRESSION_ENABLED" value="false" />
|
||||
<option name="SUSPEND_POLICY" value="SuspendAll" />
|
||||
<option name="COUNT_FILTER_ENABLED" value="false" />
|
||||
<option name="COUNT_FILTER" value="0" />
|
||||
<option name="CONDITION_ENABLED" value="false" />
|
||||
<option name="CLASS_FILTERS_ENABLED" value="false" />
|
||||
<option name="INSTANCE_FILTERS_ENABLED" value="false" />
|
||||
<option name="CONDITION" value="" />
|
||||
<option name="LOG_MESSAGE" value="" />
|
||||
</breakpoint>
|
||||
<breakpoint>
|
||||
<option name="NOTIFY_CAUGHT" value="true" />
|
||||
<option name="NOTIFY_UNCAUGHT" value="true" />
|
||||
<option name="ENABLED" value="false" />
|
||||
<option name="LOG_ENABLED" value="false" />
|
||||
<option name="LOG_EXPRESSION_ENABLED" value="false" />
|
||||
<option name="SUSPEND_POLICY" value="SuspendAll" />
|
||||
<option name="COUNT_FILTER_ENABLED" value="false" />
|
||||
<option name="COUNT_FILTER" value="0" />
|
||||
<option name="CONDITION_ENABLED" value="false" />
|
||||
<option name="CLASS_FILTERS_ENABLED" value="false" />
|
||||
<option name="INSTANCE_FILTERS_ENABLED" value="false" />
|
||||
<option name="CONDITION" value="" />
|
||||
<option name="LOG_MESSAGE" value="" />
|
||||
</breakpoint>
|
||||
</breakpoint_any>
|
||||
<breakpoint_rules />
|
||||
<ui_properties />
|
||||
</component>
|
||||
<component name="FavoritesManager">
|
||||
<favorites_list name="zipkit" />
|
||||
</component>
|
||||
<component name="FileEditorManager">
|
||||
<leaf>
|
||||
<file leaf-file-name="CZipCreate.java" pinned="false" current="true" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/ZipGen/src/CZipCreate.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="20" column="71" selection-start="575" selection-end="575" vertical-scroll-proportion="0.37037036">
|
||||
<folding>
|
||||
<element signature="n#!!doc" expanded="true" />
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
</leaf>
|
||||
</component>
|
||||
<component name="FindManager">
|
||||
<FindUsagesManager>
|
||||
<setting name="OPEN_NEW_TAB" value="false" />
|
||||
</FindUsagesManager>
|
||||
</component>
|
||||
<component name="IdeDocumentHistory">
|
||||
<option name="changedFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/ZipGen/src/CZipCreate.java" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="MavenRunner">
|
||||
<option name="jreName" value="1.6" />
|
||||
</component>
|
||||
<component name="ProjectFrameBounds">
|
||||
<option name="x" value="-8" />
|
||||
<option name="y" value="-8" />
|
||||
<option name="width" value="1382" />
|
||||
<option name="height" value="744" />
|
||||
</component>
|
||||
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
||||
<OptionsSetting value="true" id="Add" />
|
||||
<OptionsSetting value="true" id="Remove" />
|
||||
<OptionsSetting value="true" id="Checkout" />
|
||||
<OptionsSetting value="true" id="Update" />
|
||||
<OptionsSetting value="true" id="Status" />
|
||||
<OptionsSetting value="true" id="Edit" />
|
||||
<ConfirmationsSetting value="0" id="Add" />
|
||||
<ConfirmationsSetting value="0" id="Remove" />
|
||||
</component>
|
||||
<component name="ProjectReloadState">
|
||||
<option name="STATE" value="0" />
|
||||
</component>
|
||||
<component name="ProjectView">
|
||||
<navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
|
||||
<flattenPackages />
|
||||
<showMembers />
|
||||
<showModules />
|
||||
<showLibraryContents />
|
||||
<hideEmptyPackages />
|
||||
<abbreviatePackageNames />
|
||||
<autoscrollToSource />
|
||||
<autoscrollFromSource />
|
||||
<sortByType />
|
||||
</navigator>
|
||||
<panes>
|
||||
<pane id="Scope">
|
||||
<subPane subId="Project Files">
|
||||
<PATH>
|
||||
<PATH_ELEMENT USER_OBJECT="Root">
|
||||
<option name="myItemId" value="" />
|
||||
<option name="myItemType" value="" />
|
||||
</PATH_ELEMENT>
|
||||
</PATH>
|
||||
</subPane>
|
||||
</pane>
|
||||
<pane id="ProjectPane">
|
||||
<subPane>
|
||||
<PATH>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="zipkit" />
|
||||
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
||||
</PATH_ELEMENT>
|
||||
</PATH>
|
||||
<PATH>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="zipkit" />
|
||||
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
||||
</PATH_ELEMENT>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="ZipGen" />
|
||||
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
||||
</PATH_ELEMENT>
|
||||
</PATH>
|
||||
<PATH>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="zipkit" />
|
||||
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
||||
</PATH_ELEMENT>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="ZipGen" />
|
||||
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
||||
</PATH_ELEMENT>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="src" />
|
||||
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
||||
</PATH_ELEMENT>
|
||||
</PATH>
|
||||
</subPane>
|
||||
</pane>
|
||||
<pane id="PackagesPane" />
|
||||
</panes>
|
||||
</component>
|
||||
<component name="PropertiesComponent">
|
||||
<property name="GenerateAntBuildDialog.generateIdeaHomeProperty" value="false" />
|
||||
<property name="GoToFile.includeJavaFiles" value="false" />
|
||||
<property name="MemberChooser.sorted" value="false" />
|
||||
<property name="recentsLimit" value="5" />
|
||||
<property name="GenerateAntBuildDialog.generateSingleFile" value="true" />
|
||||
<property name="GenerateAntBuildDialog.inclineRuntiemClasspath" value="false" />
|
||||
<property name="GenerateAntBuildDialog.forceTargetJdk" value="true" />
|
||||
<property name="GenerateAntBuildDialog.outputFileNameProperty" value="build" />
|
||||
<property name="MemberChooser.copyJavadoc" value="false" />
|
||||
<property name="GenerateAntBuildDialog.enableUiFormCompile" value="true" />
|
||||
<property name="GoToClass.toSaveIncludeLibraries" value="false" />
|
||||
<property name="MemberChooser.showClasses" value="true" />
|
||||
<property name="GoToClass.includeLibraries" value="false" />
|
||||
<property name="GenerateAntBuildDialog.backupFiles" value="false" />
|
||||
<property name="dynamic.classpath" value="false" />
|
||||
</component>
|
||||
<component name="RunManager" selected="Application.CZipCreate">
|
||||
<configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
|
||||
<module name="" />
|
||||
<option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m" />
|
||||
<option name="PROGRAM_PARAMETERS" />
|
||||
<method>
|
||||
<option name="AntTarget" enabled="false" />
|
||||
<option name="BuildArtifacts" enabled="false" />
|
||||
<option name="Make" enabled="true" />
|
||||
<option name="Maven.BeforeRunTask" enabled="false" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration default="true" type="Remote" factoryName="Remote">
|
||||
<option name="USE_SOCKET_TRANSPORT" value="true" />
|
||||
<option name="SERVER_MODE" value="false" />
|
||||
<option name="SHMEM_ADDRESS" value="javadebug" />
|
||||
<option name="HOST" value="localhost" />
|
||||
<option name="PORT" value="5005" />
|
||||
<method>
|
||||
<option name="AntTarget" enabled="false" />
|
||||
<option name="BuildArtifacts" enabled="false" />
|
||||
<option name="Maven.BeforeRunTask" enabled="false" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration default="true" type="Applet" factoryName="Applet">
|
||||
<module name="" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="HTML_FILE_NAME" />
|
||||
<option name="HTML_USED" value="false" />
|
||||
<option name="WIDTH" value="400" />
|
||||
<option name="HEIGHT" value="300" />
|
||||
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
|
||||
<option name="VM_PARAMETERS" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<method>
|
||||
<option name="AntTarget" enabled="false" />
|
||||
<option name="BuildArtifacts" enabled="false" />
|
||||
<option name="Make" enabled="true" />
|
||||
<option name="Maven.BeforeRunTask" enabled="false" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration default="true" type="TestNG" factoryName="TestNG">
|
||||
<module name="" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="SUITE_NAME" />
|
||||
<option name="PACKAGE_NAME" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="METHOD_NAME" />
|
||||
<option name="GROUP_NAME" />
|
||||
<option name="TEST_OBJECT" value="CLASS" />
|
||||
<option name="VM_PARAMETERS" value="-ea" />
|
||||
<option name="PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
||||
<option name="OUTPUT_DIRECTORY" />
|
||||
<option name="ANNOTATION_TYPE" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<option name="TEST_SEARCH_SCOPE">
|
||||
<value defaultName="moduleWithDependencies" />
|
||||
</option>
|
||||
<option name="USE_DEFAULT_REPORTERS" value="false" />
|
||||
<option name="PROPERTIES_FILE" />
|
||||
<envs />
|
||||
<properties />
|
||||
<listeners />
|
||||
<method>
|
||||
<option name="AntTarget" enabled="false" />
|
||||
<option name="BuildArtifacts" enabled="false" />
|
||||
<option name="Make" enabled="true" />
|
||||
<option name="Maven.BeforeRunTask" enabled="false" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration default="true" type="Application" factoryName="Application">
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="VM_PARAMETERS" />
|
||||
<option name="PROGRAM_PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="ENABLE_SWING_INSPECTOR" value="false" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<module name="" />
|
||||
<envs />
|
||||
<method>
|
||||
<option name="AntTarget" enabled="false" />
|
||||
<option name="BuildArtifacts" enabled="false" />
|
||||
<option name="Make" enabled="true" />
|
||||
<option name="Maven.BeforeRunTask" enabled="false" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration default="true" type="JUnit" factoryName="JUnit">
|
||||
<module name="" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="PACKAGE_NAME" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="METHOD_NAME" />
|
||||
<option name="TEST_OBJECT" value="class" />
|
||||
<option name="VM_PARAMETERS" value="-ea" />
|
||||
<option name="PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<option name="TEST_SEARCH_SCOPE">
|
||||
<value defaultName="moduleWithDependencies" />
|
||||
</option>
|
||||
<envs />
|
||||
<patterns />
|
||||
<method>
|
||||
<option name="AntTarget" enabled="false" />
|
||||
<option name="BuildArtifacts" enabled="false" />
|
||||
<option name="Make" enabled="true" />
|
||||
<option name="Maven.BeforeRunTask" enabled="false" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration default="false" name="CZipCreate" type="Application" factoryName="Application">
|
||||
<option name="MAIN_CLASS_NAME" value="CZipCreate" />
|
||||
<option name="VM_PARAMETERS" value="" />
|
||||
<option name="PROGRAM_PARAMETERS" value="D:\dev\new_dev\BEST_T~1\BESTMO~1\android\mobile\res\raw\CHALOB~1" />
|
||||
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" value="" />
|
||||
<option name="ENABLE_SWING_INSPECTOR" value="false" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<module name="ZipGen" />
|
||||
<envs />
|
||||
<RunnerSettings RunnerId="Debug">
|
||||
<option name="DEBUG_PORT" value="" />
|
||||
<option name="TRANSPORT" value="0" />
|
||||
<option name="LOCAL" value="true" />
|
||||
</RunnerSettings>
|
||||
<RunnerSettings RunnerId="Run" />
|
||||
<ConfigurationWrapper RunnerId="Debug" />
|
||||
<ConfigurationWrapper RunnerId="Run" />
|
||||
<method />
|
||||
</configuration>
|
||||
<list size="1">
|
||||
<item index="0" class="java.lang.String" itemvalue="Application.CZipCreate" />
|
||||
</list>
|
||||
<configuration name="<template>" type="WebApp" default="true" selected="false">
|
||||
<Host>localhost</Host>
|
||||
<Port>5050</Port>
|
||||
</configuration>
|
||||
</component>
|
||||
<component name="ShelveChangesManager" show_recycled="false" />
|
||||
<component name="TaskManager">
|
||||
<task active="true" id="Default" summary="Default task">
|
||||
<created>1351248138053</created>
|
||||
<updated>1351248138053</updated>
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
<component name="ToolWindowManager">
|
||||
<frame x="-8" y="-8" width="1382" height="744" extended-state="6" />
|
||||
<editor active="true" />
|
||||
<layout>
|
||||
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="JetGradle" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3989726" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32876712" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.15781488" sideWeight="0.60102737" order="0" side_tool="false" content_ui="combo" />
|
||||
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32876712" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
||||
</layout>
|
||||
</component>
|
||||
<component name="VcsContentAnnotationSettings">
|
||||
<option name="myLimit" value="2678400000" />
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
|
||||
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
|
||||
<option name="CHECK_NEW_TODO" value="true" />
|
||||
<option name="myTodoPanelSettings">
|
||||
<value>
|
||||
<are-packages-shown value="false" />
|
||||
<are-modules-shown value="false" />
|
||||
<flatten-packages value="false" />
|
||||
<is-autoscroll-to-source value="false" />
|
||||
</value>
|
||||
</option>
|
||||
<option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
|
||||
<option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
|
||||
<option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
|
||||
<option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
|
||||
<option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
|
||||
<option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
|
||||
<option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
|
||||
<option name="ENABLE_BACKGROUND_PROCESSES" value="false" />
|
||||
<option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
|
||||
<option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
|
||||
<option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
|
||||
<option name="DEFAULT_PATCH_EXTENSION" value="patch" />
|
||||
<option name="SHORT_DIFF_HORISONTALLY" value="true" />
|
||||
<option name="SHORT_DIFF_EXTRA_LINES" value="2" />
|
||||
<option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
|
||||
<option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
|
||||
<option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
|
||||
<option name="CREATE_PATCH_EXPAND_DETAILS_DEFAULT" value="true" />
|
||||
<option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
|
||||
<option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
|
||||
<option name="FORCE_NON_EMPTY_COMMENT" value="false" />
|
||||
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
|
||||
<option name="LAST_COMMIT_MESSAGE" />
|
||||
<option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
|
||||
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
|
||||
<option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
|
||||
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
|
||||
<option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
|
||||
<option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
|
||||
<option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
|
||||
<option name="ACTIVE_VCS_NAME" />
|
||||
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
|
||||
<option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
|
||||
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
|
||||
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
|
||||
</component>
|
||||
<component name="XDebuggerManager">
|
||||
<breakpoint-manager />
|
||||
</component>
|
||||
<component name="antWorkspaceConfiguration">
|
||||
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
|
||||
<option name="FILTER_TARGETS" value="false" />
|
||||
</component>
|
||||
<component name="editorHistoryManager">
|
||||
<entry file="file://$PROJECT_DIR$/ZipGen/src/CZipCreate.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="20" column="71" selection-start="575" selection-end="575" vertical-scroll-proportion="0.37037036">
|
||||
<folding>
|
||||
<element signature="n#!!doc" expanded="true" />
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</component>
|
||||
<component name="masterDetails">
|
||||
<states>
|
||||
<state key="ProjectJDKs.UI">
|
||||
<settings>
|
||||
<last-edited>1.6 (1)</last-edited>
|
||||
<splitter-proportions>
|
||||
<option name="proportions">
|
||||
<list>
|
||||
<option value="0.2" />
|
||||
</list>
|
||||
</option>
|
||||
</splitter-proportions>
|
||||
</settings>
|
||||
</state>
|
||||
</states>
|
||||
</component>
|
||||
</project>
|
||||
|
2
zipgen/zipkit.properties
Executable file
2
zipgen/zipkit.properties
Executable file
|
@ -0,0 +1,2 @@
|
|||
path.variable.maven_repository=C\:\\Users\\Jamie\\.m2\\repository
|
||||
jdk.home.1.6_(1)=C\:/Program Files/Java/jdk1.6.0_20
|
Loading…
Reference in New Issue
Block a user