On 12/29/09 3:48, Viktor Ransmayr wrote:
Hi Richard,

no success. - In my first try Maven complained about not finding 1.1.0-SNAPSHOT of 'o.a.f.framework', so I changed to version in the pom of 'o.a.f.daemon' to 2.1-SNAPSHOT. - Now I get the following errors:

<Log>

C:\Snapshots\Felix\org.apache.felix.daemon>mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Felix Daemon
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory C:\Snapshots\Felix\org.apache.felix.daemon\target
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory C:\Snapshots\Felix\org.apache.felix.daemon\src\main\resources
[INFO] Copying 0 resource to META-INF
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 2 source files to C:\Snapshots\Felix\org.apache.felix.daemon\target\classes [INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

C:\Snapshots\Felix\org.apache.felix.daemon\src\main\java\org\apache\felix\daemon\Service.java:[78,19] cannot find symbol symbol : constructor Felix(org.apache.felix.framework.util.StringMap,<nulltype>)
location: class org.apache.felix.framework.Felix

C:\Snapshots\Felix\org.apache.felix.daemon\src\main\java\org\apache\felix\daemon\Service.java:[85,75] cannot find symbol
symbol  : variable CACHE_PROFILE_PROP
location: class org.apache.felix.framework.cache.BundleCache

C:\Snapshots\Felix\org.apache.felix.daemon\src\main\java\org\apache\felix\daemon\Service.java:[88,78] cannot find symbol
symbol  : variable CACHE_PROFILE_DIR_PROP
location: class org.apache.felix.framework.cache.BundleCache

C:\Snapshots\Felix\org.apache.felix.daemon\src\main\java\org\apache\felix\daemon\Service.java:[94,58] cannot find symbol
symbol  : variable CACHE_PROFILE_PROP
location: class org.apache.felix.framework.cache.BundleCache


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Tue Dec 29 09:41:51 CET 2009
[INFO] Final Memory: 11M/20M
[INFO] ------------------------------------------------------------------------
C:\Snapshots\Felix\org.apache.felix.daemon>

</Log>

I want to finish this task, i.e. document how to create a Felix Installer from the source-trunk. - However I think that I need to understand a bit more and have a game-plan. - Should this be done in this thread - or - taken off-line? (Obviously I'd publish my findings here
again ;-)

Well, I guess creating an installer is a user issue, so this list is probably ok, but dev@ is fine too.

The reason you are running into these issues is because the API to launch the framework has changed, so it just needs to be updated. If you want to work on this, you can submit a patch for it in JIRA once you are done.

You can find information on how to launch the framework here:

http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html

Just ask if you have any questions.

-> richard



Regards,

Viktor

Am 29.12.2009 01:16, schrieb Richard S. Hall:
On 12/28/09 13:24, Viktor Ransmayr wrote:
Hi Richard,

will do. - However what version shall I use for o.a.f.daemon ? - Can not find it at
http://felix.apache.org/site/downloads.cgi !

It was never released, so you can just go into its directory and do "mvn clean install" to build the 0.9.0-SNAPSHOT version.

-> richard



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to