You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2013/05/31 22:23:40 UTC
[7/7] git commit: deleted solution, simplified proj
deleted solution, simplified proj
Project: http://git-wip-us.apache.org/repos/asf/cordova-windows/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-windows/commit/376145b3
Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/376145b3
Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/376145b3
Branch: refs/heads/master
Commit: 376145b35becbe9792e420994e868f61aeba36e1
Parents: 0721878
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Fri May 31 13:21:04 2013 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Fri May 31 13:21:04 2013 -0700
----------------------------------------------------------------------
.../CordovaWindows8Deploy.cpp | 61 +++++++++++
.../CordovaWindows8Deploy.sln | 20 ----
.../CordovaWindows8Deploy.vcxproj | 85 +++++++++++++++
.../CordovaWindows8Deploy.cpp | 56 ----------
.../CordovaWindows8Deploy.vcxproj | 85 ---------------
.../CordovaWindows8Deploy.vcxproj.filters | 18 ---
.../cordovawindows8deploy-9703390a.ipch | Bin 77201408 -> 0 bytes
7 files changed, 146 insertions(+), 179 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/376145b3/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp
----------------------------------------------------------------------
diff --git a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp
new file mode 100644
index 0000000..75a59c7
--- /dev/null
+++ b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp
@@ -0,0 +1,61 @@
+
+#include <stdio.h>
+#include <tchar.h>
+#include <shlobj.h>
+#include <stdio.h>
+#include <shobjidl.h>
+#include <objbase.h>
+#include <atlbase.h>
+#include <string>
+#include <AppxPackaging.h>
+
+int _tmain(int argc, _TCHAR* argv[])
+{
+ DWORD dwProcessId = 0;
+ HRESULT hr = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
+
+ if(SUCCEEDED(hr))
+ {
+ if(argc == 2)
+ {
+ CComPtr<IAppxManifestReader> spManifestReader;
+
+ CComPtr<IApplicationActivationManager> spAppActivationManager;
+ // get IApplicationActivationManager
+ hr = CoCreateInstance(CLSID_ApplicationActivationManager,
+ NULL,
+ CLSCTX_LOCAL_SERVER,
+ IID_IApplicationActivationManager,
+ (LPVOID*)&spAppActivationManager);
+
+ // allow it to be launched in the foreground.
+ if (SUCCEEDED(hr))
+ {
+ hr = CoAllowSetForegroundWindow(spAppActivationManager, NULL);
+ }
+
+ // Launch it!
+ if (SUCCEEDED(hr))
+ {
+ hr = spAppActivationManager->ActivateApplication((LPCWSTR)argv[1],
+ NULL,
+ AO_NONE,
+ &dwProcessId);
+ }
+ }
+ else
+ {
+ printf("%s","Missing Command Line Argument");
+ hr = E_ABORT;
+ }
+ CoUninitialize();
+ }
+
+ if(SUCCEEDED(hr))
+ {
+ printf("%s","Successfully Deployed.");
+ }
+
+ return hr;
+}
+
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/376145b3/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.sln
----------------------------------------------------------------------
diff --git a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.sln b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.sln
deleted file mode 100644
index 970c89f..0000000
--- a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.sln
+++ /dev/null
@@ -1,20 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2012
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CordovaWindows8Deploy", "CordovaWindows8Deploy\CordovaWindows8Deploy.vcxproj", "{7CE1D306-44A9-40D8-B7CD-135AC2F8150B}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7CE1D306-44A9-40D8-B7CD-135AC2F8150B}.Debug|Win32.ActiveCfg = Debug|Win32
- {7CE1D306-44A9-40D8-B7CD-135AC2F8150B}.Debug|Win32.Build.0 = Debug|Win32
- {7CE1D306-44A9-40D8-B7CD-135AC2F8150B}.Release|Win32.ActiveCfg = Release|Win32
- {7CE1D306-44A9-40D8-B7CD-135AC2F8150B}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/376145b3/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj
----------------------------------------------------------------------
diff --git a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj
new file mode 100644
index 0000000..2b8c4a8
--- /dev/null
+++ b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug|Win32">
+ <Configuration>Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|Win32">
+ <Configuration>Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{7CE1D306-44A9-40D8-B7CD-135AC2F8150B}</ProjectGuid>
+ <Keyword>Win32Proj</Keyword>
+ <RootNamespace>CordovaWindows8Deploy</RootNamespace>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <PlatformToolset>v110</PlatformToolset>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <PlatformToolset>v110</PlatformToolset>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <LinkIncremental>true</LinkIncremental>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <LinkIncremental>false</LinkIncremental>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <ClCompile>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <SDLCheck>true</SDLCheck>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>Use</PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <SDLCheck>true</SDLCheck>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <OptimizeReferences>true</OptimizeReferences>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="CordovaWindows8Deploy.cpp" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/376145b3/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp
----------------------------------------------------------------------
diff --git a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp
deleted file mode 100644
index 5b55d34..0000000
--- a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
-
-#include <stdio.h>
-#include <tchar.h>
-#include <shlobj.h>
-#include <stdio.h>
-#include <shobjidl.h>
-#include <objbase.h>
-#include <atlbase.h>
-#include <string>
-#include <AppxPackaging.h>
-
-int _tmain(int argc, _TCHAR* argv[])
-{
- DWORD dwProcessId = 0;
- HRESULT hr = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
-
- if(SUCCEEDED(hr))
- {
- if(argc == 2)
- {
- CComPtr<IAppxManifestReader> spManifestReader;
-
- CComPtr<IApplicationActivationManager> spAppActivationManager;
- // get IApplicationActivationManager
- hr = CoCreateInstance(CLSID_ApplicationActivationManager,
- NULL,
- CLSCTX_LOCAL_SERVER,
- IID_IApplicationActivationManager,
- (LPVOID*)&spAppActivationManager);
-
- // allow it to be launched in the foreground.
- if (SUCCEEDED(hr))
- {
- hr = CoAllowSetForegroundWindow(spAppActivationManager, NULL);
- }
-
- // Launch it!
- if (SUCCEEDED(hr))
- {
- hr = spAppActivationManager->ActivateApplication((LPCWSTR)argv[1],
- NULL,
- AO_NONE,
- &dwProcessId);
- }
- }
- CoUninitialize();
- }
-
- if(SUCCEEDED(hr))
- {
- printf("%s","Successfully Deployed.");
- }
-
- return hr;
-}
-
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/376145b3/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj
----------------------------------------------------------------------
diff --git a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj
deleted file mode 100644
index 2b8c4a8..0000000
--- a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj
+++ /dev/null
@@ -1,85 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{7CE1D306-44A9-40D8-B7CD-135AC2F8150B}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>CordovaWindows8Deploy</RootNamespace>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v110</PlatformToolset>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v110</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="CordovaWindows8Deploy.cpp" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/376145b3/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj.filters
----------------------------------------------------------------------
diff --git a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj.filters b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj.filters
deleted file mode 100644
index 74ff009..0000000
--- a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj.filters
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
- <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
- </Filter>
- <Filter Include="Resource Files">
- <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
- <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
- </Filter>
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="CordovaWindows8Deploy.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- </ItemGroup>
-</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/376145b3/windows8/tooling/CordovaWindows8Deploy/ipch/cordovawindows8deploy-c95ef552/cordovawindows8deploy-9703390a.ipch
----------------------------------------------------------------------
diff --git a/windows8/tooling/CordovaWindows8Deploy/ipch/cordovawindows8deploy-c95ef552/cordovawindows8deploy-9703390a.ipch b/windows8/tooling/CordovaWindows8Deploy/ipch/cordovawindows8deploy-c95ef552/cordovawindows8deploy-9703390a.ipch
deleted file mode 100644
index ac335aa..0000000
Binary files a/windows8/tooling/CordovaWindows8Deploy/ipch/cordovawindows8deploy-c95ef552/cordovawindows8deploy-9703390a.ipch and /dev/null differ