build: merge Coati app and Trial to single executable

* removed trial target
* updated deploy scripts to exclude trial
* cleanup CMakeLists
* removed Eigen dependencies
* split parser lib into lib_cxx and lib_java
* added ProjectFactory and ProjectFactoryModules
* removed old installer projects
* updated wix installer
  * updated readme for wix setup
  * updated to use obfuscated exe
  * added qt.conf
  * added indexing dialog images
  * added jars
  * added coatidb files of sample projects
  * added source code of javaparser sample
  * removed auto-refresh image
  * intermediate files of windows installer are created in build folder
  * preselected desktop shortcut
  * build bat is executed from deploy_windows script
This commit is contained in:
malte_langkabel
2016-09-16 12:45:00 +02:00
parent 8fcb35611d
commit 3b7baba24b
140 changed files with 869 additions and 22250 deletions
+60 -157
View File
@@ -12,10 +12,10 @@ include(cmake/licenses.cmake)
set(PROJECT_NAME Coati)
set(APP_PROJECT_NAME "${PROJECT_NAME}")
set(TRIAL_PROJECT_NAME "${PROJECT_NAME}_trial")
set(LIB_LICENSE_PROJECT_NAME "${PROJECT_NAME}_lib_license")
set(LIB_GUI_PROJECT_NAME "${PROJECT_NAME}_lib_gui")
set(LIB_PARSER_PROJECT_NAME "${PROJECT_NAME}_lib_parser")
set(LIB_CXX_PROJECT_NAME "${PROJECT_NAME}_lib_cxx")
set(LIB_JAVA_PROJECT_NAME "${PROJECT_NAME}_lib_java")
set(LIB_PROJECT_NAME "${PROJECT_NAME}_lib")
set(LICENSE_GENERATOR_PROJECT_NAME "${PROJECT_NAME}_license_generator")
set(TEST_PROJECT_NAME "${PROJECT_NAME}_test")
@@ -54,9 +54,8 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-warning-option -fcolor-diagnostics")
endif()
if (UNIX)
#add_definitions(-std=c++11 -Wno-unknown-warning-option -fcolor-diagnostics -DQT_COMPILING_QSTRING_COMPAT_CPP )
add_definitions(-fno-omit-frame-pointer -DQT_COMPILING_QSTRING_COMPAT_CPP )
if (UNIX AND "${CMAKE_BUILD_TYPE}" STREQUAL "Release")
add_definitions(-fno-omit-frame-pointer -DQT_COMPILING_QSTRING_COMPAT_CPP )
endif ()
# Clang ------------------------------------------------------------------------
@@ -87,25 +86,16 @@ endif()
set(Boost_USE_MULTITHREAD ON)
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_STATIC_RUNTIME OFF)
Set(Boost_NO_SYSTEM_PATHS ON)
set(Boost_NO_SYSTEM_PATHS ON)
set(BOOST_LIBRARYDIR $ENV{BOOST_159_DIR})
find_package(Boost 1.59 COMPONENTS system program_options filesystem date_time REQUIRED)
# Eigen ------------------------------------------------------------------------
add_definitions(-DEIGEN_MPL2_ONLY)
if(UNIX AND NOT APPLE)
set(EIGEN_ROOT ${EXTERNAL_SRC}/eigen)
else()
set(EIGEN_ROOT $ENV{EIGEN_DIR})
endif()
# Botan -------------------------------------------------------------------------
set(BOTAN_VERSION "botan-1.11")
if(UNIX AND APPLE)
if(APPLE)
find_library(BOTAN ${BOTAN_VERSION} $ENV{BOTAN_DIR}/release NO_DEFAULT_PATH)
find_library(BOTAN_D ${BOTAN_VERSION} $ENV{BOTAN_DIR}/debug NO_DEFAULT_PATH)
elseif(UNIX)
@@ -114,21 +104,21 @@ else()
find_library(BOTAN botan "$ENV{BOTAN_DIR}/release")
find_library(BOTAN_D botan "$ENV{BOTAN_DIR}/debug")
endif()
if(${BOTAN} STREQUAL "BOTAN-NOTFOUND")
message(FATAL_ERROR "Botan not found")
else()
message(STATUS "Botan found")
endif()
if(UNIX AND NOT APPLE)
set(BOTAN_INCLUDE_DIR "${EXTERNAL_BUILD}/botan")
else()
set(BOTAN_INCLUDE_DIR "$ENV{BOTAN_DIR}")
endif()
# Lib License -------------------------------------------------------------------
#set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib_license)
#set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib_license)
# Lib License -------------------------------------------------------------------
add_subdirectory(src/lib_license)
@@ -142,23 +132,12 @@ set_property(
"${CMAKE_SOURCE_DIR}/src/lib_license"
)
set_target_properties(
${LIB_LICENSE_PROJECT_NAME}
PROPERTIES
DEBUG_OUTPUT_NAME ${LIB_LICENSE_PROJECT_NAME}_d
RELEASE_OUTPUT_NAME ${LIB_LICENSE_PROJECT_NAME}
)
target_include_directories(${LIB_LICENSE_PROJECT_NAME} SYSTEM
PUBLIC
${Boost_INCLUDE_DIRS}
${LIB_LICENSE_PROJECT_NAME}
${BOTAN_INCLUDE_DIR}
)
# target_include_directories(${LIB_LICENSE_PROJECT_NAME} optimized "$ENV{BOTAN_DIR}/release")
# target_include_directories(${LIB_LICENSE_PROJECT_NAME} debug "$ENV{BOTAN_DIR}/debug")
if(UNIX)
target_link_libraries(${LIB_LICENSE_PROJECT_NAME} ${BOTAN})
else()
@@ -169,13 +148,9 @@ else()
target_link_libraries(${LIB_LICENSE_PROJECT_NAME} optimized ${BOTAN})
endif()
# Lib --------------------------------------------------------------------------
#set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib)
#set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib)
find_package(JNI)
add_subdirectory(src/lib)
add_subdirectory(src/external)
@@ -188,77 +163,82 @@ create_source_groups(${LIB_FILES})
create_source_groups(${EXTERNAL_FILES})
create_source_groups(${EXTERNAL_C_FILES})
set_target_properties(
${LIB_PROJECT_NAME}
PROPERTIES
DEBUG_OUTPUT_NAME ${PROJECT_NAME}_d
RELEASE_OUTPUT_NAME ${PROJECT_NAME}
)
set_property(
TARGET ${LIB_PROJECT_NAME}
PROPERTY INCLUDE_DIRECTORIES
"${CMAKE_SOURCE_DIR}/src/lib"
"${CMAKE_SOURCE_DIR}/src/external"
"${CMAKE_SOURCE_DIR}/src/lib_license"
"${CMAKE_SOURCE_DIR}/src/lib_cxx"
"${CMAKE_SOURCE_DIR}/src/lib_java"
"${CMAKE_SOURCE_DIR}/build/src/lib_license"
)
target_include_directories(${LIB_PROJECT_NAME} SYSTEM
PUBLIC ${LLVM_INCLUDE_DIRS}
${CLANG_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${EIGEN_ROOT}
${JNI_INCLUDE_DIRS}
PUBLIC ${Boost_INCLUDE_DIRS}
"${CMAKE_SOURCE_DIR}/src/external"
)
target_link_libraries(${LIB_PROJECT_NAME} ${Boost_LIBRARIES} ${LIB_LICENSE_PROJECT_NAME})
# Lib Parser -------------------------------------------------------------------
# Lib Cxx -------------------------------------------------------------------
#set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib_parser)
#set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib_parser)
add_subdirectory(src/lib_parser)
add_subdirectory(src/lib_cxx)
set_source_files_properties(${CLANG_FILES} PROPERTIES COMPILE_FLAGS "-fno-rtti")
add_library(${LIB_PARSER_PROJECT_NAME} ${CLANG_FILES})
add_library(${LIB_CXX_PROJECT_NAME} ${CLANG_FILES} ${LIB_CXX_FILES})
create_source_groups(${CLANG_FILES})
create_source_groups(${LIB_CXX_FILES})
set_property(
TARGET ${LIB_PARSER_PROJECT_NAME}
TARGET ${LIB_CXX_PROJECT_NAME}
PROPERTY INCLUDE_DIRECTORIES
"${CMAKE_SOURCE_DIR}/src/lib_parser"
"${CMAKE_SOURCE_DIR}/src/lib_cxx"
"${CMAKE_SOURCE_DIR}/src/lib"
)
set_target_properties(
${LIB_PARSER_PROJECT_NAME}
PROPERTIES
DEBUG_OUTPUT_NAME ${LIB_PARSER_PROJECT_NAME}_d
RELEASE_OUTPUT_NAME ${LIB_PARSER_PROJECT_NAME}
)
target_include_directories(${LIB_PARSER_PROJECT_NAME} SYSTEM
target_include_directories(${LIB_CXX_PROJECT_NAME} SYSTEM
PUBLIC ${LLVM_INCLUDE_DIRS}
${CLANG_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${JNI_INCLUDE_DIRS}
)
link_directories(${LLVM_LIBRARY_DIRS} ${CLANG_LIBRARY_DIRS} ${Boost_LIBRARY_DIRS})
llvm_map_components_to_libnames(REQ_LLVM_LIBS support core libdriver)
target_link_libraries(${LIB_PARSER_PROJECT_NAME} ${CLANG_LIBRARIES} ${REQ_LLVM_LIBS})
target_link_libraries(${LIB_CXX_PROJECT_NAME} ${CLANG_LIBRARIES} ${REQ_LLVM_LIBS})
# Lib Java -------------------------------------------------------------------
find_package(JNI)
add_subdirectory(src/lib_java)
add_library(${LIB_JAVA_PROJECT_NAME} ${LIB_JAVA_FILES})
create_source_groups(${LIB_JAVA_FILES})
set_property(
TARGET ${LIB_JAVA_PROJECT_NAME}
PROPERTY INCLUDE_DIRECTORIES
"${CMAKE_SOURCE_DIR}/src/lib_java"
"${CMAKE_SOURCE_DIR}/src/lib"
)
target_include_directories(${LIB_JAVA_PROJECT_NAME} SYSTEM
PUBLIC ${JNI_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)
link_directories(${Boost_LIBRARY_DIRS})
# Lib Gui ----------------------------------------------------------------------
#set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib_gui)
#set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib_gui)
add_subdirectory(src/lib_gui)
# Find includes in corresponding build directories
@@ -315,24 +295,17 @@ create_source_groups(${LIB_GUI_FILES})
set_property(
TARGET ${LIB_GUI_PROJECT_NAME}
PROPERTY INCLUDE_DIRECTORIES
"${CMAKE_SOURCE_DIR}/src/lib_gui"
"${CMAKE_SOURCE_DIR}/build/src/lib_gui"
"${CMAKE_SOURCE_DIR}/src/lib"
"${CMAKE_SOURCE_DIR}/src/lib_gui"
"${CMAKE_SOURCE_DIR}/src/lib_cxx"
"${CMAKE_SOURCE_DIR}/src/lib_license"
"${CMAKE_SOURCE_DIR}/build/src/lib_license"
)
set_target_properties(
${LIB_GUI_PROJECT_NAME}
PROPERTIES
DEBUG_OUTPUT_NAME ${LIB_GUI_PROJECT_NAME}_d
RELEASE_OUTPUT_NAME ${LIB_GUI_PROJECT_NAME}
)
# include external header without warnings
target_include_directories(${LIB_GUI_PROJECT_NAME} SYSTEM
PUBLIC "${CMAKE_SOURCE_DIR}/src/external"
PUBLIC ${BOTAN_INCLUDE_DIR}
PUBLIC ${Boost_INCLUDE_DIRS}
)
@@ -377,7 +350,7 @@ if (WIN32)
"IDI_ICON1 ICON \"${CMAKE_SOURCE_DIR}/build/coati.ico\"\n"
)
add_executable(${APP_PROJECT_NAME} ${APP_FILES} ${CLANG_FILES} ${GEN_FILES} ${CMAKE_SOURCE_DIR}/build/Coati.rc)
add_executable(${APP_PROJECT_NAME} ${APP_FILES} ${CMAKE_SOURCE_DIR}/build/Coati.rc)
# hide the console when running a release build.
set_target_properties(${APP_PROJECT_NAME} PROPERTIES LINK_FLAGS_DEBUG "/SUBSYSTEM:CONSOLE")
@@ -387,12 +360,12 @@ if (WIN32)
set_target_properties(${APP_PROJECT_NAME} PROPERTIES LINK_FLAGS_RELEASE "/ENTRY:\"mainCRTStartup\" /SUBSYSTEM:WINDOWS")
set_target_properties(${APP_PROJECT_NAME} PROPERTIES LINK_FLAGS_MINSIZEREL "/SUBSYSTEM:WINDOWS")
else ()
add_executable(${APP_PROJECT_NAME} ${APP_FILES} ${GEN_FILES})
add_executable(${APP_PROJECT_NAME} ${APP_FILES})
endif ()
create_source_groups(${APP_FILES})
target_link_libraries(${APP_PROJECT_NAME} ${LIB_GUI_PROJECT_NAME} ${LIB_PARSER_PROJECT_NAME} ${LIB_PROJECT_NAME} ${LIB_LICENSE_PROJECT_NAME})
target_link_libraries(${APP_PROJECT_NAME} ${LIB_GUI_PROJECT_NAME} ${LIB_CXX_PROJECT_NAME} ${LIB_JAVA_PROJECT_NAME} ${LIB_PROJECT_NAME} ${LIB_LICENSE_PROJECT_NAME})
set_property(
@@ -402,10 +375,11 @@ set_property(
"${CMAKE_SOURCE_DIR}/src/lib"
"${CMAKE_SOURCE_DIR}/src/lib_gui"
"${CMAKE_SOURCE_DIR}/src/lib_license"
"${CMAKE_SOURCE_DIR}/src/lib_parser"
"${CMAKE_SOURCE_DIR}/src/lib_cxx"
"${CMAKE_SOURCE_DIR}/src/lib_java"
"${CMAKE_SOURCE_DIR}/build/src/lib_gui"
"${CMAKE_SOURCE_DIR}/build/src/lib_license"
"${CMAKE_SOURCE_DIR}/build/src/app"
#"${CMAKE_SOURCE_DIR}/build/src/app"
)
target_include_directories(${APP_PROJECT_NAME} SYSTEM
@@ -423,72 +397,6 @@ if (APPLE)
target_link_libraries(${APP_PROJECT_NAME} ${CORE_FOUNDATION})
endif ()
# Trial ---------------------------------------------------------------------
if (UNIX)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/app/${CMAKE_BUILD_TYPE})
else ()
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/app/)
endif ()
add_subdirectory(src/trial)
# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
if (WIN32)
file(WRITE ${CMAKE_SOURCE_DIR}/build/Coati.rc
"// Icon with lowest ID value placed first to ensure application icon\n"
"// remains consistent on all systems.\n"
"IDI_ICON1 ICON \"${CMAKE_SOURCE_DIR}/build/coati.ico\"\n"
)
add_executable(${TRIAL_PROJECT_NAME} ${TRIAL_FILES} ${CMAKE_SOURCE_DIR}/build/Coati.rc)
# hide the console when running a release build.
set_target_properties(${TRIAL_PROJECT_NAME} PROPERTIES LINK_FLAGS_DEBUG "/SUBSYSTEM:CONSOLE")
set_target_properties(${TRIAL_PROJECT_NAME} PROPERTIES COMPILE_DEFINITIONS_DEBUG "_CONSOLE")
set_target_properties(${TRIAL_PROJECT_NAME} PROPERTIES LINK_FLAGS_RELWITHDEBINFO "/SUBSYSTEM:CONSOLE")
set_target_properties(${TRIAL_PROJECT_NAME} PROPERTIES COMPILE_DEFINITIONS_RELWITHDEBINFO "_CONSOLE")
set_target_properties(${TRIAL_PROJECT_NAME} PROPERTIES LINK_FLAGS_RELEASE "/ENTRY:\"mainCRTStartup\" /SUBSYSTEM:WINDOWS")
set_target_properties(${TRIAL_PROJECT_NAME} PROPERTIES LINK_FLAGS_MINSIZEREL "/SUBSYSTEM:WINDOWS")
else ()
add_executable(${TRIAL_PROJECT_NAME} ${TRIAL_FILES} ${GEN_FILES})
endif ()
create_source_groups(${TRIAL_FILES})
target_link_libraries(${TRIAL_PROJECT_NAME} ${LIB_GUI_PROJECT_NAME} ${LIB_PROJECT_NAME} ${LIB_LICENSE_PROJECT_NAME} )
if(UNIX AND NOT APPLE)
target_link_libraries(${TRIAL_PROJECT_NAME} pthread dl rt)
endif()
set_property(
TARGET ${TRIAL_PROJECT_NAME}
PROPERTY INCLUDE_DIRECTORIES
"${CMAKE_SOURCE_DIR}/src/trial"
"${CMAKE_SOURCE_DIR}/src/lib"
"${CMAKE_SOURCE_DIR}/src/lib_gui"
"${CMAKE_SOURCE_DIR}/build/src/lib_gui"
"${CMAKE_SOURCE_DIR}/build/src/lib_license"
)
target_include_directories(${TRIAL_PROJECT_NAME} SYSTEM
PUBLIC "${CMAKE_SOURCE_DIR}/src/external"
PUBLIC ${Boost_INCLUDE_DIRS}
)
# Use the Widgets module from Qt 5.
qt5_use_modules(${TRIAL_PROJECT_NAME} Widgets)
qt5_use_modules(${TRIAL_PROJECT_NAME} Network)
# add platform specific libraries
if (APPLE)
find_library(CORE_FOUNDATION CoreFoundation)
target_link_libraries(${TRIAL_PROJECT_NAME} ${CORE_FOUNDATION})
endif ()
# MacOSX Bundle ----------------------------------------------------------------
@@ -532,12 +440,6 @@ if (APPLE)
@ONLY
)
configure_file(
${PROJECT_SOURCE_DIR}/setup/MacOSX/Info_trial.plist.in
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/bundle_info_trial.plist
@ONLY
)
endif ()
# License Generator --------------------------------------------------------
@@ -594,7 +496,7 @@ add_executable (${TEST_PROJECT_NAME} ${TESTGEN_FILE} ${TEST_FILES} )
create_source_groups(${TEST_FILES})
target_link_libraries(${TEST_PROJECT_NAME} ${LIB_PARSER_PROJECT_NAME} ${LIB_PROJECT_NAME} ${LIB_LICENSE_PROJECT_NAME})
target_link_libraries(${TEST_PROJECT_NAME} ${LIB_CXX_PROJECT_NAME} ${LIB_JAVA_PROJECT_NAME} ${LIB_PROJECT_NAME} ${LIB_LICENSE_PROJECT_NAME})
find_package(CxxTest)
if (CXXTEST_FOUND)
@@ -603,10 +505,11 @@ if (CXXTEST_FOUND)
PROPERTY INCLUDE_DIRECTORIES
"${CXXTEST_INCLUDE_DIR}"
"${CMAKE_SOURCE_DIR}/src/lib"
"${CMAKE_SOURCE_DIR}/src/lib_parser"
"${CMAKE_SOURCE_DIR}/src/lib_cxx"
"${CMAKE_SOURCE_DIR}/src/lib_java"
"${CMAKE_SOURCE_DIR}/src/external"
"${CMAKE_SOURCE_DIR}/src/lib_license"
${Boost_INCLUDE_DIRS}
"${Boost_INCLUDE_DIRS}"
)
endif (CXXTEST_FOUND)
-2
View File
@@ -9,7 +9,6 @@
* Valgrind 3.9.0 (linux)
* Clang & LLVM 3.8 (doesnt quite work for windows, use unix setup below and skip all the ninja stuff)(installation guide http://clang.llvm.org/docs/LibASTMatchersTutorial.html)
* Boost 1.59
* Eigen 3.2.6
* Botan 1.11.24
#### Environment Variables
@@ -18,7 +17,6 @@
* CXX_TEST_DIR - .../cxxtest-4.3
* CLANG_DIR - .../clang-llvm
* BOOST_159_DIR - .../boost_1_59_0
* EIGEN_DIR - .../eigen
* BOTAN_DIR - .../Botan-1.11.24
For Win32:
-1
View File
@@ -1 +0,0 @@
%windir%\system32\msiexec.exe /I{560C569F-03CF-424D-9B63-92B86779ECB6}
-1
View File
@@ -1 +0,0 @@
%windir%\system32\msiexec.exe /I{A977609C-DEE3-48BF-8597-302959F82D1A}
+2 -46
View File
@@ -86,13 +86,6 @@ execute_process(
)
# Add shared files to full and trial version
AddSharedToComponent(FULL)
AddSharedToComponent(TRIAL)
#INSTALL(DIRECTORY
#${CMAKE_SOURCE_DIR}/ide_plugins/sublime_text
#DESTINATION plugin
#COMPONENT FULL
#)
INSTALL(DIRECTORY
${CMAKE_SOURCE_DIR}/ide_plugins/
@@ -105,19 +98,6 @@ INSTALL(DIRECTORY
${CMAKE_SOURCE_DIR}/bin/app/data/projects
DESTINATION Coati/user
COMPONENT FULL
PATTERN "*.coatidb" EXCLUDE
)
INSTALL(FILES
${CMAKE_SOURCE_DIR}/bin/app/data/projects/javaparser/javaparser.coatidb
DESTINATION Coati/user/projects/javaparser
COMPONENT FULL
)
INSTALL(DIRECTORY
${CMAKE_SOURCE_DIR}/bin/app/data/projects
DESTINATION Coati/user
COMPONENT TRIAL
)
INSTALL(FILES
@@ -126,6 +106,7 @@ INSTALL(FILES
DESTINATION Coati/setup
COMPONENT FULL
)
INSTALL(PROGRAMS
${CMAKE_SOURCE_DIR}/setup/Linux/install.sh
${CMAKE_SOURCE_DIR}/setup/Linux/deinstall.sh
@@ -134,12 +115,6 @@ INSTALL(PROGRAMS
COMPONENT FULL
)
INSTALL(PROGRAMS
${CMAKE_SOURCE_DIR}/setup/Linux/Coati_trial.sh
DESTINATION Coati
COMPONENT TRIAL
)
INSTALL(PROGRAMS
${CMAKE_SOURCE_DIR}/setup/Linux/Coati.sh
DESTINATION Coati
@@ -153,25 +128,6 @@ INSTALL(PROGRAMS
RENAME Coati
)
INSTALL(PROGRAMS
${CMAKE_SOURCE_DIR}/bin/app/Release/Coati_trial_upx
DESTINATION Coati
COMPONENT TRIAL
RENAME Coati_trial
)
#INSTALL(TARGETS
#${APP_PROJECT_NAME}
#DESTINATION .
#COMPONENT FULL
#)
#INSTALL(TARGETS
#${TRIAL_PROJECT_NAME}
#DESTINATION .
#COMPONENT TRIAL
#)
# SET(CPACK_GENERATOR "DEB;TGZ")
SET(CPACK_GENERATOR "TGZ")
SET(CPACK_ARCHIVE_COMPONENT_INSTALL "ON")
@@ -192,7 +148,7 @@ endif()
SET(CPACK_PACKAGE_NAME "Coati")
SET(CPACK_PACKAGING_INSTALL_PREFIX "")
SET(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 1)
SET(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 0)
#SET(CPACK_TOPLEVEL_TAG "Coati")
SET(CPACK_PACKAGING_INSTALL_DIRECTORY "Coati")
SET(CPACK_PACKAGE_VERSION ${VERSION_NUMBER})
-1
View File
@@ -25,7 +25,6 @@ AddLicense("Clang" "http://clang.llvm.org/" "${LICENSEFOLDER}/clang_LICENSE.TXT"
AddLicense("Boost" "http://www.boost.org" "${LICENSEFOLDER}/boost_LICENSE.TXT" false)
AddLicense("TinyXMl" "http://www.grinninglizard.com/tinyxml2/" "${LICENSEFOLDER}/tinyxml_LICENSE.TXT" false)
AddLicense("CppSQLite" "http://www.codeproject.com/Articles/6343/CppSQLite-C-Wrapper-for-SQLite" "${LICENSEFOLDER}/CppSQLite_LICENSE.TXT" false)
AddLicense("Eigen" "http://eigen.tuxfamily.org" "${LICENSEFOLDER}/eigen_LICENSE.TXT" false)
AddLicense("Botan" "http://botan.randombit.net/" "${LICENSEFOLDER}/botan_LICENSE.TXT" true)
AddLicense("Guava" "https://github.com/google/guava" "${LICENSEFOLDER}/guava_LICENSE.TXT" true)
AddLicense("Javaparser" "http://javaparser.org/" "${LICENSEFOLDER}/javaparser_LICENSE.TXT" true)
+10 -18
View File
@@ -17,31 +17,23 @@ execute_process(
#execute_process(
#COMMAND ${upxPath}/Coati -f -d ${upxPath}/../data/projects/javaparser/javaparser.coatiproject
#)
#SET (NO_UPX 1)
set(bla 0)
if (bla)
if (NO_UPX)
execute_process(
COMMAND echo "fdsafsdf"
)
execute_process(
COMMAND rm ${upxPath}/Coati_upx
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${upxPath}/Coati ${upxPath}/Coati_upx
)
else()
message(STATUS "upx the app")
execute_process(
COMMAND rm ${upxPath}/Coati_upx
COMMAND upx --brute ${upxPath}/Coati -o ${upxPath}/Coati_upx
)
message(STATUS "upx the trial")
execute_process(
COMMAND rm ${upxPath}/Coati_trial_upx
COMMAND upx --brute ${upxPath}/Coati_trial -o ${upxPath}/Coati_trial_upx
)
else()
execute_process(
COMMAND rm ${upxPath}/Coati_trial_upx
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${upxPath}/Coati_trial ${upxPath}/Coati_trial_upx
COMMAND rm ${upxPath}/Coati_upx
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${upxPath}/Coati ${upxPath}/Coati_upx
)
endif()
#add_custom_command(
#OUTPUT Coati_upx
@@ -1,46 +0,0 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CoatiSetup", "CoatiSetup\CoatiSetup.vdproj", "{6C8E6C92-1F24-4DDA-A7A6-F9141DE3A34F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SetupCreateDesktopShortcutLib", "SetupCreateDesktopShortcutLib\SetupCreateDesktopShortcutLib.csproj", "{91EE9087-7809-4289-AEC8-4DFB20679A74}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SetupApplicationSettingsLib", "SetupApplicationSettingsLib\SetupApplicationSettingsLib.csproj", "{DF25B11F-6190-4605-9D32-BA7F545D624B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SetupCreateStartMenuShortcutLib", "SetupCreateStartMenuShortcutLib\SetupCreateStartMenuShortcutLib.csproj", "{962F7DA5-AEA1-4D03-89FD-F9AC42C24E46}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SetupRemoveCacheFiles", "SetupRemoveCacheFiles\SetupRemoveCacheFiles.csproj", "{CEA97AC9-7B4C-42D4-9CD3-E05C0A0473F5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6C8E6C92-1F24-4DDA-A7A6-F9141DE3A34F}.Debug|Any CPU.ActiveCfg = Debug
{6C8E6C92-1F24-4DDA-A7A6-F9141DE3A34F}.Debug|Any CPU.Build.0 = Debug
{6C8E6C92-1F24-4DDA-A7A6-F9141DE3A34F}.Release|Any CPU.ActiveCfg = Release
{6C8E6C92-1F24-4DDA-A7A6-F9141DE3A34F}.Release|Any CPU.Build.0 = Release
{91EE9087-7809-4289-AEC8-4DFB20679A74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{91EE9087-7809-4289-AEC8-4DFB20679A74}.Debug|Any CPU.Build.0 = Debug|Any CPU
{91EE9087-7809-4289-AEC8-4DFB20679A74}.Release|Any CPU.ActiveCfg = Release|Any CPU
{91EE9087-7809-4289-AEC8-4DFB20679A74}.Release|Any CPU.Build.0 = Release|Any CPU
{DF25B11F-6190-4605-9D32-BA7F545D624B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DF25B11F-6190-4605-9D32-BA7F545D624B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DF25B11F-6190-4605-9D32-BA7F545D624B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DF25B11F-6190-4605-9D32-BA7F545D624B}.Release|Any CPU.Build.0 = Release|Any CPU
{962F7DA5-AEA1-4D03-89FD-F9AC42C24E46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{962F7DA5-AEA1-4D03-89FD-F9AC42C24E46}.Debug|Any CPU.Build.0 = Debug|Any CPU
{962F7DA5-AEA1-4D03-89FD-F9AC42C24E46}.Release|Any CPU.ActiveCfg = Release|Any CPU
{962F7DA5-AEA1-4D03-89FD-F9AC42C24E46}.Release|Any CPU.Build.0 = Release|Any CPU
{CEA97AC9-7B4C-42D4-9CD3-E05C0A0473F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CEA97AC9-7B4C-42D4-9CD3-E05C0A0473F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CEA97AC9-7B4C-42D4-9CD3-E05C0A0473F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CEA97AC9-7B4C-42D4-9CD3-E05C0A0473F5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
File diff suppressed because it is too large Load Diff
@@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SetupApplicationSettingsLib")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SetupApplicationSettingsLib")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("1107afd5-33a9-478d-a0b9-9f203ef30c94")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
@@ -1,36 +0,0 @@
namespace SetupApplicationSettingsLib
{
partial class SetupApplicationSettings
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
}
#endregion
}
}
@@ -1,49 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.Linq;
using System.Threading.Tasks;
using System.Xml;
namespace SetupApplicationSettingsLib
{
[RunInstaller(true)]
public partial class SetupApplicationSettings : System.Configuration.Install.Installer
{
public SetupApplicationSettings()
{
InitializeComponent();
}
public override void Commit(IDictionary savedState)
{
base.Commit(savedState);
string appDataCoatiPath = Environment.GetEnvironmentVariable("APPDATA") + "\\..\\local\\Coati Software\\Coati\\";
string appSettingsPath = appDataCoatiPath + "ApplicationSettings.xml";
string projectsPath = appDataCoatiPath + "projects\\";
XmlDocument appSettings = new XmlDocument();
appSettings.Load(@appSettingsPath);
XmlNode recentProjects = appSettings.SelectSingleNode("config/user/recent_projects");
recentProjects.RemoveAll();
XmlNode tutorial = appSettings.CreateElement("recent_project");
tutorial.InnerText = projectsPath + "tutorial\\tutorial.coatiproject";
recentProjects.AppendChild(tutorial);
XmlNode tictactoe = appSettings.CreateElement("recent_project");
tictactoe.InnerText = projectsPath + "tictactoe\\tictactoe.coatiproject";
recentProjects.AppendChild(tictactoe);
XmlNode javaparser = appSettings.CreateElement("recent_project");
javaparser.InnerText = projectsPath + "javaparser\\javaparser.coatiproject";
recentProjects.AppendChild(javaparser);
appSettings.Save(appSettingsPath);
}
}
}
@@ -1,60 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{DF25B11F-6190-4605-9D32-BA7F545D624B}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SetupApplicationSettingsLib</RootNamespace>
<AssemblyName>SetupApplicationSettingsLib</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Configuration.Install" />
<Reference Include="System.Core" />
<Reference Include="System.Management" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SetupApplicationSettings.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="SetupApplicationSettings.Designer.cs">
<DependentUpon>SetupApplicationSettings.cs</DependentUpon>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
@@ -1,36 +0,0 @@
namespace SetupCreateDesktopShortcutLib
{
partial class CreateDesktopShortcut
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
}
#endregion
}
}
@@ -1,68 +0,0 @@
using IWshRuntimeLibrary;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.Linq;
using System.Threading.Tasks;
namespace SetupCreateDesktopShortcutLib
{
[RunInstaller(true)]
public partial class CreateDesktopShortcut : System.Configuration.Install.Installer
{
public CreateDesktopShortcut()
{
InitializeComponent();
}
public override void Commit(IDictionary savedState)
{
base.Commit(savedState);
string app = System.Reflection.Assembly.GetExecutingAssembly().Location;
string name = "install\\" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
int nameIdx = app.LastIndexOf(name);
string appDirectory = app.Substring(0, nameIdx);
app = appDirectory + "Coati.exe";
object shDesktop = (object)"Desktop";
WshShell shell = new WshShell();
string shortcutAddress = (string)shell.SpecialFolders.Item(ref shDesktop) + @"\Coati.lnk";
IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut(shortcutAddress);
shortcut.Description = "Fast source code reading and navigation";
shortcut.TargetPath = app;
shortcut.WorkingDirectory = appDirectory;
shortcut.Save();
}
protected override void OnAfterRollback(IDictionary savedState)
{
base.OnAfterRollback(savedState);
DeleteDesktopShortcut();
}
protected override void OnAfterUninstall(IDictionary savedState)
{
base.OnAfterUninstall(savedState);
DeleteDesktopShortcut();
}
private void DeleteDesktopShortcut()
{
object shDesktop = (object)"Desktop";
WshShell shell = new WshShell();
string shortcutAddress = (string)shell.SpecialFolders.Item(ref shDesktop) + @"\Coati.lnk";
if (System.IO.File.Exists(shortcutAddress))
{
System.IO.File.Delete(shortcutAddress);
}
}
}
}
@@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SetupCreateDesktopShortcutLib")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SetupCreateDesktopShortcutLib")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("27b58167-bcfc-4b0d-8ca8-42bac62416d1")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
@@ -1,74 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{91EE9087-7809-4289-AEC8-4DFB20679A74}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SetupCreateDesktopShortcutLib</RootNamespace>
<AssemblyName>SetupCreateDesktopShortcutLib</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Configuration.Install" />
<Reference Include="System.Core" />
<Reference Include="System.Management" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="CreateDesktopShortcut.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="CreateDesktopShortcut.Designer.cs">
<DependentUpon>CreateDesktopShortcut.cs</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<COMReference Include="IWshRuntimeLibrary">
<Guid>{F935DC20-1CF0-11D0-ADB9-00C04FD58A0B}</Guid>
<VersionMajor>1</VersionMajor>
<VersionMinor>0</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>tlbimp</WrapperTool>
<Isolated>False</Isolated>
<EmbedInteropTypes>True</EmbedInteropTypes>
</COMReference>
</ItemGroup>
<ItemGroup>
<None Include="ClassDiagram1.cd" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
@@ -1,36 +0,0 @@
namespace SetupCreateStartMenuShortcutLib
{
partial class CreateStartMenuShortcut
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
}
#endregion
}
}
@@ -1,93 +0,0 @@
using IWshRuntimeLibrary;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace SetupCreateStartMenuShortcutLib
{
[RunInstaller(true)]
public partial class CreateStartMenuShortcut : System.Configuration.Install.Installer
{
private static string _appShortcutName = "Coati.lnk";
private static string _uninstallShortcutName = "Uninstall Coati.lnk";
public CreateStartMenuShortcut()
{
InitializeComponent();
}
public override void Commit(IDictionary savedState)
{
base.Commit(savedState);
string app = System.Reflection.Assembly.GetExecutingAssembly().Location;
string name = "install\\" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
int nameIdx = app.LastIndexOf(name);
string appDirectory = app.Substring(0, nameIdx);
app = appDirectory + "Coati.exe";
WshShell shell = new WshShell();
string shortcutAddress = Environment.GetFolderPath(Environment.SpecialFolder.CommonStartMenu) + "\\Coati\\"; // "\\Coati.lnk";
if(!Directory.Exists(shortcutAddress))
{
Directory.CreateDirectory(shortcutAddress);
}
IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut(shortcutAddress + _appShortcutName);
shortcut.Description = "Fast source code navigation and visualization";
shortcut.TargetPath = app;
shortcut.WorkingDirectory = appDirectory;
shortcut.IconLocation = appDirectory + "data\\gui\\icon\\coati.ico";
shortcut.Save();
IWshShortcut uninstallShortcut = (IWshShortcut)shell.CreateShortcut(shortcutAddress + _uninstallShortcutName);
uninstallShortcut.Description = "Uninstall Coati";
uninstallShortcut.TargetPath = appDirectory + "\\install\\uninstall.bat";
uninstallShortcut.WorkingDirectory = appDirectory + "\\install";
uninstallShortcut.Save();
}
protected override void OnAfterRollback(IDictionary savedState)
{
base.OnAfterRollback(savedState);
DeleteShortcuts();
}
protected override void OnAfterUninstall(IDictionary savedState)
{
base.OnAfterUninstall(savedState);
DeleteShortcuts();
}
private void DeleteShortcuts()
{
WshShell shell = new WshShell();
string shortcutAddress = Environment.GetFolderPath(Environment.SpecialFolder.CommonStartMenu) + "\\Coati\\";
if (System.IO.File.Exists(shortcutAddress + _appShortcutName))
{
System.IO.File.Delete(shortcutAddress + _appShortcutName);
}
if (System.IO.File.Exists(shortcutAddress + _uninstallShortcutName))
{
System.IO.File.Delete(shortcutAddress + _uninstallShortcutName);
}
if(Directory.Exists(shortcutAddress))
{
Directory.Delete(shortcutAddress);
}
}
}
}
@@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SetupCreateStartMenuShortcutLib")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SetupCreateStartMenuShortcutLib")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("d2e0e462-d5da-4270-ba51-02548abbed44")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
@@ -1,71 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{962F7DA5-AEA1-4D03-89FD-F9AC42C24E46}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SetupCreateStartMenuShortcutLib</RootNamespace>
<AssemblyName>SetupCreateStartMenuShortcutLib</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Configuration.Install" />
<Reference Include="System.Core" />
<Reference Include="System.Management" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="CreateStartMenuShortcut.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="CreateStartMenuShortcut.Designer.cs">
<DependentUpon>CreateStartMenuShortcut.cs</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<COMReference Include="IWshRuntimeLibrary">
<Guid>{F935DC20-1CF0-11D0-ADB9-00C04FD58A0B}</Guid>
<VersionMajor>1</VersionMajor>
<VersionMinor>0</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>tlbimp</WrapperTool>
<Isolated>False</Isolated>
<EmbedInteropTypes>True</EmbedInteropTypes>
</COMReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
@@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SetupRemoveCacheFiles")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SetupRemoveCacheFiles")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("226fe6d3-3c0f-417e-94f3-a2c0c3260b0a")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
@@ -1,36 +0,0 @@
namespace SetupRemoveCacheFiles
{
partial class SetupRemoveCacheFiles
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
}
#endregion
}
}
@@ -1,48 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace SetupRemoveCacheFiles
{
[RunInstaller(true)]
public partial class SetupRemoveCacheFiles : System.Configuration.Install.Installer
{
public SetupRemoveCacheFiles()
{
InitializeComponent();
}
protected override void OnAfterRollback(IDictionary savedState)
{
base.OnAfterRollback(savedState);
DeleteCacheFiles();
}
protected override void OnAfterUninstall(IDictionary savedState)
{
base.OnAfterUninstall(savedState);
DeleteCacheFiles();
}
private void DeleteCacheFiles()
{
try
{
string appDataCoatiPath = Environment.GetEnvironmentVariable("APPDATA") + "\\..\\local\\Coati Software"; // \\Coati\\";
Directory.Delete(appDataCoatiPath, true);
}
catch(Exception e)
{
// well damn
}
}
}
}
@@ -1,60 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{CEA97AC9-7B4C-42D4-9CD3-E05C0A0473F5}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SetupRemoveCacheFiles</RootNamespace>
<AssemblyName>SetupRemoveCacheFiles</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Configuration.Install" />
<Reference Include="System.Core" />
<Reference Include="System.Management" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SetupRemoveCacheFiles.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="SetupRemoveCacheFiles.Designer.cs">
<DependentUpon>SetupRemoveCacheFiles.cs</DependentUpon>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
File diff suppressed because it is too large Load Diff
@@ -1,46 +0,0 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CoatiSetup", "CoatiSetup\CoatiSetup.vdproj", "{6C8E6C92-1F24-4DDA-A7A6-F9141DE3A34F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SetupCreateDesktopShortcutLib", "SetupCreateDesktopShortcutLib\SetupCreateDesktopShortcutLib.csproj", "{91EE9087-7809-4289-AEC8-4DFB20679A74}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SetupApplicationSettingsLib", "SetupApplicationSettingsLib\SetupApplicationSettingsLib.csproj", "{DF25B11F-6190-4605-9D32-BA7F545D624B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SetupCreateStartMenuShortcutLib", "SetupCreateStartMenuShortcutLib\SetupCreateStartMenuShortcutLib.csproj", "{962F7DA5-AEA1-4D03-89FD-F9AC42C24E46}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SetupRemoveCacheFiles", "SetupRemoveCacheFiles\SetupRemoveCacheFiles.csproj", "{CEA97AC9-7B4C-42D4-9CD3-E05C0A0473F5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6C8E6C92-1F24-4DDA-A7A6-F9141DE3A34F}.Debug|Any CPU.ActiveCfg = Debug
{6C8E6C92-1F24-4DDA-A7A6-F9141DE3A34F}.Debug|Any CPU.Build.0 = Debug
{6C8E6C92-1F24-4DDA-A7A6-F9141DE3A34F}.Release|Any CPU.ActiveCfg = Release
{6C8E6C92-1F24-4DDA-A7A6-F9141DE3A34F}.Release|Any CPU.Build.0 = Release
{91EE9087-7809-4289-AEC8-4DFB20679A74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{91EE9087-7809-4289-AEC8-4DFB20679A74}.Debug|Any CPU.Build.0 = Debug|Any CPU
{91EE9087-7809-4289-AEC8-4DFB20679A74}.Release|Any CPU.ActiveCfg = Release|Any CPU
{91EE9087-7809-4289-AEC8-4DFB20679A74}.Release|Any CPU.Build.0 = Release|Any CPU
{DF25B11F-6190-4605-9D32-BA7F545D624B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DF25B11F-6190-4605-9D32-BA7F545D624B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DF25B11F-6190-4605-9D32-BA7F545D624B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DF25B11F-6190-4605-9D32-BA7F545D624B}.Release|Any CPU.Build.0 = Release|Any CPU
{962F7DA5-AEA1-4D03-89FD-F9AC42C24E46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{962F7DA5-AEA1-4D03-89FD-F9AC42C24E46}.Debug|Any CPU.Build.0 = Debug|Any CPU
{962F7DA5-AEA1-4D03-89FD-F9AC42C24E46}.Release|Any CPU.ActiveCfg = Release|Any CPU
{962F7DA5-AEA1-4D03-89FD-F9AC42C24E46}.Release|Any CPU.Build.0 = Release|Any CPU
{CEA97AC9-7B4C-42D4-9CD3-E05C0A0473F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CEA97AC9-7B4C-42D4-9CD3-E05C0A0473F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CEA97AC9-7B4C-42D4-9CD3-E05C0A0473F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CEA97AC9-7B4C-42D4-9CD3-E05C0A0473F5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
@@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SetupApplicationSettingsLib")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SetupApplicationSettingsLib")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("1107afd5-33a9-478d-a0b9-9f203ef30c94")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
@@ -1,36 +0,0 @@
namespace SetupApplicationSettingsLib
{
partial class SetupApplicationSettings
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
}
#endregion
}
}
@@ -1,49 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.Linq;
using System.Threading.Tasks;
using System.Xml;
namespace SetupApplicationSettingsLib
{
[RunInstaller(true)]
public partial class SetupApplicationSettings : System.Configuration.Install.Installer
{
public SetupApplicationSettings()
{
InitializeComponent();
}
public override void Commit(IDictionary savedState)
{
base.Commit(savedState);
string appDataCoatiPath = Environment.GetEnvironmentVariable("APPDATA") + "\\..\\local\\Coati Software\\Coati Trial\\";
string appSettingsPath = appDataCoatiPath + "ApplicationSettings.xml";
string projectsPath = appDataCoatiPath + "projects\\";
XmlDocument appSettings = new XmlDocument();
appSettings.Load(@appSettingsPath);
XmlNode recentProjects = appSettings.SelectSingleNode("config/user/recent_projects");
recentProjects.RemoveAll();
XmlNode tutorial = appSettings.CreateElement("recent_project");
tutorial.InnerText = projectsPath + "tutorial\\tutorial.coatiproject";
recentProjects.AppendChild(tutorial);
XmlNode tictactoe = appSettings.CreateElement("recent_project");
tictactoe.InnerText = projectsPath + "tictactoe\\tictactoe.coatiproject";
recentProjects.AppendChild(tictactoe);
XmlNode javaparser = appSettings.CreateElement("recent_project");
javaparser.InnerText = projectsPath + "javaparser\\javaparser.coatiproject";
recentProjects.AppendChild(javaparser);
appSettings.Save(appSettingsPath);
}
}
}
@@ -1,60 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{DF25B11F-6190-4605-9D32-BA7F545D624B}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SetupApplicationSettingsLib</RootNamespace>
<AssemblyName>SetupApplicationSettingsLib</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Configuration.Install" />
<Reference Include="System.Core" />
<Reference Include="System.Management" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SetupApplicationSettings.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="SetupApplicationSettings.Designer.cs">
<DependentUpon>SetupApplicationSettings.cs</DependentUpon>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
@@ -1,36 +0,0 @@
namespace SetupCreateDesktopShortcutLib
{
partial class CreateDesktopShortcut
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
}
#endregion
}
}
@@ -1,68 +0,0 @@
using IWshRuntimeLibrary;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.Linq;
using System.Threading.Tasks;
namespace SetupCreateDesktopShortcutLib
{
[RunInstaller(true)]
public partial class CreateDesktopShortcut : System.Configuration.Install.Installer
{
public CreateDesktopShortcut()
{
InitializeComponent();
}
public override void Commit(IDictionary savedState)
{
base.Commit(savedState);
string app = System.Reflection.Assembly.GetExecutingAssembly().Location;
string name = "install\\" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
int nameIdx = app.LastIndexOf(name);
string appDirectory = app.Substring(0, nameIdx);
app = appDirectory + "Coati Trial.exe";
object shDesktop = (object)"Desktop";
WshShell shell = new WshShell();
string shortcutAddress = (string)shell.SpecialFolders.Item(ref shDesktop) + @"\Coati Trial.lnk";
IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut(shortcutAddress);
shortcut.Description = "Fast source code reading and navigation";
shortcut.TargetPath = app;
shortcut.WorkingDirectory = appDirectory;
shortcut.Save();
}
protected override void OnAfterRollback(IDictionary savedState)
{
base.OnAfterRollback(savedState);
DeleteDesktopShortcut();
}
protected override void OnAfterUninstall(IDictionary savedState)
{
base.OnAfterUninstall(savedState);
DeleteDesktopShortcut();
}
private void DeleteDesktopShortcut()
{
object shDesktop = (object)"Desktop";
WshShell shell = new WshShell();
string shortcutAddress = (string)shell.SpecialFolders.Item(ref shDesktop) + @"\Coati Trial.lnk";
if (System.IO.File.Exists(shortcutAddress))
{
System.IO.File.Delete(shortcutAddress);
}
}
}
}
@@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SetupCreateDesktopShortcutLib")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SetupCreateDesktopShortcutLib")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("27b58167-bcfc-4b0d-8ca8-42bac62416d1")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
@@ -1,71 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{91EE9087-7809-4289-AEC8-4DFB20679A74}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SetupCreateDesktopShortcutLib</RootNamespace>
<AssemblyName>SetupCreateDesktopShortcutLib</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Configuration.Install" />
<Reference Include="System.Core" />
<Reference Include="System.Management" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="CreateDesktopShortcut.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="CreateDesktopShortcut.Designer.cs">
<DependentUpon>CreateDesktopShortcut.cs</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<COMReference Include="IWshRuntimeLibrary">
<Guid>{F935DC20-1CF0-11D0-ADB9-00C04FD58A0B}</Guid>
<VersionMajor>1</VersionMajor>
<VersionMinor>0</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>tlbimp</WrapperTool>
<Isolated>False</Isolated>
<EmbedInteropTypes>True</EmbedInteropTypes>
</COMReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
@@ -1,36 +0,0 @@
namespace SetupCreateStartMenuShortcutLib
{
partial class CreateStartMenuShortcut
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
}
#endregion
}
}
@@ -1,93 +0,0 @@
using IWshRuntimeLibrary;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace SetupCreateStartMenuShortcutLib
{
[RunInstaller(true)]
public partial class CreateStartMenuShortcut : System.Configuration.Install.Installer
{
private static string _appShortcutName = "Coati Trial.lnk";
private static string _uninstallShortcutName = "Uninstall Coati Trial.lnk";
public CreateStartMenuShortcut()
{
InitializeComponent();
}
public override void Commit(IDictionary savedState)
{
base.Commit(savedState);
string app = System.Reflection.Assembly.GetExecutingAssembly().Location;
string name = "install\\" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
int nameIdx = app.LastIndexOf(name);
string appDirectory = app.Substring(0, nameIdx);
app = appDirectory + "Coati Trial.exe";
WshShell shell = new WshShell();
string shortcutAddress = Environment.GetFolderPath(Environment.SpecialFolder.CommonStartMenu) + "\\Coati Trial\\"; // "\\Coati.lnk";
if(!Directory.Exists(shortcutAddress))
{
Directory.CreateDirectory(shortcutAddress);
}
IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut(shortcutAddress + _appShortcutName);
shortcut.Description = "Fast source code navigation and visualization";
shortcut.TargetPath = app;
shortcut.WorkingDirectory = appDirectory;
shortcut.IconLocation = appDirectory + "data\\gui\\icon\\coati.ico";
shortcut.Save();
IWshShortcut uninstallShortcut = (IWshShortcut)shell.CreateShortcut(shortcutAddress + _uninstallShortcutName);
uninstallShortcut.Description = "Uninstall Coati Trial";
uninstallShortcut.TargetPath = appDirectory + "\\install\\uninstall.bat";
uninstallShortcut.WorkingDirectory = appDirectory + "\\install";
uninstallShortcut.Save();
}
protected override void OnAfterRollback(IDictionary savedState)
{
base.OnAfterRollback(savedState);
DeleteShortcuts();
}
protected override void OnAfterUninstall(IDictionary savedState)
{
base.OnAfterUninstall(savedState);
DeleteShortcuts();
}
private void DeleteShortcuts()
{
WshShell shell = new WshShell();
string shortcutAddress = Environment.GetFolderPath(Environment.SpecialFolder.CommonStartMenu) + "\\Coati Trial\\";
if (System.IO.File.Exists(shortcutAddress + _appShortcutName))
{
System.IO.File.Delete(shortcutAddress + _appShortcutName);
}
if (System.IO.File.Exists(shortcutAddress + _uninstallShortcutName))
{
System.IO.File.Delete(shortcutAddress + _uninstallShortcutName);
}
if(Directory.Exists(shortcutAddress))
{
Directory.Delete(shortcutAddress);
}
}
}
}
@@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SetupCreateStartMenuShortcutLib")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SetupCreateStartMenuShortcutLib")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("d2e0e462-d5da-4270-ba51-02548abbed44")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
@@ -1,71 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{962F7DA5-AEA1-4D03-89FD-F9AC42C24E46}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SetupCreateStartMenuShortcutLib</RootNamespace>
<AssemblyName>SetupCreateStartMenuShortcutLib</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Configuration.Install" />
<Reference Include="System.Core" />
<Reference Include="System.Management" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="CreateStartMenuShortcut.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="CreateStartMenuShortcut.Designer.cs">
<DependentUpon>CreateStartMenuShortcut.cs</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<COMReference Include="IWshRuntimeLibrary">
<Guid>{F935DC20-1CF0-11D0-ADB9-00C04FD58A0B}</Guid>
<VersionMajor>1</VersionMajor>
<VersionMinor>0</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>tlbimp</WrapperTool>
<Isolated>False</Isolated>
<EmbedInteropTypes>True</EmbedInteropTypes>
</COMReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
@@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SetupRemoveCacheFiles")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SetupRemoveCacheFiles")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("226fe6d3-3c0f-417e-94f3-a2c0c3260b0a")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
@@ -1,36 +0,0 @@
namespace SetupRemoveCacheFiles
{
partial class SetupRemoveCacheFiles
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
}
#endregion
}
}
@@ -1,48 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace SetupRemoveCacheFiles
{
[RunInstaller(true)]
public partial class SetupRemoveCacheFiles : System.Configuration.Install.Installer
{
public SetupRemoveCacheFiles()
{
InitializeComponent();
}
protected override void OnAfterRollback(IDictionary savedState)
{
base.OnAfterRollback(savedState);
DeleteCacheFiles();
}
protected override void OnAfterUninstall(IDictionary savedState)
{
base.OnAfterUninstall(savedState);
DeleteCacheFiles();
}
private void DeleteCacheFiles()
{
try
{
string appDataCoatiPath = Environment.GetEnvironmentVariable("APPDATA") + "\\..\\local\\Coati Software\\Coati Trial"; // \\Coati\\";
Directory.Delete(appDataCoatiPath, true);
}
catch(Exception e)
{
// well damn
}
}
}
}
@@ -1,60 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{CEA97AC9-7B4C-42D4-9CD3-E05C0A0473F5}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SetupRemoveCacheFiles</RootNamespace>
<AssemblyName>SetupRemoveCacheFiles</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Configuration.Install" />
<Reference Include="System.Core" />
<Reference Include="System.Management" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SetupRemoveCacheFiles.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="SetupRemoveCacheFiles.Designer.cs">
<DependentUpon>SetupRemoveCacheFiles.cs</DependentUpon>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
-12
View File
@@ -1,12 +0,0 @@
Remove self-healing on project file opened
Open .msi in Orca
Component table
Remove key path of component with ID {31DB780A-8AA4-1A96-F39E-1BD7CFCC2418}*
*I don't know if this id will stay the same, so here's how to find it:
Just install Coati as is
Open windows Event Viewer
Open .coatiproject via file association (wont work properly, that's ok)
Look for Application log
Look for a Warning entry involving MsiInstaller at time of step 3
Retrieve component id from message of that entry
Binary file not shown.
@@ -49,6 +49,10 @@ namespace SetupAppSettings
tictactoe.InnerText = projectsPath + "tictactoe\\tictactoe.coatiproject";
recentProjects.AppendChild(tictactoe);
XmlNode javaparser = appSettings.CreateElement("recent_project");
javaparser.InnerText = projectsPath + "javaparser\\javaparser.coatiproject";
recentProjects.AppendChild(javaparser);
appSettings.Save(appSettingsPath);
}
}
@@ -18,7 +18,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\</OutputPath>
<OutputPath>..\..\build\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
@@ -26,7 +26,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\</OutputPath>
<OutputPath>..\..\build\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>3</WarningLevel>
@@ -26,7 +26,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\</OutputPath>
<OutputPath>..\..\build\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
@@ -71,19 +71,19 @@
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\..\bin</OutDir>
<OutDir>..\..\..\build</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\..\bin</OutDir>
<OutDir>..\..\..\build</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\..\..\</OutDir>
<OutDir>..\..\..\build</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\..\..</OutDir>
<OutDir>..\..\..\build</OutDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
+352 -2
View File
@@ -23,7 +23,8 @@
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\tictactoeProjectKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='Tictactoe' Name='tictactoe.coatiproject' DiskId='1' Source='./../../../bin/app/data/projects/tictactoe/tictactoe.coatiproject' KeyPath='no' />
<File Id='TictactoeDb' Name='tictactoe.coatidb' DiskId='1' Source='./../../../bin/app/data/projects/tictactoe/tictactoe.coatidb' KeyPath='no' />
<File Id='TictactoeProject' Name='tictactoe.coatiproject' DiskId='1' Source='./../../../bin/app/data/projects/tictactoe/tictactoe.coatiproject' KeyPath='no' />
</Component>
<Directory Id="TictactoeSrc" Name="src">
@@ -64,7 +65,8 @@
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\tutorialProjectKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='Tutorial' Name='tutorial.coatiproject' DiskId='1' Source='./../../../bin/app/data/projects/tutorial/tutorial.coatiproject' KeyPath='no' />
<File Id='TutorialDb' Name='tutorial.coatidb' DiskId='1' Source='./../../../bin/app/data/projects/tutorial/tutorial.coatidb' KeyPath='no' />
<File Id='TutorialProject' Name='tutorial.coatiproject' DiskId='1' Source='./../../../bin/app/data/projects/tutorial/tutorial.coatiproject' KeyPath='no' />
</Component>
<Directory Id="TutorialSrc" Name="src">
@@ -98,6 +100,354 @@
</Directory>
<Directory Id="SampleProjectJavaparser" Name="javaparser">
<Component Id="JavaparserCoatiproject" Guid="39B413EF-C9F4-4B06-BF91-028C7D931303">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparser' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\JavaparserCoatiprojectKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='JavaparserDb' Name='javaparser.coatidb' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/javaparser.coatidb' KeyPath='no' />
<File Id='JavaparserProject' Name='javaparser.coatiproject' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/javaparser.coatiproject' KeyPath='no' />
</Component>
<Directory Id="SampleProjectJavaparserSrc" Name="src">
<Component Id="SampleProjectJavaparserSrcFolder" Guid="560AEF91-AE8A-485B-BC69-928D3584EE05">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserSrc' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserSrcFolderKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
</Component>
<Directory Id="SampleProjectJavaparserSrcMain" Name="main">
<Component Id="SampleProjectJavaparserSrcMainFolder" Guid="5FE4394F-7240-40F8-90E9-B1622AB2584F">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserSrcMain' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserSrcMainFolderKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
</Component>
<Directory Id="SampleProjectJavaparserSrcMainJava" Name="java">
<Component Id="SampleProjectJavaparserSrcMainJavaFolder" Guid="188F7773-E4F4-41A7-8644-0ED2F7945294">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserSrcMainJava' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserSrcMainJavaFolderKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
</Component>
<Directory Id="SampleProjectJavaparserSrcMainJavaCom" Name="com">
<Component Id="SampleProjectJavaparserSrcMainJavaComFolder" Guid="D658E654-6E34-4616-BBA8-56585AEA1610">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserSrcMainJavaCom' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserSrcMainJavaComFolderKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
</Component>
<Directory Id="SampleProjectJavaparserSrcMainJavaComGithub" Name="github">
<Component Id="SampleProjectJavaparserSrcMainJavaComGithubFolder" Guid="455B534F-AD59-46DD-A11D-1C4E97887614">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserSrcMainJavaComGithub' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserSrcMainJavaComGithubFolderKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
</Component>
<Directory Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparser" Name="javaparser">
<Component Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserCode" Guid="80C369E9-CC0D-4C3D-A916-DC7BB42E6414">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparser' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserSrcMainJavaComGithubJavaparserCodeKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='CommentsInserterJava' Name='CommentsInserter.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/CommentsInserter.java' KeyPath='no' />
<File Id='JavaParserJava' Name='JavaParser.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/JavaParser.java' KeyPath='no' />
<File Id='PositionJava' Name='Position.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/Position.java' KeyPath='no' />
<File Id='RangeJava' Name='Range.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/Range.java' KeyPath='no' />
</Component>
<Directory Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserAst" Name="ast">
<Component Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstCode" Guid="5DEA3889-E49D-450A-A6E8-E1A3C122D403">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserAst' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstCodeKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='AccessSpecifierJava' Name='AccessSpecifier.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/AccessSpecifier.java' KeyPath='no' />
<File Id='CompilationUnitJava' Name='CompilationUnit.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/CompilationUnit.java' KeyPath='no' />
<File Id='ImportDeclarationJava' Name='ImportDeclaration.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/ImportDeclaration.java' KeyPath='no' />
<File Id='ModifierJava' Name='Modifier.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/Modifier.java' KeyPath='no' />
<File Id='NodeJava' Name='Node.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/Node.java' KeyPath='no' />
<File Id='PackageDeclarationJava' Name='PackageDeclaration.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/PackageDeclaration.java' KeyPath='no' />
<File Id='TypeArgumentsJava' Name='TypeArguments.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/TypeArguments.java' KeyPath='no' />
<File Id='TypeParameterJava' Name='TypeParameter.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/TypeParameter.java' KeyPath='no' />
</Component>
<Directory Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstBody" Name="body">
<Component Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstBodyCode" Guid="A6D857E0-F9D2-45FE-884A-D647B2C966C8">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstBody' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstBodyCodeKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='AnnotationDeclarationJava' Name='AnnotationDeclaration.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/AnnotationDeclaration.java' KeyPath='no' />
<File Id='AnnotationMemberDeclarationJava' Name='AnnotationMemberDeclaration.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/AnnotationMemberDeclaration.java' KeyPath='no' />
<File Id='BaseParameterJava' Name='BaseParameter.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/BaseParameter.java' KeyPath='no' />
<File Id='BodyDeclarationJava' Name='BodyDeclaration.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/BodyDeclaration.java' KeyPath='no' />
<File Id='ClassOrInterfaceDeclarationJava' Name='ClassOrInterfaceDeclaration.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/ClassOrInterfaceDeclaration.java' KeyPath='no' />
<File Id='ConstructorDeclarationJava' Name='ConstructorDeclaration.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/ConstructorDeclaration.java' KeyPath='no' />
<File Id='EmptyMemberDeclarationJava' Name='EmptyMemberDeclaration.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EmptyMemberDeclaration.java' KeyPath='no' />
<File Id='EmptyTypeDeclarationJava' Name='EmptyTypeDeclaration.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EmptyTypeDeclaration.java' KeyPath='no' />
<File Id='EnumConstantDeclarationJava' Name='EnumConstantDeclaration.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EnumConstantDeclaration.java' KeyPath='no' />
<File Id='EnumDeclarationJava' Name='EnumDeclaration.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EnumDeclaration.java' KeyPath='no' />
<File Id='FieldDeclarationJava' Name='FieldDeclaration.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/FieldDeclaration.java' KeyPath='no' />
<File Id='InitializerDeclarationJava' Name='InitializerDeclaration.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/InitializerDeclaration.java' KeyPath='no' />
<File Id='MethodDeclarationJava' Name='MethodDeclaration.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/MethodDeclaration.java' KeyPath='no' />
<File Id='MultiTypeParameterJava' Name='MultiTypeParameter.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/MultiTypeParameter.java' KeyPath='no' />
<File Id='ParameterJava' Name='Parameter.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/Parameter.java' KeyPath='no' />
<File Id='TypeDeclarationJava' Name='TypeDeclaration.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/TypeDeclaration.java' KeyPath='no' />
<File Id='VariableDeclaratorJava' Name='VariableDeclarator.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/VariableDeclarator.java' KeyPath='no' />
<File Id='VariableDeclaratorIdJava' Name='VariableDeclaratorId.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/VariableDeclaratorId.java' KeyPath='no' />
</Component>
</Directory>
<Directory Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstComments" Name="comments">
<Component Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstCommentsCode" Guid="6CFE2814-2D70-4235-AC29-FCF6CA5A3D03">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstComments' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstCommentsCodeKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='BlockCommentJava' Name='BlockComment.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/BlockComment.java' KeyPath='no' />
<File Id='CommentJava' Name='Comment.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/Comment.java' KeyPath='no' />
<File Id='CommentsCollectionJava' Name='CommentsCollection.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/CommentsCollection.java' KeyPath='no' />
<File Id='CommentsParserJava' Name='CommentsParser.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/CommentsParser.java' KeyPath='no' />
<File Id='JavadocCommentJava' Name='JavadocComment.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/JavadocComment.java' KeyPath='no' />
<File Id='LineCommentJava' Name='LineComment.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/LineComment.java' KeyPath='no' />
</Component>
</Directory>
<Directory Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstExpr" Name="expr">
<Component Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstExprCode" Guid="BAB7B080-9D4E-439A-946D-BF8B1A640170">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstExpr' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstExprCodeKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='AnnotationExprJava' Name='AnnotationExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/AnnotationExpr.java' KeyPath='no' />
<File Id='ArrayAccessExprJava' Name='ArrayAccessExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ArrayAccessExpr.java' KeyPath='no' />
<File Id='ArrayCreationExprJava' Name='ArrayCreationExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ArrayCreationExpr.java' KeyPath='no' />
<File Id='ArrayInitializerExprJava' Name='ArrayInitializerExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ArrayInitializerExpr.java' KeyPath='no' />
<File Id='AssignExprJava' Name='AssignExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/AssignExpr.java' KeyPath='no' />
<File Id='BinaryExprJava' Name='BinaryExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/BinaryExpr.java' KeyPath='no' />
<File Id='BooleanLiteralExprJava' Name='BooleanLiteralExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/BooleanLiteralExpr.java' KeyPath='no' />
<File Id='CastExprJava' Name='CastExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/CastExpr.java' KeyPath='no' />
<File Id='CharLiteralExprJava' Name='CharLiteralExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/CharLiteralExpr.java' KeyPath='no' />
<File Id='ClassExprJava' Name='ClassExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ClassExpr.java' KeyPath='no' />
<File Id='ConditionalExprJava' Name='ConditionalExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ConditionalExpr.java' KeyPath='no' />
<File Id='DoubleLiteralExprJava' Name='DoubleLiteralExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/DoubleLiteralExpr.java' KeyPath='no' />
<File Id='EnclosedExprJava' Name='EnclosedExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/EnclosedExpr.java' KeyPath='no' />
<File Id='ExpressionJava' Name='Expression.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/Expression.java' KeyPath='no' />
<File Id='FieldAccessExprJava' Name='FieldAccessExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/FieldAccessExpr.java' KeyPath='no' />
<File Id='InstanceOfExprJava' Name='InstanceOfExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/InstanceOfExpr.java' KeyPath='no' />
<File Id='IntegerLiteralExprJava' Name='IntegerLiteralExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/IntegerLiteralExpr.java' KeyPath='no' />
<File Id='IntegerLiteralMinValueExprJava' Name='IntegerLiteralMinValueExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/IntegerLiteralMinValueExpr.java' KeyPath='no' />
<File Id='LambdaExprJava' Name='LambdaExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LambdaExpr.java' KeyPath='no' />
<File Id='LiteralExprJava' Name='LiteralExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LiteralExpr.java' KeyPath='no' />
<File Id='LongLiteralExprJava' Name='LongLiteralExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LongLiteralExpr.java' KeyPath='no' />
<File Id='LongLiteralMinValueExprJava' Name='LongLiteralMinValueExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LongLiteralMinValueExpr.java' KeyPath='no' />
<File Id='MarkerAnnotationExprJava' Name='MarkerAnnotationExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MarkerAnnotationExpr.java' KeyPath='no' />
<File Id='MemberValuePairJava' Name='MemberValuePair.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MemberValuePair.java' KeyPath='no' />
<File Id='MethodCallExprJava' Name='MethodCallExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MethodCallExpr.java' KeyPath='no' />
<File Id='MethodReferenceExprJava' Name='MethodReferenceExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MethodReferenceExpr.java' KeyPath='no' />
<File Id='NameExprJava' Name='NameExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/NameExpr.java' KeyPath='no' />
<File Id='NormalAnnotationExprJava' Name='NormalAnnotationExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/NormalAnnotationExpr.java' KeyPath='no' />
<File Id='NullLiteralExprJava' Name='NullLiteralExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/NullLiteralExpr.java' KeyPath='no' />
<File Id='ObjectCreationExprJava' Name='ObjectCreationExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ObjectCreationExpr.java' KeyPath='no' />
<File Id='QualifiedNameExprJava' Name='QualifiedNameExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/QualifiedNameExpr.java' KeyPath='no' />
<File Id='SingleMemberAnnotationExprJava' Name='SingleMemberAnnotationExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/SingleMemberAnnotationExpr.java' KeyPath='no' />
<File Id='StringLiteralExprJava' Name='StringLiteralExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/StringLiteralExpr.java' KeyPath='no' />
<File Id='SuperExprJava' Name='SuperExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/SuperExpr.java' KeyPath='no' />
<File Id='ThisExprJava' Name='ThisExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ThisExpr.java' KeyPath='no' />
<File Id='TypeExprJava' Name='TypeExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/TypeExpr.java' KeyPath='no' />
<File Id='UnaryExprJava' Name='UnaryExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/UnaryExpr.java' KeyPath='no' />
<File Id='VariableDeclarationExprJava' Name='VariableDeclarationExpr.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/VariableDeclarationExpr.java' KeyPath='no' />
</Component>
</Directory>
<Directory Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstNodeTypes" Name="nodeTypes">
<Component Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstNodeTypesCode" Guid="F2A26343-C9CE-441A-A80A-93F3703C4ACA">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstNodeTypes' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstNodeTypesCodeKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='NodeWithAnnotationsJava' Name='NodeWithAnnotations.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithAnnotations.java' KeyPath='no' />
<File Id='NodeWithArraysJava' Name='NodeWithArrays.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithArrays.java' KeyPath='no' />
<File Id='NodeWithBlockStmtJava' Name='NodeWithBlockStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithBlockStmt.java' KeyPath='no' />
<File Id='NodeWithDeclarationJava' Name='NodeWithDeclaration.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithDeclaration.java' KeyPath='no' />
<File Id='NodeWithJavaDocJava' Name='NodeWithJavaDoc.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithJavaDoc.java' KeyPath='no' />
<File Id='NodeWithMembersJava' Name='NodeWithMembers.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithMembers.java' KeyPath='no' />
<File Id='NodeWithModifiersJava' Name='NodeWithModifiers.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithModifiers.java' KeyPath='no' />
<File Id='NodeWithNameJava' Name='NodeWithName.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithName.java' KeyPath='no' />
<File Id='NodeWithParametersJava' Name='NodeWithParameters.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithParameters.java' KeyPath='no' />
<File Id='NodeWithThrowableJava' Name='NodeWithThrowable.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithThrowable.java' KeyPath='no' />
<File Id='NodeWithTypeJava' Name='NodeWithType.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithType.java' KeyPath='no' />
</Component>
</Directory>
<Directory Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstStmt" Name="stmt">
<Component Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstStmtCode" Guid="CA642E8B-B001-4ECC-8781-53FFA6EF442E">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstStmt' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstStmtCodeKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='AssertStmtJava' Name='AssertStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/AssertStmt.java' KeyPath='no' />
<File Id='BlockStmtJava' Name='BlockStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/BlockStmt.java' KeyPath='no' />
<File Id='BreakStmtJava' Name='BreakStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/BreakStmt.java' KeyPath='no' />
<File Id='CatchClauseJava' Name='CatchClause.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/CatchClause.java' KeyPath='no' />
<File Id='ContinueStmtJava' Name='ContinueStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ContinueStmt.java' KeyPath='no' />
<File Id='DoStmtJava' Name='DoStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/DoStmt.java' KeyPath='no' />
<File Id='EmptyStmtJava' Name='EmptyStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/EmptyStmt.java' KeyPath='no' />
<File Id='ExplicitConstructorInvocationStmtJava' Name='ExplicitConstructorInvocationStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ExplicitConstructorInvocationStmt.java' KeyPath='no' />
<File Id='ExpressionStmtJava' Name='ExpressionStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ExpressionStmt.java' KeyPath='no' />
<File Id='ForeachStmtJava' Name='ForeachStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ForeachStmt.java' KeyPath='no' />
<File Id='ForStmtJava' Name='ForStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ForStmt.java' KeyPath='no' />
<File Id='IfStmtJava' Name='IfStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/IfStmt.java' KeyPath='no' />
<File Id='LabeledStmtJava' Name='LabeledStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/LabeledStmt.java' KeyPath='no' />
<File Id='ReturnStmtJava' Name='ReturnStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ReturnStmt.java' KeyPath='no' />
<File Id='StatementJava' Name='Statement.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/Statement.java' KeyPath='no' />
<File Id='SwitchEntryStmtJava' Name='SwitchEntryStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/SwitchEntryStmt.java' KeyPath='no' />
<File Id='SwitchStmtJava' Name='SwitchStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/SwitchStmt.java' KeyPath='no' />
<File Id='SynchronizedStmtJava' Name='SynchronizedStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/SynchronizedStmt.java' KeyPath='no' />
<File Id='ThrowStmtJava' Name='ThrowStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ThrowStmt.java' KeyPath='no' />
<File Id='TryStmtJava' Name='TryStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/TryStmt.java' KeyPath='no' />
<File Id='TypeDeclarationStmtJava' Name='TypeDeclarationStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/TypeDeclarationStmt.java' KeyPath='no' />
<File Id='WhileStmtJava' Name='WhileStmt.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/WhileStmt.java' KeyPath='no' />
</Component>
</Directory>
<Directory Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstType" Name="type">
<Component Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstTypeCode" Guid="BFBCF1A5-5440-40BC-BFB2-8958E1618C04">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstType' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstTypeCodeKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='ClassOrInterfaceTypeJava' Name='ClassOrInterfaceType.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/ClassOrInterfaceType.java' KeyPath='no' />
<File Id='IntersectionTypeJava' Name='IntersectionType.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/IntersectionType.java' KeyPath='no' />
<File Id='PrimitiveTypeJava' Name='PrimitiveType.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/PrimitiveType.java' KeyPath='no' />
<File Id='ReferenceTypeJava' Name='ReferenceType.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/ReferenceType.java' KeyPath='no' />
<File Id='TypeJava' Name='Type.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/Type.java' KeyPath='no' />
<File Id='UnionTypeJava' Name='UnionType.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/UnionType.java' KeyPath='no' />
<File Id='UnknownTypeJava' Name='UnknownType.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/UnknownType.java' KeyPath='no' />
<File Id='VoidTypeJava' Name='VoidType.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/VoidType.java' KeyPath='no' />
<File Id='WildcardTypeJava' Name='WildcardType.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/WildcardType.java' KeyPath='no' />
</Component>
</Directory>
<Directory Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstVisitor" Name="visitor">
<Component Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstVisitorCode" Guid="77F4C3B8-411B-4889-A900-98C43FD5F545">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstVisitor' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstVisitorCodeKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='CloneVisitorJava' Name='CloneVisitor.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/CloneVisitor.java' KeyPath='no' />
<File Id='DumpVisitorJava' Name='DumpVisitor.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/DumpVisitor.java' KeyPath='no' />
<File Id='EqualsVisitorJava' Name='EqualsVisitor.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/EqualsVisitor.java' KeyPath='no' />
<File Id='GenericVisitorJava' Name='GenericVisitor.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/GenericVisitor.java' KeyPath='no' />
<File Id='GenericVisitorAdapterJava' Name='GenericVisitorAdapter.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/GenericVisitorAdapter.java' KeyPath='no' />
<File Id='ModifierVisitorAdapterJava' Name='ModifierVisitorAdapter.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/ModifierVisitorAdapter.java' KeyPath='no' />
<File Id='TreeVisitorJava' Name='TreeVisitor.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/TreeVisitor.java' KeyPath='no' />
<File Id='VoidVisitorJava' Name='VoidVisitor.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/VoidVisitor.java' KeyPath='no' />
<File Id='VoidVisitorAdapterJava' Name='VoidVisitorAdapter.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/VoidVisitorAdapter.java' KeyPath='no' />
</Component>
</Directory>
</Directory>
<Directory Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserUtils" Name="utils">
<Component Id="SampleProjectJavaparserSrcMainJavaComGithubJavaparserUtilsCode" Guid="964479AD-47EF-4CC3-AE21-8287AE5E5CEC">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserUtils' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserSrcMainJavaComGithubJavaparserUtilsCodeKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='ClassUtilsJava' Name='ClassUtils.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/utils/ClassUtils.java' KeyPath='no' />
<File Id='PositionUtilsJava' Name='PositionUtils.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/utils/PositionUtils.java' KeyPath='no' />
<File Id='UtilsJava' Name='Utils.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/utils/Utils.java' KeyPath='no' />
</Component>
</Directory>
</Directory>
</Directory>
</Directory>
</Directory>
<Directory Id="SampleProjectJavaparserSrcMainJavacc" Name="javacc">
<Component Id="SampleProjectJavaparserSrcMainJavaccCode" Guid="F31AA381-2F1C-465A-81E1-0A7BD35314EE">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserSrcMainJavacc' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserSrcMainJavaccCodeKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='Java_1_8Jj' Name='java_1_8.jj' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/src/main/javacc/java_1_8.jj' KeyPath='no' />
</Component>
</Directory>
</Directory>
</Directory>
<Directory Id="SampleProjectJavaparserTarget" Name="target">
<Component Id="SampleProjectJavaparserTargetFolder" Guid="EEC88E2D-ACA7-4BBA-B3D2-E8157E8C90D1">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserTarget' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserTargetFolderKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
</Component>
<Directory Id="SampleProjectJavaparserTargetGeneratedSources" Name="generated-sources">
<Component Id="SampleProjectJavaparserTargetGeneratedSourcesFolder" Guid="51670973-3944-4CB5-BE82-94BD2133FAF4">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserTargetGeneratedSources' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserTargetGeneratedSourcesFolderKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
</Component>
<Directory Id="SampleProjectJavaparserTargetGeneratedSourcesJavacc" Name="javacc">
<Component Id="SampleProjectJavaparserTargetGeneratedSourcesJavaccFolder" Guid="1DA62621-434C-4A5F-BA39-BE308EC15E34">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserTargetGeneratedSourcesJavacc' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserTargetGeneratedSourcesJavaccFolderKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
</Component>
<Directory Id="SampleProjectJavaparserTargetGeneratedSourcesJavaccCom" Name="com">
<Component Id="SampleProjectJavaparserTargetGeneratedSourcesJavaccComFolder" Guid="1887A161-87EF-4016-8D58-5DF5A4D0F6D7">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserTargetGeneratedSourcesJavaccCom' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserTargetGeneratedSourcesJavaccComFolderKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
</Component>
<Directory Id="SampleProjectJavaparserTargetGeneratedSourcesJavaccComGithub" Name="github">
<Component Id="SampleProjectJavaparserTargetGeneratedSourcesJavaccComGithubFolder" Guid="132C1BBA-D68C-4285-AEE1-86EEDFDD4389">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserTargetGeneratedSourcesJavaccComGithub' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserTargetGeneratedSourcesJavaccComGithubFolderKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
</Component>
<Directory Id="SampleProjectJavaparserTargetGeneratedSourcesJavaccComGithubJavaparser" Name="javaparser">
<Component Id="SampleProjectJavaparserTargetGeneratedSourcesCode" Guid="2E9AEE68-666F-486B-86A9-F72860550A8F">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparserTargetGeneratedSourcesJavaccComGithubJavaparser' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\SampleProjectJavaparserTargetGenerated-sourcesJavaccComGithubJavaparserCodeKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='ASTParserJava' Name='ASTParser.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ASTParser.java' KeyPath='no' />
<File Id='ASTParserConstantsJava' Name='ASTParserConstants.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ASTParserConstants.java' KeyPath='no' />
<File Id='ASTParserTokenManagerJava' Name='ASTParserTokenManager.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ASTParserTokenManager.java' KeyPath='no' />
<File Id='JavaCharStreamJava' Name='JavaCharStream.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/JavaCharStream.java' KeyPath='no' />
<File Id='ParseExceptionJava' Name='ParseException.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ParseException.java' KeyPath='no' />
<File Id='ProviderJava' Name='Provider.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/Provider.java' KeyPath='no' />
<File Id='StreamProviderJava' Name='StreamProvider.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/StreamProvider.java' KeyPath='no' />
<File Id='StringProviderJava' Name='StringProvider.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/StringProvider.java' KeyPath='no' />
<File Id='TokenJava' Name='Token.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/Token.java' KeyPath='no' />
<File Id='TokenMgrExceptionJava' Name='TokenMgrException.java' DiskId='1' Source='./../../../bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/TokenMgrException.java' KeyPath='no' />
</Component>
</Directory>
</Directory>
</Directory>
</Directory>
</Directory>
</Directory>
</Directory>
</Directory>
</DirectoryRef>
</Fragment>
+9 -6
View File
@@ -1,11 +1,14 @@
devenv.exe /build "Release|x86" Setup/build/Setup.sln
devenv.exe /build "Release|x86" CustomActions/CustomActions.sln
rm -rf build
mkdir build
"devenv.com" Setup/build/Setup.sln //build "Release|x86"
"devenv.com" CustomActions/CustomActions.sln //build "Release|x86"
rm -rf bin
mkdir bin
candle.exe -dprojectVersion="0.7.0" coati.wxs customActions.wxs dialogShortcuts.wxs installDir.wxs appDataDir.wxs > compileLog.txt
light.exe -ext WixUIExtension coati.wixobj customActions.wixobj dialogShortcuts.wixobj installDir.wixobj appDataDir.wixobj -out coati.msi > linkLog.txt
candle.exe -dprojectVersion="0.9.0" coati.wxs customActions.wxs dialogShortcuts.wxs installDir.wxs appDataDir.wxs -out build/ > build/compileLog.txt
light.exe -ext WixUIExtension build/coati.wixobj build/customActions.wixobj build/dialogShortcuts.wixobj build/installDir.wixobj build/appDataDir.wixobj -out build/coati.msi > build/linkLog.txt
cp -u -r coati.msi bin
cp -u -r Setup.exe bin
cp -u -r build/coati.msi bin
cp -u -r build/Setup.exe bin
+40 -2
View File
@@ -14,7 +14,7 @@
<Property Id='DiskPrompt' Value="Coati Installation [1]" />
<Property Id="INSTALLDESKTOPSHORTCUT" />
<Property Id="INSTALLSTARTMENUSHORTCUT" />
<Property Id="INSTALLSTARTMENUSHORTCUT" Value="true" />
<!-- Shortcuts -->
<Upgrade Id='A4C8F644-9A8C-4825-8C48-F6A98F111722'>
@@ -140,6 +140,7 @@
<ComponentRef Id='apiMsWinCrtString_l1_1_0Dll'/>
<ComponentRef Id='apiMsWinCrtTime_l1_1_0Dll'/>
<ComponentRef Id='apiMsWinCrtUtility_l1_1_0Dll'/>
<ComponentRef Id='qtConf'/>
<ComponentRef Id='QWindowsDll'/>
@@ -188,10 +189,14 @@
<ComponentRef Id='Project_cdb_256_256_Png'/>
<ComponentRef Id='Project_vs_256_256_Png'/>
<ComponentRef Id='ErrorPng'/>
<ComponentRef Id='FlagPng'/>
<ComponentRef Id='IndexingDialogCss'/>
<ComponentRef Id='ProgressBarElementPng'/>
<ComponentRef Id='LicenseCss'/>
<ComponentRef Id='RefreshViewCss'/>
<ComponentRef Id='AutoRefreshPng'/>
<ComponentRef Id='RefreshPng'/>
<ComponentRef Id='SearchViewCss'/>
@@ -225,6 +230,15 @@
<ComponentRef Id='ColorSchemes'/>
<ComponentRef Id='FontSet'/>
<ComponentRef Id='JavaGuavaJar'/>
<ComponentRef Id='JavaJavaIndexerJar'/>
<ComponentRef Id='JavaJavaparserJar'/>
<ComponentRef Id='JavaJavaslangJar'/>
<ComponentRef Id='JavaJavassistJar'/>
<ComponentRef Id='JavaJavaSymbolSolverCoreJar'/>
<ComponentRef Id='JavaJavaSymbolSolverLogicJar'/>
<ComponentRef Id='JavaJavaSymbolSolverModelJar'/>
<ComponentRef Id='UninstallBat'/>
<!-- AppData Folder Stuff -->
@@ -243,6 +257,30 @@
<ComponentRef Id='TutorialCoatiproject'/>
<ComponentRef Id='TutorialCode'/>
<ComponentRef Id='JavaparserCoatiproject'/>
<ComponentRef Id='SampleProjectJavaparserSrcFolder'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainFolder'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainJavaFolder'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainJavaComFolder'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainJavaComGithubFolder'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserCode'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstCode'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstBodyCode'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstCommentsCode'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstExprCode'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstNodeTypesCode'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstStmtCode'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstTypeCode'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserAstVisitorCode'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainJavaComGithubJavaparserUtilsCode'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainJavaccCode'/>
<ComponentRef Id='SampleProjectJavaparserTargetFolder'/>
<ComponentRef Id='SampleProjectJavaparserTargetGeneratedSourcesFolder'/>
<ComponentRef Id='SampleProjectJavaparserTargetGeneratedSourcesJavaccFolder'/>
<ComponentRef Id='SampleProjectJavaparserTargetGeneratedSourcesJavaccComFolder'/>
<ComponentRef Id='SampleProjectJavaparserTargetGeneratedSourcesJavaccComGithubFolder'/>
<ComponentRef Id='SampleProjectJavaparserTargetGeneratedSourcesCode'/>
</Feature>
</Feature>
@@ -2,10 +2,10 @@
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<Fragment>
<CustomAction Id='SetupAppSettings' BinaryKey='SetupAppSettingsBinary' DllEntry='Main' Execute='commit' Return='check'/>
<Binary Id='SetupAppSettingsBinary' SourceFile='SetupAppSettings.CA.dll'/>
<Binary Id='SetupAppSettingsBinary' SourceFile='build/SetupAppSettings.CA.dll'/>
<CustomAction Id='UninstallRemoveLogFolder' BinaryKey='UninstallRemoveLogFolderBinary' DllEntry='Main' Execute='commit' Return='check'/>
<Binary Id='UninstallRemoveLogFolderBinary' SourceFile='UninstallRemoveLogFolder.CA.dll'/>
<Binary Id='UninstallRemoveLogFolderBinary' SourceFile='build/UninstallRemoveLogFolder.CA.dll'/>
</Fragment>
</Wix>
+51 -4
View File
@@ -4,7 +4,7 @@
<DirectoryRef Id='INSTALLDIR'>
<Component Id='MainExecutable' Guid='A6136907-B3C5-4393-88D7-2ACF63E138A8'>
<File Id='CoatiEXE' Name='Coati.exe' DiskId='1' Source='./../../../bin/app/Release/Coati.exe' KeyPath='yes' />
<File Id='CoatiEXE' Name='Coati.exe' DiskId='1' Source='./../../../bin/app/Release/Coati_obfuscated.exe' KeyPath='yes' />
<!-- File association -->
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\[ProductName].Document" Name="projectfile" Value="Coati project file" Type="string" />
@@ -77,6 +77,10 @@
<File Id='apiMsWinCrtUtility_l1_1_0' Name='api-ms-win-crt-utility-l1-1-0.dll' DiskId='1' Source='./../../../bin/app/Release/api-ms-win-crt-utility-l1-1-0.dll' KeyPath='yes' />
</Component>
<Component Id='qtConf' Guid='58C34A47-0F21-4C41-9CCC-08141D84FF2A'>
<File Id='qt' Name='qt.conf' DiskId='1' Source='./../../../bin/app/Release/qt.conf' KeyPath='yes' />
</Component>
<Directory Id='Platforms' Name='platforms'>
<Component Id='QWindowsDll' Guid='0B57B111-1068-42D1-891B-A21C6C0CC63E'>
@@ -257,6 +261,22 @@
</Directory>
<Directory Id='DataIndexingDialog' Name='indexing_dialog'>
<Component Id='ErrorPng' Guid='90C8F0E3-C532-4088-A3CB-66CB1DEE0CCD'>
<File Id='Error' Name='error.png' DiskId='1' Source='./../../../bin/app/data/gui/indexing_dialog/error.png' KeyPath='yes' />
</Component>
<Component Id='FlagPng' Guid='35ED2A65-FC94-444B-83E3-57E202226F96'>
<File Id='Flag' Name='flag.png' DiskId='1' Source='./../../../bin/app/data/gui/indexing_dialog/flag.png' KeyPath='yes' />
</Component>
<Component Id='IndexingDialogCss' Guid='97CA1B7B-8825-4E2D-BFD1-A9467239D1C1'>
<File Id='IndexingDialog' Name='indexing_dialog.css' DiskId='1' Source='./../../../bin/app/data/gui/indexing_dialog/indexing_dialog.css' KeyPath='yes' />
</Component>
<Component Id='ProgressBarElementPng' Guid='85B80506-6F42-457F-8B6D-148F20340545'>
<File Id='ProgressBarElement' Name='progress_bar_element.png' DiskId='1' Source='./../../../bin/app/data/gui/indexing_dialog/progress_bar_element.png' KeyPath='yes' />
</Component>
</Directory>
<Directory Id='DataLicense' Name='license'>
<Component Id='LicenseCss' Guid='3A9B9310-10B0-477E-A1D8-027666F22476'>
<File Id='License' Name='license.css' DiskId='1' Source='./../../../bin/app/data/gui/license/license.css' KeyPath='yes' />
@@ -269,9 +289,6 @@
</Component>
<Directory Id='DataRefreshViewImages' Name='images'>
<Component Id='AutoRefreshPng' Guid='BA036858-6511-4260-9F58-E2BF30DACF25'>
<File Id='AutoRefresh' Name='auto_refresh.png' DiskId='1' Source='./../../../bin/app/data/gui/refresh_view/images/auto_refresh.png' KeyPath='yes' />
</Component>
<Component Id='RefreshPng' Guid='AD5F7B6B-0373-4207-B053-16293FC4C631'>
<File Id='Refresh' Name='refresh.png' DiskId='1' Source='./../../../bin/app/data/gui/refresh_view/images/refresh.png' KeyPath='yes' />
</Component>
@@ -382,6 +399,36 @@
</Directory>
<Directory Id='DataJava' Name='java'>
<Component Id='JavaGuavaJar' Guid='BAA854D3-5669-4E1E-94DF-33B3C84DDD23'>
<File Id='JavaGuava' Name='guava-18.0.jar' DiskId='1' Source='./../../../bin/app/data/java/guava-18.0.jar' KeyPath='yes' />
</Component>
<Component Id='JavaJavaIndexerJar' Guid='C1195927-A4ED-4296-936D-3BC059FCF8D2'>
<File Id='JavaJavaIndexer' Name='java-indexer.jar' DiskId='1' Source='./../../../bin/app/data/java/java-indexer.jar' KeyPath='yes' />
</Component>
<Component Id='JavaJavaparserJar' Guid='25232CF0-2629-4988-AF7C-B142D5B0753E'>
<File Id='JavaJavaparser' Name='javaparser-core.jar' DiskId='1' Source='./../../../bin/app/data/java/javaparser-core.jar' KeyPath='yes' />
</Component>
<Component Id='JavaJavaslangJar' Guid='2F43B4B1-DE99-40BC-9908-5C179CF7F734'>
<File Id='JavaJavaslang' Name='javaslang-2.0.0-beta.jar' DiskId='1' Source='./../../../bin/app/data/java/javaslang-2.0.0-beta.jar' KeyPath='yes' />
</Component>
<Component Id='JavaJavassistJar' Guid='D4F80CFF-5DCD-4AEF-A334-001774CAE605'>
<File Id='JavaJavassist' Name='javassist-3.19.0-GA.jar' DiskId='1' Source='./../../../bin/app/data/java/javassist-3.19.0-GA.jar' KeyPath='yes' />
</Component>
<Component Id='JavaJavaSymbolSolverCoreJar' Guid='54EE8AA0-3C50-4189-9159-ED6132127EDC'>
<File Id='JavaJavaSymbolSolverCore' Name='java-symbol-solver-core.jar' DiskId='1' Source='./../../../bin/app/data/java/java-symbol-solver-core.jar' KeyPath='yes' />
</Component>
<Component Id='JavaJavaSymbolSolverLogicJar' Guid='EA03C7C3-31A9-47EF-A565-70E0D4F1A4F9'>
<File Id='JavaJavaSymbolSolverLogic' Name='java-symbol-solver-logic.jar' DiskId='1' Source='./../../../bin/app/data/java/java-symbol-solver-logic.jar' KeyPath='yes' />
</Component>
<Component Id='JavaJavaSymbolSolverModelJar' Guid='1BE000DF-98A9-44FA-8EE6-DC25C239B051'>
<File Id='JavaJavaSymbolSolverModel' Name='java-symbol-solver-model.jar' DiskId='1' Source='./../../../bin/app/data/java/java-symbol-solver-model.jar' KeyPath='yes' />
</Component>
</Directory>
</Directory>
<Component Id='UninstallBat' Guid='75D67FBD-06C8-4D3C-AE1D-4802456F4466'>
+3 -4
View File
@@ -85,15 +85,14 @@ Version Number
Minor upgrage (coati.wxs)
-for when only a few files are to be updated
-update the Version attribute of the <Product> tag (root element of the installation)
-update the Minimum and Maximum attributes under the <Upgrade> tag to the current version number
-update the version number in build.bat script
-do NOT change the product GUID
-the package GUID has to change, that happens automatically though so don't worry 'bout it
Major upgrade (coati.wxs)
-for big changes, like a new major version
-update the Version attribute of the <Product> tag (root element of the installation)
-update the Minimum and Maximum attributes under the <Upgrade> tag to the current version number
-update the version number in build.bat script
-DO change the product GUID
-insert the same GUID into the uninstall_wix.bat script
-package GUID changes too, but thats again done automatically
-6
View File
@@ -20,9 +20,6 @@ then
then
#echo "release test"
cd bin/test && Release/Coati_test
elif [ "$2" = "trial" ]
then
cd bin/app && Release/Coati_trial
elif [ "$2" = "keygen" ]
then
#echo "release keygen"
@@ -37,9 +34,6 @@ then
then
#echo "debug test"
cd bin/test && Debug/Coati_test
elif [ "$2" = "trial" ]
then
cd bin/app && Debug/Coati_trial
elif [ "$2" = "keygen" ]
then
#echo "debug keygen"
+1 -7
View File
@@ -7,15 +7,12 @@ cd $MY_PATH/..
# Build target
if [ "$1" = "release" ] || [ "$1" = "r" ]
if [ "$1" = "release" ] || [ "$1" = "r" ] || [ "$1" = "" ]
then
if [ "$2" = "test" ]
then
#echo "release test"
cmake --build build/Release --target Coati_test
elif [ "$2" = "trial" ]
then
cmake --build build/Release --target Coati_trial
elif [ "$2" = "keygen" ]
then
#echo "release keygen"
@@ -30,9 +27,6 @@ then
then
#echo "debug test"
cmake --build build/Debug --target Coati_test
elif [ "$2" = "trial" ]
then
cmake --build build/Debug --target Coati_trial
elif [ "$2" = "keygen" ]
then
#echo "debug keygen"
+16 -76
View File
@@ -29,9 +29,6 @@ fi
echo -e "$INFO Did you set the correct version number for the installers?"
read -p "Press [Enter] key to continue"
echo -e "$INFO Did you change the Product-IDs in the uninstall scripts?"
read -p "Press [Enter] key to continue"
echo -e "$INFO Did you set the correct version number for the Visual Studio plugin?"
read -p "Press [Enter] key to continue"
@@ -56,16 +53,13 @@ if [ $REBUILD = true ]; then
fi
# BUILDING THE EXECUTABLES
# BUILDING THE EXECUTABLE
echo -e "$INFO building the executable (app)"
"D:/programme/Microsoft Visual Studio14/Common7/IDE/devenv.com" build/Coati.sln //build Release //project build/Coati.vcxproj
echo -e "$INFO building the executable (trail)"
"D:/programme/Microsoft Visual Studio14/Common7/IDE/devenv.com" build/Coati.sln //build Release //project build/Coati_trial.vcxproj
# CREATING TRAIL DATABASES´
echo -e "$INFO creating databases for trail"
# CREATING TRAIL DATABASES´
echo -e "$INFO creating databases"
rm bin/app/data/projects/tictactoe/tictactoe.coatidb
rm bin/app/data/projects/tutorial/tutorial.coatidb
@@ -91,37 +85,23 @@ cd ..
rm -rf temp
# OBFUSCATING THE EXECUTABLES
# OBFUSCATING THE EXECUTABLE
if [ $OBFUSCATE = true ]; then
echo -e "$INFO obfuscating the executables"
rm bin/app/Release/Coati_obfuscated.exe
rm bin/app/Release/Coati_trial_obfuscated.exe
upx --brute -o bin/app/Release/Coati_obfuscated.exe bin/app/Release/Coati.exe
upx --brute -o bin/app/Release/Coati_trial_obfuscated.exe bin/app/Release/Coati_trial.exe
else
cp bin/app/Release/Coati.exe bin/app/Release/Coati_obfuscated.exe
cp bin/app/Release/Coati_trial.exe bin/app/Release/Coati_trial_obfuscated.exe
fi
# BUILDING THE INSTALLERS
echo -e "$INFO building the installer (app)"
"D:/programme/Microsoft Visual Studio14/Common7/IDE/devenv.com" deployment/windows/CoatiAppSetup/CoatiAppSetup.sln //build Release //project deployment/windows/CoatiAppSetup/CoatiSetup/CoatiSetup.vdproj
echo -e "$INFO building the installer (trail)"
"D:/programme/Microsoft Visual Studio14/Common7/IDE/devenv.com" deployment/windows/CoatiTrialSetup/CoatiTrialSetup.sln //build Release //project deployment/windows/CoatiTrialSetup/CoatiSetup/CoatiSetup.vdproj
# BUILDING THE INSTALLER
cd deployment/windows/wixSetup
build.bat
cd ../../..
# BUILDING WIX INSTALLERS
# call deployment/windows/wixSetup/build.bat
# EDIT THE INSTALLERS
"C:/Program Files (x86)/Microsoft SDKs/Windows/v7.1A/Bin/MsiTran.Exe" -a "deployment/windows/transform.mst" "deployment/windows/CoatiAppSetup/CoatiSetup/Release/Coati.msi"
"C:/Program Files (x86)/Microsoft SDKs/Windows/v7.1A/Bin/MsiTran.Exe" -a "deployment/windows/transform.mst" "deployment/windows/CoatiTrialSetup/CoatiSetup/Release/CoatiTrial.msi"
# CREATING PACKAGE FOLDERS (APP)
# CREATING PACKAGE FOLDER
VERSION_STRING=$(git describe --long)
VERSION_STRING="${VERSION_STRING//-/_}"
VERSION_STRING="${VERSION_STRING//./_}"
@@ -131,12 +111,12 @@ APP_PACKAGE_NAME=Coati_${VERSION_STRING}
APP_PACKAGE_DIR=release/$APP_PACKAGE_NAME
echo -e "$INFO creating package folders for app"
echo -e "$INFO creating package folder"
rm -rf $APP_PACKAGE_DIR
mkdir -p $APP_PACKAGE_DIR
cp -u -r deployment/windows/CoatiAppSetup/CoatiSetup/Release/Coati.msi $APP_PACKAGE_DIR/
cp -u -r deployment/windows/CoatiAppSetup/CoatiSetup/Release/setup.exe $APP_PACKAGE_DIR/
cp -u -r deployment/windows/wixSetup/bin/Coati.msi $APP_PACKAGE_DIR/
cp -u -r deployment/windows/wixSetup/bin/setup.exe $APP_PACKAGE_DIR/
mkdir -p $APP_PACKAGE_DIR/plugins/atom/
cp -u -r ide_plugins/atom/* $APP_PACKAGE_DIR/plugins/atom/
@@ -154,58 +134,18 @@ mkdir -p $APP_PACKAGE_DIR/plugins/visual_studio/
cp -u -r ide_plugins/vs/coati_plugin_vs.vsix $APP_PACKAGE_DIR/plugins/visual_studio/
# PACKAGING COATI (APP)
echo -e "$INFO packaging coati app"
# PACKAGING COATI
echo -e "$INFO packaging coati"
cd ./release/
winrar a -afzip ${APP_PACKAGE_NAME}_Windows.zip $APP_PACKAGE_NAME
cd ../
# CLEANING UP (APP)
echo -e "$INFO Cleaning up app"
# CLEANING UP
echo -e "$INFO Cleaning"
rm -rf $APP_PACKAGE_DIR
# CREATING PACKAGE FOLDERS (TRIAL)
TRIAL_PACKAGE_NAME=Coati_Trial_${VERSION_STRING}
TRIAL_PACKAGE_DIR=release/$TRIAL_PACKAGE_NAME
echo -e "$INFO creating package folders for trail"
rm -rf $TRIAL_PACKAGE_DIR
mkdir -p $TRIAL_PACKAGE_DIR
cp -u -r deployment/windows/CoatiTrialSetup/CoatiSetup/Release/CoatiTrial.msi $TRIAL_PACKAGE_DIR/
cp -u -r deployment/windows/CoatiTrialSetup/CoatiSetup/Release/setup.exe $TRIAL_PACKAGE_DIR/
mkdir -p $TRIAL_PACKAGE_DIR/plugins/atom/
cp -u -r ide_plugins/atom/* $TRIAL_PACKAGE_DIR/plugins/atom/
mkdir -p $TRIAL_PACKAGE_DIR/plugins/eclipse/
cp -u -r ide_plugins/eclipse/* $TRIAL_PACKAGE_DIR/plugins/eclipse/
mkdir -p $TRIAL_PACKAGE_DIR/plugins/emacs/
cp -u -r ide_plugins/emacs/* $TRIAL_PACKAGE_DIR/plugins/emacs/
mkdir -p $TRIAL_PACKAGE_DIR/plugins/idea/
cp -u -r ide_plugins/idea/* $TRIAL_PACKAGE_DIR/plugins/idea/
mkdir -p $TRIAL_PACKAGE_DIR/plugins/sublime_text/
cp -u -r ide_plugins/sublime_text/* $TRIAL_PACKAGE_DIR/plugins/sublime_text/
mkdir -p $TRIAL_PACKAGE_DIR/plugins/vim/
cp -u -r ide_plugins/vim/* $TRIAL_PACKAGE_DIR/plugins/vim/
mkdir -p $TRIAL_PACKAGE_DIR/plugins/visual_studio/
cp -u -r ide_plugins/vs/coati_plugin_vs.vsix $TRIAL_PACKAGE_DIR/plugins/visual_studio/
# PACKAGING COATI (TRIAL)
echo -e "$INFO packaging coati trail"
cd ./release/
winrar a -afzip ${TRIAL_PACKAGE_NAME}_Windows.zip $TRIAL_PACKAGE_NAME
cd ../
# CLEANING UP (TRIAL)
echo -e "$INFO Cleaning up trail"
rm -rf $TRIAL_PACKAGE_DIR
# UNSETTING THE DEPLOY FLAG
rm -rf src/lib_gui/platform_includes/deploy.h
echo "// #define DEPLOY" >src/lib_gui/platform_includes/deploy.h
-373
View File
@@ -1,373 +0,0 @@
Mozilla Public License Version 2.0
==================================
1. Definitions
--------------
1.1. "Contributor"
means each individual or legal entity that creates, contributes to
the creation of, or owns Covered Software.
1.2. "Contributor Version"
means the combination of the Contributions of others (if any) used
by a Contributor and that particular Contributor's Contribution.
1.3. "Contribution"
means Covered Software of a particular Contributor.
1.4. "Covered Software"
means Source Code Form to which the initial Contributor has attached
the notice in Exhibit A, the Executable Form of such Source Code
Form, and Modifications of such Source Code Form, in each case
including portions thereof.
1.5. "Incompatible With Secondary Licenses"
means
(a) that the initial Contributor has attached the notice described
in Exhibit B to the Covered Software; or
(b) that the Covered Software was made available under the terms of
version 1.1 or earlier of the License, but not also under the
terms of a Secondary License.
1.6. "Executable Form"
means any form of the work other than Source Code Form.
1.7. "Larger Work"
means a work that combines Covered Software with other material, in
a separate file or files, that is not Covered Software.
1.8. "License"
means this document.
1.9. "Licensable"
means having the right to grant, to the maximum extent possible,
whether at the time of the initial grant or subsequently, any and
all of the rights conveyed by this License.
1.10. "Modifications"
means any of the following:
(a) any file in Source Code Form that results from an addition to,
deletion from, or modification of the contents of Covered
Software; or
(b) any new file in Source Code Form that contains any Covered
Software.
1.11. "Patent Claims" of a Contributor
means any patent claim(s), including without limitation, method,
process, and apparatus claims, in any patent Licensable by such
Contributor that would be infringed, but for the grant of the
License, by the making, using, selling, offering for sale, having
made, import, or transfer of either its Contributions or its
Contributor Version.
1.12. "Secondary License"
means either the GNU General Public License, Version 2.0, the GNU
Lesser General Public License, Version 2.1, the GNU Affero General
Public License, Version 3.0, or any later versions of those
licenses.
1.13. "Source Code Form"
means the form of the work preferred for making modifications.
1.14. "You" (or "Your")
means an individual or a legal entity exercising rights under this
License. For legal entities, "You" includes any entity that
controls, is controlled by, or is under common control with You. For
purposes of this definition, "control" means (a) the power, direct
or indirect, to cause the direction or management of such entity,
whether by contract or otherwise, or (b) ownership of more than
fifty percent (50%) of the outstanding shares or beneficial
ownership of such entity.
2. License Grants and Conditions
--------------------------------
2.1. Grants
Each Contributor hereby grants You a world-wide, royalty-free,
non-exclusive license:
(a) under intellectual property rights (other than patent or trademark)
Licensable by such Contributor to use, reproduce, make available,
modify, display, perform, distribute, and otherwise exploit its
Contributions, either on an unmodified basis, with Modifications, or
as part of a Larger Work; and
(b) under Patent Claims of such Contributor to make, use, sell, offer
for sale, have made, import, and otherwise transfer either its
Contributions or its Contributor Version.
2.2. Effective Date
The licenses granted in Section 2.1 with respect to any Contribution
become effective for each Contribution on the date the Contributor first
distributes such Contribution.
2.3. Limitations on Grant Scope
The licenses granted in this Section 2 are the only rights granted under
this License. No additional rights or licenses will be implied from the
distribution or licensing of Covered Software under this License.
Notwithstanding Section 2.1(b) above, no patent license is granted by a
Contributor:
(a) for any code that a Contributor has removed from Covered Software;
or
(b) for infringements caused by: (i) Your and any other third party's
modifications of Covered Software, or (ii) the combination of its
Contributions with other software (except as part of its Contributor
Version); or
(c) under Patent Claims infringed by Covered Software in the absence of
its Contributions.
This License does not grant any rights in the trademarks, service marks,
or logos of any Contributor (except as may be necessary to comply with
the notice requirements in Section 3.4).
2.4. Subsequent Licenses
No Contributor makes additional grants as a result of Your choice to
distribute the Covered Software under a subsequent version of this
License (see Section 10.2) or under the terms of a Secondary License (if
permitted under the terms of Section 3.3).
2.5. Representation
Each Contributor represents that the Contributor believes its
Contributions are its original creation(s) or it has sufficient rights
to grant the rights to its Contributions conveyed by this License.
2.6. Fair Use
This License is not intended to limit any rights You have under
applicable copyright doctrines of fair use, fair dealing, or other
equivalents.
2.7. Conditions
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
in Section 2.1.
3. Responsibilities
-------------------
3.1. Distribution of Source Form
All distribution of Covered Software in Source Code Form, including any
Modifications that You create or to which You contribute, must be under
the terms of this License. You must inform recipients that the Source
Code Form of the Covered Software is governed by the terms of this
License, and how they can obtain a copy of this License. You may not
attempt to alter or restrict the recipients' rights in the Source Code
Form.
3.2. Distribution of Executable Form
If You distribute Covered Software in Executable Form then:
(a) such Covered Software must also be made available in Source Code
Form, as described in Section 3.1, and You must inform recipients of
the Executable Form how they can obtain a copy of such Source Code
Form by reasonable means in a timely manner, at a charge no more
than the cost of distribution to the recipient; and
(b) You may distribute such Executable Form under the terms of this
License, or sublicense it under different terms, provided that the
license for the Executable Form does not attempt to limit or alter
the recipients' rights in the Source Code Form under this License.
3.3. Distribution of a Larger Work
You may create and distribute a Larger Work under terms of Your choice,
provided that You also comply with the requirements of this License for
the Covered Software. If the Larger Work is a combination of Covered
Software with a work governed by one or more Secondary Licenses, and the
Covered Software is not Incompatible With Secondary Licenses, this
License permits You to additionally distribute such Covered Software
under the terms of such Secondary License(s), so that the recipient of
the Larger Work may, at their option, further distribute the Covered
Software under the terms of either this License or such Secondary
License(s).
3.4. Notices
You may not remove or alter the substance of any license notices
(including copyright notices, patent notices, disclaimers of warranty,
or limitations of liability) contained within the Source Code Form of
the Covered Software, except that You may alter any license notices to
the extent required to remedy known factual inaccuracies.
3.5. Application of Additional Terms
You may choose to offer, and to charge a fee for, warranty, support,
indemnity or liability obligations to one or more recipients of Covered
Software. However, You may do so only on Your own behalf, and not on
behalf of any Contributor. You must make it absolutely clear that any
such warranty, support, indemnity, or liability obligation is offered by
You alone, and You hereby agree to indemnify every Contributor for any
liability incurred by such Contributor as a result of warranty, support,
indemnity or liability terms You offer. You may include additional
disclaimers of warranty and limitations of liability specific to any
jurisdiction.
4. Inability to Comply Due to Statute or Regulation
---------------------------------------------------
If it is impossible for You to comply with any of the terms of this
License with respect to some or all of the Covered Software due to
statute, judicial order, or regulation then You must: (a) comply with
the terms of this License to the maximum extent possible; and (b)
describe the limitations and the code they affect. Such description must
be placed in a text file included with all distributions of the Covered
Software under this License. Except to the extent prohibited by statute
or regulation, such description must be sufficiently detailed for a
recipient of ordinary skill to be able to understand it.
5. Termination
--------------
5.1. The rights granted under this License will terminate automatically
if You fail to comply with any of its terms. However, if You become
compliant, then the rights granted under this License from a particular
Contributor are reinstated (a) provisionally, unless and until such
Contributor explicitly and finally terminates Your grants, and (b) on an
ongoing basis, if such Contributor fails to notify You of the
non-compliance by some reasonable means prior to 60 days after You have
come back into compliance. Moreover, Your grants from a particular
Contributor are reinstated on an ongoing basis if such Contributor
notifies You of the non-compliance by some reasonable means, this is the
first time You have received notice of non-compliance with this License
from such Contributor, and You become compliant prior to 30 days after
Your receipt of the notice.
5.2. If You initiate litigation against any entity by asserting a patent
infringement claim (excluding declaratory judgment actions,
counter-claims, and cross-claims) alleging that a Contributor Version
directly or indirectly infringes any patent, then the rights granted to
You by any and all Contributors for the Covered Software under Section
2.1 of this License shall terminate.
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
end user license agreements (excluding distributors and resellers) which
have been validly granted by You or Your distributors under this License
prior to termination shall survive termination.
************************************************************************
* *
* 6. Disclaimer of Warranty *
* ------------------------- *
* *
* Covered Software is provided under this License on an "as is" *
* basis, without warranty of any kind, either expressed, implied, or *
* statutory, including, without limitation, warranties that the *
* Covered Software is free of defects, merchantable, fit for a *
* particular purpose or non-infringing. The entire risk as to the *
* quality and performance of the Covered Software is with You. *
* Should any Covered Software prove defective in any respect, You *
* (not any Contributor) assume the cost of any necessary servicing, *
* repair, or correction. This disclaimer of warranty constitutes an *
* essential part of this License. No use of any Covered Software is *
* authorized under this License except under this disclaimer. *
* *
************************************************************************
************************************************************************
* *
* 7. Limitation of Liability *
* -------------------------- *
* *
* Under no circumstances and under no legal theory, whether tort *
* (including negligence), contract, or otherwise, shall any *
* Contributor, or anyone who distributes Covered Software as *
* permitted above, be liable to You for any direct, indirect, *
* special, incidental, or consequential damages of any character *
* including, without limitation, damages for lost profits, loss of *
* goodwill, work stoppage, computer failure or malfunction, or any *
* and all other commercial damages or losses, even if such party *
* shall have been informed of the possibility of such damages. This *
* limitation of liability shall not apply to liability for death or *
* personal injury resulting from such party's negligence to the *
* extent applicable law prohibits such limitation. Some *
* jurisdictions do not allow the exclusion or limitation of *
* incidental or consequential damages, so this exclusion and *
* limitation may not apply to You. *
* *
************************************************************************
8. Litigation
-------------
Any litigation relating to this License may be brought only in the
courts of a jurisdiction where the defendant maintains its principal
place of business and such litigation shall be governed by laws of that
jurisdiction, without reference to its conflict-of-law provisions.
Nothing in this Section shall prevent a party's ability to bring
cross-claims or counter-claims.
9. Miscellaneous
----------------
This License represents the complete agreement concerning the subject
matter hereof. If any provision of this License is held to be
unenforceable, such provision shall be reformed only to the extent
necessary to make it enforceable. Any law or regulation which provides
that the language of a contract shall be construed against the drafter
shall not be used to construe this License against a Contributor.
10. Versions of the License
---------------------------
10.1. New Versions
Mozilla Foundation is the license steward. Except as provided in Section
10.3, no one other than the license steward has the right to modify or
publish new versions of this License. Each version will be given a
distinguishing version number.
10.2. Effect of New Versions
You may distribute the Covered Software under the terms of the version
of the License under which You originally received the Covered Software,
or under the terms of any subsequent version published by the license
steward.
10.3. Modified Versions
If you create software not governed by this License, and you want to
create a new license for such software, you may create and use a
modified version of this License if you rename the license and remove
any references to the name of the license steward (except to note that
such modified license differs from this License).
10.4. Distributing Source Code Form that is Incompatible With Secondary
Licenses
If You choose to distribute Source Code Form that is Incompatible With
Secondary Licenses under the terms of this version of the License, the
notice described in Exhibit B of this License must be attached.
Exhibit A - Source Code Form License Notice
-------------------------------------------
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
If it is not possible or desirable to put the notice in a particular
file, then You may include the notice in a location (such as a LICENSE
file in a relevant directory) where a recipient would be likely to look
for such a notice.
You may add additional accurate notices of copyright ownership.
Exhibit B - "Incompatible With Secondary Licenses" Notice
---------------------------------------------------------
This Source Code Form is "Incompatible With Secondary Licenses", as
defined by the Mozilla Public License, v. 2.0.
-44
View File
@@ -1,44 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>Coati_Trial</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>@MACOSX_BINARY_NAME@_Trial</string>
<key>CFBundleGetInfoString</key>
<string></string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>io.coati</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLongVersionString</key>
<string></string>
<key>CFBundleName</key>
<string></string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string></string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>@GIT_VERSION_NUMBER@</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string></string>
<key>NSHighResolutionCapable</key>
<true/>
<key>CFBundleIconFile</key>
<string>icon</string>
<key>LSMinimumSystemVersion</key>
<string>10.9</string>
</dict>
</plist>
+1 -21
View File
@@ -13,15 +13,6 @@ BUNDLE_NAME="@MACOSX_BUNDLE_NAME@"
APP_NAME="@MACOSX_BINARY_NAME@"
DYNLIB_PATHS=(@MACOSX_DYNAMIC_LIBRARIES@)
if [ "$1" = "trial" ]
then
echo -e $INFO "Trial bundle"
BUNDLE_NAME="${BUNDLE_NAME}_Trial"
APP_NAME="${APP_NAME}_trial"
echo $BUNDLE_NAME
echo $APP_NAME
fi
VERSION_STRING=$(git describe --long)
VERSION_STRING="${VERSION_STRING//-/_}"
VERSION_STRING="${VERSION_STRING//./_}"
@@ -79,12 +70,7 @@ ln -s /Applications $PACKAGE_DIR/Applications
echo -e $INFO "Copying bundle contents."
cp $APP_NAME $APP_PATH
if [ "$1" = "trial" ]
then
cp bundle_info_trial.plist $BUNDLE_PATH/Contents/Info.plist
else
cp bundle_info.plist $BUNDLE_PATH/Contents/Info.plist
fi
cp bundle_info.plist $BUNDLE_PATH/Contents/Info.plist
mkdir -p $RES_DIR/data
mkdir -p $RES_DIR/data/projects
@@ -98,12 +84,6 @@ cp -R ../data/projects/tictactoe $RES_DIR/data/projects/tictactoe
cp -R ../data/projects/tutorial $RES_DIR/data/projects/tutorial
cp -R ../data/projects/javaparser $RES_DIR/data/projects/javaparser
if [ ! "$1" = "trial" ]
then
rm $RES_DIR/data/projects/tictactoe/tictactoe.coatidb
rm $RES_DIR/data/projects/tutorial/tutorial.coatidb
fi
mkdir -p $RES_DIR/user
mkdir -p $RES_DIR/user/log
+1 -2
View File
@@ -39,7 +39,7 @@ function build_type {
if [ "$PLATFORM" == "Windows" ]
then
echo -e $INFO Builing the Coati VS Solution
cmake --build build --config $1 > /dev/null
cmake --build build --config $1
if [ $? -ne 0 ]
then
echo -e $FAIL At least one build or test failed, no push to $branch
@@ -47,7 +47,6 @@ function build_type {
fi
else
build Coati $1
build Coati_trial $1
build Coati_test $1
build Coati_license_generator $1
run_tests $1
-10
View File
@@ -1,16 +1,6 @@
add_files(
APP_FILES
data/parser/cxx/TaskParseCxx.cpp
data/parser/cxx/TaskParseWrapper.cpp
data/parser/java/TaskParseJava.cpp
utility/commandline/CommandLineParser.cpp
utility/commandline/CommandLineParser.h
utility/CompilationDatabase.cpp
isTrial.cpp
main.cpp
)
+11
View File
@@ -6,6 +6,9 @@
#include "utility/Version.h"
#include "Application.h"
#include "ProjectFactoryModuleC.h"
#include "ProjectFactoryModuleCpp.h"
#include "ProjectFactoryModuleJava.h"
#include "includes.h" // defines 'void setup(int argc, char *argv[])'
#include "LicenseChecker.h"
#include "qt/network/QtNetworkFactory.h"
@@ -48,6 +51,10 @@ int main(int argc, char *argv[])
Application::destroyInstance();
});
Application::getInstance()->addProjectFactoryModule(std::make_shared<ProjectFactoryModuleC>());
Application::getInstance()->addProjectFactoryModule(std::make_shared<ProjectFactoryModuleCpp>());
Application::getInstance()->addProjectFactoryModule(std::make_shared<ProjectFactoryModuleJava>());
std::shared_ptr<LicenseChecker> checker = LicenseChecker::getInstance();
if (commandLineParser.startedWithLicense())
@@ -83,6 +90,10 @@ int main(int argc, char *argv[])
Application::destroyInstance();
});
Application::getInstance()->addProjectFactoryModule(std::make_shared<ProjectFactoryModuleC>());
Application::getInstance()->addProjectFactoryModule(std::make_shared<ProjectFactoryModuleCpp>());
Application::getInstance()->addProjectFactoryModule(std::make_shared<ProjectFactoryModuleJava>());
commandLineParser.projectLoad();
utility::loadFontsFromDirectory(ResourcePaths::getFontsPath(), ".otf");
+6 -1
View File
@@ -121,6 +121,11 @@ Application::~Application()
}
}
void Application::addProjectFactoryModule(std::shared_ptr<ProjectFactoryModule> module)
{
m_projectFactory.addModule(module);
}
const std::shared_ptr<Project> Application::getCurrentProject()
{
return m_project;
@@ -155,7 +160,7 @@ void Application::createAndLoadProject(const FilePath& projectSettingsFilePath)
m_storageCache->clear();
m_project = Project::create(projectSettingsFilePath, m_storageCache.get(), getDialogView());
m_project = m_projectFactory.createProject(projectSettingsFilePath, m_storageCache.get(), getDialogView());
if (m_project)
{
+6 -2
View File
@@ -4,13 +4,14 @@
#include <memory>
#include "component/ComponentManager.h"
#include "Project.h"
#include "utility/messaging/MessageListener.h"
#include "utility/messaging/type/MessageActivateWindow.h"
#include "utility/messaging/type/MessageFinishedParsing.h"
#include "utility/messaging/type/MessageLoadProject.h"
#include "utility/messaging/type/MessageRefresh.h"
#include "utility/messaging/type/MessageSwitchColorScheme.h"
#include "Project.h"
#include "ProjectFactory.h"
class DialogView;
class IDECommunicationController;
@@ -19,6 +20,7 @@ class NetworkFactory;
class StorageCache;
class Version;
class ViewFactory;
class ProjectFactoryModule;
class Application
: public MessageListener<MessageActivateWindow>
@@ -35,12 +37,13 @@ public:
static void loadSettings();
static void loadStyle(const FilePath& colorSchemePath);
void addProjectFactoryModule(std::shared_ptr<ProjectFactoryModule> module);
~Application();
const std::shared_ptr<Project> getCurrentProject();
void createAndLoadProject(const FilePath& projectSettingsFilePath);
void loadProject(const FilePath& projectSettingsFilePath);
void refreshProject(bool force);
bool hasGUI();
@@ -67,6 +70,7 @@ private:
DialogView* getDialogView() const;
const bool m_hasGUI;
ProjectFactory m_projectFactory;
std::shared_ptr<Project> m_project;
std::shared_ptr<StorageCache> m_storageCache;
+10 -16
View File
@@ -6,8 +6,6 @@ add_files(
component/controller/helper/BucketGrid.h
component/controller/helper/DummyEdge.h
component/controller/helper/DummyNode.h
component/controller/helper/GraphLayouter.cpp
component/controller/helper/GraphLayouter.h
component/controller/helper/GraphPostprocessor.cpp
component/controller/helper/GraphPostprocessor.h
component/controller/helper/NetworkProtocolHelper.cpp
@@ -128,14 +126,8 @@ add_files(
data/name/NameHierarchy.cpp
data/name/NameHierarchy.h
data/parser/cxx/TaskParseCxx.h
data/parser/cxx/TaskParseWrapper.h
data/parser/java/JavaEnvironment.cpp
data/parser/java/JavaEnvironment.h
data/parser/java/JavaEnvironmentFactory.cpp
data/parser/java/JavaEnvironmentFactory.h
data/parser/java/TaskParseJava.h
data/parser/TaskParseWrapper.cpp
data/parser/TaskParseWrapper.h
data/parser/AccessKind.cpp
data/parser/AccessKind.h
@@ -213,7 +205,10 @@ add_files(
settings/Settings.h
settings/SettingsMigrator.cpp
settings/SettingsMigrator.h
utility/commandline/CommandLineParser.cpp
utility/commandline/CommandLineParser.h
utility/file/FileInfo.cpp
utility/file/FileInfo.h
utility/file/FileManager.cpp
@@ -344,7 +339,6 @@ add_files(
utility/AppPath.cpp
utility/AppPath.h
utility/Cache.h
utility/CompilationDatabase.h
utility/ConfigManager.cpp
utility/ConfigManager.h
utility/Property.h
@@ -370,13 +364,13 @@ add_files(
Application.cpp
Application.h
CxxProject.cpp
CxxProject.h
isTrial.h
JavaProject.cpp
JavaProject.h
LicenseChecker.cpp
LicenseChecker.h
Project.cpp
Project.h
ProjectFactory.cpp
ProjectFactory.h
ProjectFactoryModule.cpp
ProjectFactoryModule.h
)
+1 -34
View File
@@ -2,7 +2,7 @@
#include "component/view/DialogView.h"
#include "data/access/StorageAccessProxy.h"
#include "data/parser/cxx/TaskParseWrapper.h"
#include "data/parser/TaskParseWrapper.h"
#include "data/parser/java/TaskParseJava.h"
#include "data/StorageProvider.h"
#include "data/PersistentStorage.h"
@@ -28,39 +28,6 @@
#include "JavaProject.h"
#include "isTrial.h"
std::shared_ptr<Project> Project::create(
const FilePath& projectSettingsFile, StorageAccessProxy* storageAccessProxy, DialogView* dialogView)
{
std::shared_ptr<Project> project;
switch (ProjectSettings::getLanguageOfProject(projectSettingsFile))
{
case LANGUAGE_C:
case LANGUAGE_CPP:
{
project = std::shared_ptr<CxxProject>(new CxxProject(
std::make_shared<CxxProjectSettings>(projectSettingsFile), storageAccessProxy, dialogView
));
}
break;
case LANGUAGE_JAVA:
{
project = std::shared_ptr<JavaProject>(new JavaProject(
std::make_shared<JavaProjectSettings>(projectSettingsFile), storageAccessProxy, dialogView
));
}
break;
default:
break;
}
if (project)
{
project->load();
}
return project;
}
Project::~Project()
{
}
+3 -3
View File
@@ -20,9 +20,6 @@ class Task;
class Project
{
public:
static std::shared_ptr<Project> create(
const FilePath& projectSettingsFile, StorageAccessProxy* storageAccessProxy, DialogView* dialogView);
virtual ~Project();
bool refresh(bool forceRefresh);
@@ -58,7 +55,10 @@ private:
Project(const Project&);
public: // todo: make private again
void load();
private:
bool buildIndex(bool forceRefresh);
virtual bool prepareIndexing();
+35
View File
@@ -0,0 +1,35 @@
#include "ProjectFactory.h"
#include "component/view/DialogView.h"
#include "data/access/StorageAccessProxy.h"
#include "settings/ProjectSettings.h"
#include "utility/file/FilePath.h"
#include "Project.h"
#include "ProjectFactoryModule.h"
void ProjectFactory::addModule(std::shared_ptr<ProjectFactoryModule> module)
{
m_modules[module->getLanguage()] = module;
}
std::shared_ptr<Project> ProjectFactory::createProject(
const FilePath& projectSettingsFile, StorageAccessProxy* storageAccessProxy, DialogView* dialogView)
{
std::shared_ptr<Project> project;
std::map<LanguageType, std::shared_ptr<ProjectFactoryModule>>::const_iterator it = m_modules.find(
ProjectSettings::getLanguageOfProject(projectSettingsFile)
);
if (it != m_modules.end())
{
project = it->second->createProject(projectSettingsFile, storageAccessProxy, dialogView);
}
if (project)
{
project->load();
}
return project;
}
+27
View File
@@ -0,0 +1,27 @@
#ifndef PROJECT_FACTORY_H
#define PROJECT_FACTORY_H
#include <map>
#include <memory>
#include "settings/LanguageType.h"
class Project;
class FilePath;
class StorageAccessProxy;
class DialogView;
class ProjectFactoryModule;
class ProjectFactory
{
public:
void addModule(std::shared_ptr<ProjectFactoryModule> module);
std::shared_ptr<Project> createProject(
const FilePath& projectSettingsFile, StorageAccessProxy* storageAccessProxy, DialogView* dialogView);
private:
std::map<LanguageType, std::shared_ptr<ProjectFactoryModule>> m_modules;
};
#endif // PROJECT_FACTORY_H
+5
View File
@@ -0,0 +1,5 @@
#include "ProjectFactoryModule.h"
ProjectFactoryModule::~ProjectFactoryModule()
{
}
+24
View File
@@ -0,0 +1,24 @@
#ifndef PROJECT_FACTORY_MODULE_H
#define PROJECT_FACTORY_MODULE_H
#include <memory>
#include "settings/LanguageType.h"
class Project;
class FilePath;
class StorageAccessProxy;
class DialogView;
class ProjectFactoryModule
{
public:
virtual ~ProjectFactoryModule();
virtual LanguageType getLanguage() const = 0;
virtual std::shared_ptr<Project> createProject(
const FilePath& projectSettingsFile, StorageAccessProxy* storageAccessProxy, DialogView* dialogView
) = 0;
};
#endif // PROJECT_FACTORY_MODULE_H
@@ -1,255 +0,0 @@
#include "component/controller/helper/GraphLayouter.h"
#include <cmath>
#include <map>
#include <queue>
#include "component/controller/helper/DummyEdge.h"
#include "component/controller/helper/DummyNode.h"
#include "data/graph/Node.h"
// for prototyping, remove when done
#include "Eigen/Dense"
#include "Eigen/Eigenvalues"
#include "unsupported/Eigen/MatrixFunctions"
bool compareEigenvaluePairs(const std::pair<int, double>& p0, const std::pair<int, double>& p1)
{
return p0.second > p1.second;
}
void GraphLayouter::layoutSimpleRaster(std::vector<DummyNode>& nodes)
{
int x = 0;
int y = 0;
int offset = 150;
int w = ceil(sqrt(nodes.size()));
for (unsigned int i = 0; i < nodes.size(); i++)
{
if (i > 0 && i % w == 0)
{
y += offset;
x = 0;
}
nodes[i].position = Vec2i(x, y);
x += offset;
}
}
void GraphLayouter::layoutSimpleRing(std::vector<DummyNode>& nodes)
{
if (nodes.size() >= 1)
{
nodes[0].position = Vec2i(0, 0);
if (nodes.size() > 1)
{
float offset = 200.0f;
for (unsigned int i = 1; i < nodes.size(); i++)
{
float rad = 2.0f * 3.14159265359f / float(nodes.size() - 1) * i - 1;
int x = offset * std::cos(rad);
int y = offset * std::sin(rad);
nodes[i].position = Vec2i(x, y);
}
}
}
}
void GraphLayouter::layoutSpectralPrototype(std::vector<DummyNode>& nodes, const std::vector<DummyEdge>& edges)
{
if (nodes.size() < 2)
{
LOG_INFO("Not enough nodes for layouting");
return;
}
MatrixDynamicBase<int> laplacian = buildLaplacianMatrix(nodes, edges);
// If the laplacian matrix has a zero value in it's diagonal, that means there are unconnected nodes and the spectral
// layouting fails for some reason. In this case we switch to raster layout.
for (unsigned int i = 0; i < laplacian.getColumnsCount(); i++)
{
if (laplacian.getValue(i, i) == 0)
{
layoutSimpleRaster(nodes);
return;
}
}
Eigen::MatrixXd degreeMatrix = Eigen::MatrixXd::Zero(laplacian.getColumnsCount(), laplacian.getRowsCount());
Eigen::MatrixXd eigenMatrix = Eigen::MatrixXd::Zero(laplacian.getColumnsCount(), laplacian.getRowsCount());
for(unsigned int x = 0; x < laplacian.getColumnsCount(); x++)
{
for(unsigned int y = 0; y < laplacian.getRowsCount(); y++)
{
eigenMatrix(x, y) = laplacian.getValue(x, y);
if(x == y)
{
degreeMatrix(x, y) = laplacian.getValue(x, y);
}
}
}
degreeMatrix = degreeMatrix.inverse();
Eigen::MatrixPower<Eigen::MatrixXd> dPow(degreeMatrix);
degreeMatrix = dPow(0.5);
eigenMatrix = degreeMatrix * eigenMatrix * degreeMatrix;
eigenMatrix.normalize();
Eigen::EigenSolver<Eigen::MatrixXd> solver(eigenMatrix);
std::vector<std::vector<double>> eigenVectors;
for(unsigned int i = 0; i < solver.eigenvectors().cols(); i++)
{
eigenVectors.push_back(std::vector<double>());
for(unsigned int j = 0; j < solver.eigenvectors().rows(); j++)
{
eigenVectors[i].push_back(solver.eigenvectors()(i*solver.eigenvectors().rows() + j).real());
}
}
std::vector<std::pair<int, double>> eigenValues;
for(unsigned int i = 0; i < solver.eigenvalues().size(); i++)
{
eigenValues.push_back(std::pair<int, double>(i, solver.eigenvalues()(i).real()));
}
std::sort(eigenValues.begin(), eigenValues.end(), compareEigenvaluePairs);
if(eigenVectors.size() > 0 && eigenVectors[0].size() >= 3)
{
unsigned int xIdx = eigenValues[eigenValues.size()-2].first;
unsigned int yIdx = eigenValues[eigenValues.size()-3].first;
/*double xEigenValue = std::sqrt(solver.eigenvalues()(xIdx).real());
double yEigenValue = std::sqrt(solver.eigenvalues()(yIdx).real());*/
for(unsigned int i = 0; i < nodes.size(); i++)
{
float xPos = eigenVectors[xIdx][i];
float yPos = eigenVectors[yIdx][i];
Vec2f newPos(xPos, yPos);
newPos.normalize();
newPos *= 600.0f;
nodes[i].position.x = newPos.x;
nodes[i].position.y = newPos.y;
}
}
}
MatrixDynamicBase<int> GraphLayouter::buildLaplacianMatrix(
const std::vector<DummyNode>& nodes, const std::vector<DummyEdge>& edges)
{
MatrixDynamicBase<int> matrix(nodes.size(), nodes.size());
std::map<Id, DummyNode> nodesMap;
std::queue<DummyNode> remainingNodes;
for(unsigned int i = 0; i < nodes.size(); i++)
{
remainingNodes.push(nodes[i]);
}
while(remainingNodes.size() > 0)
{
if(remainingNodes.front().subNodes.size() > 0)
{
for(unsigned int i = 0; i < remainingNodes.front().subNodes.size(); i++)
{
remainingNodes.push(*remainingNodes.front().subNodes[i].get());
}
}
nodesMap[remainingNodes.front().tokenId] = remainingNodes.front();
remainingNodes.pop();
}
std::map<std::pair<Id, Id>, int> weightsMap;
for(unsigned int i = 0; i < edges.size(); i++)
{
const DummyEdge& edge = edges[i];
DummyNode ownerNode = nodesMap[edge.ownerId];
DummyNode targetNode = nodesMap[edge.targetId];
if(ownerNode.topLevelAncestorId != targetNode.topLevelAncestorId)
{
int weightIncrement = edge.getWeight();
Id ownerId = ownerNode.topLevelAncestorId;
Id targetId = targetNode.topLevelAncestorId;
std::pair<Id, Id> key(ownerId, targetId);
std::pair<Id, Id> inverseKey(targetId, ownerId);
std::pair<Id, Id> keyOwner(ownerId, ownerId);
std::pair<Id, Id> keyTarget(targetId, targetId);
std::map<std::pair<Id, Id>, int>::iterator it = weightsMap.find(key);
if(it == weightsMap.end())
{
weightsMap[key] = 0;
}
weightsMap[key] += weightIncrement;
it = weightsMap.find(inverseKey);
if(it == weightsMap.end())
{
weightsMap[inverseKey] = 0;
}
weightsMap[inverseKey] += weightIncrement;
it = weightsMap.find(keyOwner);
if(it == weightsMap.end())
{
weightsMap[keyOwner] = 0;
}
weightsMap[keyOwner] += weightIncrement;
it = weightsMap.find(keyTarget);
if(it == weightsMap.end())
{
weightsMap[keyTarget] = 0;
}
weightsMap[keyTarget] += weightIncrement;
}
}
for(unsigned int x = 0; x < nodes.size(); x++)
{
for(unsigned int y = x; y < nodes.size(); y++)
{
unsigned int xNodeId = nodes[x].tokenId;
unsigned int yNodeId = nodes[y].tokenId;
std::pair<Id, Id> key(xNodeId, yNodeId);
if(x == y)
{
matrix.setValue(x, y, weightsMap[key]);
}
else
{
matrix.setValue(x, y, -weightsMap[key]);
matrix.setValue(y, x, -weightsMap[key]);
}
}
}
return matrix;
}
@@ -1,26 +0,0 @@
#ifndef GRAPH_LAYOUTER_H
#define GRAPH_LAYOUTER_H
#include <vector>
#include "utility/math/MatrixDynamicBase.h"
#include "utility/math/Vector2.h"
#include "utility/types.h"
struct DummyEdge;
struct DummyNode;
class GraphLayouter
{
public:
static void layoutSimpleRaster(std::vector<DummyNode>& nodes);
static void layoutSimpleRing(std::vector<DummyNode>& nodes);
static void layoutSpectralPrototype(std::vector<DummyNode>& nodes, const std::vector<DummyEdge>& edges);
private:
static MatrixDynamicBase<int> buildLaplacianMatrix(
const std::vector<DummyNode>& nodes, const std::vector<DummyEdge>& edges);
};
#endif // GRAPH_LAYOUTER_H
-1
View File
@@ -9,7 +9,6 @@
#include "data/graph/token_component/TokenComponentAccess.h"
#include "data/DefinitionType.h"
#include "data/SqliteStorage.h"
class ParserClientImpl: public ParserClient
{
@@ -1,4 +1,4 @@
#include "data/parser/cxx/TaskParseWrapper.h"
#include "data/parser/TaskParseWrapper.h"
#include "component/view/DialogView.h"
#include "data/PersistentStorage.h"
@@ -32,6 +32,22 @@ add_files(
data/parser/cxx/utilityCxx.cpp
data/parser/cxx/utilityCxx.h
data/parser/java/JavaParser.cpp
data/parser/java/JavaParser.h
utility/CompilationDatabase.cpp
utility/CompilationDatabase.h
)
add_files(
LIB_CXX_FILES
data/parser/cxx/TaskParseCxx.cpp
data/parser/cxx/TaskParseCxx.h
CxxProject.cpp
CxxProject.h
ProjectFactoryModuleCpp.cpp
ProjectFactoryModuleCpp.h
ProjectFactoryModuleC.cpp
ProjectFactoryModuleC.h
)
@@ -10,6 +10,14 @@
#include "Application.h"
CxxProject::CxxProject(
std::shared_ptr<CxxProjectSettings> projectSettings, StorageAccessProxy* storageAccessProxy, DialogView* dialogView
)
: Project(storageAccessProxy, dialogView)
, m_projectSettings(projectSettings)
{
}
CxxProject::~CxxProject()
{
}
@@ -24,14 +32,6 @@ const std::shared_ptr<ProjectSettings> CxxProject::getProjectSettings() const
return m_projectSettings;
}
CxxProject::CxxProject(
std::shared_ptr<CxxProjectSettings> projectSettings, StorageAccessProxy* storageAccessProxy, DialogView* dialogView
)
: Project(storageAccessProxy, dialogView)
, m_projectSettings(projectSettings)
{
}
bool CxxProject::prepareRefresh()
{
FilePath cdbPath = m_projectSettings->getCompilationDatabasePath();
@@ -9,6 +9,11 @@
class CxxProject: public Project
{
public:
CxxProject(
std::shared_ptr<CxxProjectSettings> projectSettings,
StorageAccessProxy* storageAccessProxy,
DialogView* dialogView
);
virtual ~CxxProject();
protected:
@@ -16,11 +21,6 @@ protected:
virtual const std::shared_ptr<ProjectSettings> getProjectSettings() const;
private:
CxxProject(
std::shared_ptr<CxxProjectSettings> projectSettings,
StorageAccessProxy* storageAccessProxy,
DialogView* dialogView
);
CxxProject(const CxxProject&);
virtual bool prepareRefresh();
+21
View File
@@ -0,0 +1,21 @@
#include "ProjectFactoryModuleC.h"
#include "settings/LanguageType.h"
#include "CxxProject.h"
ProjectFactoryModuleC::~ProjectFactoryModuleC()
{
}
LanguageType ProjectFactoryModuleC::getLanguage() const
{
return LANGUAGE_C;
}
std::shared_ptr<Project> ProjectFactoryModuleC::createProject(
const FilePath& projectSettingsFile, StorageAccessProxy* storageAccessProxy, DialogView* dialogView
)
{
return std::shared_ptr<CxxProject>(new CxxProject(
std::make_shared<CxxProjectSettings>(projectSettingsFile), storageAccessProxy, dialogView));
}
+17
View File
@@ -0,0 +1,17 @@
#ifndef PROJECT_FACTORY_MODULE_C_H
#define PROJECT_FACTORY_MODULE_C_H
#include "ProjectFactoryModule.h"
class ProjectFactoryModuleC: public ProjectFactoryModule
{
public:
virtual ~ProjectFactoryModuleC();
virtual LanguageType getLanguage() const;
virtual std::shared_ptr<Project> createProject(
const FilePath& projectSettingsFile, StorageAccessProxy* storageAccessProxy, DialogView* dialogView
);
};
#endif // PROJECT_FACTORY_MODULE_C_H
+21
View File
@@ -0,0 +1,21 @@
#include "ProjectFactoryModuleCpp.h"
#include "settings/LanguageType.h"
#include "CxxProject.h"
ProjectFactoryModuleCpp::~ProjectFactoryModuleCpp()
{
}
LanguageType ProjectFactoryModuleCpp::getLanguage() const
{
return LANGUAGE_CPP;
}
std::shared_ptr<Project> ProjectFactoryModuleCpp::createProject(
const FilePath& projectSettingsFile, StorageAccessProxy* storageAccessProxy, DialogView* dialogView
)
{
return std::shared_ptr<CxxProject>(new CxxProject(
std::make_shared<CxxProjectSettings>(projectSettingsFile), storageAccessProxy, dialogView));
}
+17
View File
@@ -0,0 +1,17 @@
#ifndef PROJECT_FACTORY_MODULE_CPP_H
#define PROJECT_FACTORY_MODULE_CPP_H
#include "ProjectFactoryModule.h"
class ProjectFactoryModuleCpp: public ProjectFactoryModule
{
public:
virtual ~ProjectFactoryModuleCpp();
virtual LanguageType getLanguage() const;
virtual std::shared_ptr<Project> createProject(
const FilePath& projectSettingsFile, StorageAccessProxy* storageAccessProxy, DialogView* dialogView
);
};
#endif // PROJECT_FACTORY_MODULE_CPP_H

Some files were not shown because too many files have changed in this diff Show More