Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F451
setup.patch
Public
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
baumhaue
Feb 4 2010, 11:55 AM
2010-02-04 11:55:24 (UTC+1)
Size
2 KB
Referenced Files
None
Subscribers
None
setup.patch
View Options
Index: mitk/BlueBerry/Bundles/org.blueberry.osgi/src/berryBundleLoader.cpp
===================================================================
--- mitk/BlueBerry/Bundles/org.blueberry.osgi/src/berryBundleLoader.cpp (revision 21197)
+++ mitk/BlueBerry/Bundles/org.blueberry.osgi/src/berryBundleLoader.cpp (working copy)
@@ -205,6 +205,19 @@
{
std::vector<std::string> tmpList;
bundle->GetStorage().List(baseDir, tmpList);
+
+#ifdef CMAKE_INTDIR
+ //std::string buildTypeSubDir(BERRY_BUILD_TYPE);
+
+ std::vector<std::string> tmpListBuildType;
+ bundle->GetStorage().List(baseDir + CMAKE_INTDIR, tmpListBuildType);
+ for (std::vector<std::string>::const_iterator i = tmpListBuildType.begin();
+ i != tmpListBuildType.end(); ++i)
+ {
+ tmpList.push_back(std::string("") + CMAKE_INTDIR + "/" + *i);
+ }
+
+#endif
std::string::size_type suf = Poco::SharedLibrary::suffix().size();
std::vector<std::string>::iterator iter;
Index: mitk/BlueBerry/Bundles/org.blueberry.osgi/src/berryBundleLoader.h
===================================================================
--- mitk/BlueBerry/Bundles/org.blueberry.osgi/src/berryBundleLoader.h (revision 21197)
+++ mitk/BlueBerry/Bundles/org.blueberry.osgi/src/berryBundleLoader.h (working copy)
@@ -34,11 +34,6 @@
#include "internal/berryBundle.h"
#include "internal/berrySystemBundle.h"
-#ifdef CMAKE_INTDIR
- #define BERRY_DEFAULT_LIBRARY_DIR "bin/" CMAKE_INTDIR "/"
-#else
- #define BERRY_DEFAULT_LIBRARY_DIR "bin/"
-#endif
namespace berry {
@@ -108,7 +103,7 @@
void ReadContributions(SmartPointer<IBundle> bundle);
void ReadDependentContributions(SmartPointer<IBundle> bundle);
- void ListLibraries(SmartPointer<IBundle> bundle, std::vector<std::string>& list, const std::string& baseDir = BERRY_DEFAULT_LIBRARY_DIR);
+ void ListLibraries(SmartPointer<IBundle> bundle, std::vector<std::string>& list, const std::string& baseDir = "bin/");
void InstallLibraries(SmartPointer<IBundle> bundle, bool copy = false);
// start all resolved bundles, except the system bundle
File Metadata
Details
Attached
Mime Type
application/octet-stream
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
433
Default Alt Text
setup.patch (2 KB)
Attached To
Mode
T3284: Windows Installer Package error since some blueberry changes
Attached
Detach File
Event Timeline
baumhaue
added a comment.
Feb 4 2010, 11:55 AM
2010-02-04 11:55:24 (UTC+1)
Comment Actions
fixes runtime error of windows installer
Log In to Comment