Osmand projects structure redesigned!

Affichage de 123 messages sur 23
Osmand projects structure redesigned! V S 12/12/12 15:24
Hi,

This is very important update for people who tracks the source code.
Now we completely redesigned the project structure. The old git project
now serves only Android part (without common part between OsmAndMapCreator and OsmAnd).
You need to install repo (http://source.android.com/source/version-control.html) to download all projects, here is  the manifest of all projects

Short description of every git repository :
Core part for all projects including java and C++ (including rendering styles)
<project path="core" name="osmandapp/OsmAnd-core.git" />

Pure Android part (plugins and main project)
<project path="platforms/android" name="osmandapp/Osmand.git" />

OsmAndMapCreator + generator scripts + SRTM + basemap
<project path="tools" name="osmandapp/OsmAnd-tools.git" />

Website (php files)
<project path="misc" name="osmandapp/OsmAnd-misc.git" />

Right now osmand.googlecode synchronization is broken.

Best Regards,
Victor
Re: Osmand projects structure redesigned! Areg 13/12/12 04:50
Hi

Is there anything changed for Eclipse configuration?

I am getting the following error:
[2012-12-13 12:49:05 - OsmAnd] Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties.

Not sure what this mean.

Regards,
Areg
Re: Osmand projects structure redesigned! V S 13/12/12 14:26
Have no idea... Probably I commit my configuration, sorry. Please try to play with "build path" settings in Eclipse.

Victor


2012/12/13 Areg <vrt...@gmail.com>

Re: Osmand projects structure redesigned! Areg 14/12/12 01:59
Hi Victor

Thank you for suggestion.

Played a bit in Eclipse and now it can't find the following import:

import net.osmand.plus.R;

There was a manual how to open project in Eclipse - could you please remind me the URL and is it up to date after the modifications?

Regards,
Areg
Re: Osmand projects structure redesigned! hbogner 14/12/12 04:44
What needs to be changed in this config: http://code.google.com/p/osmand/wiki/OsmandMapUpdates  ?

I changed
git://github.com/osmandapp/Osmand.git
to
git://github.com/osmandapp/OsmAnd-tools.git
but get next error:
"Build step 'Invoke Ant' marked build as failure"

Regards
Hrvoje
Re: Osmand projects structure redesigned! V S 14/12/12 08:47
To get it working in the easiest manner.
just do 
# repo sync


2012/12/14 hbogner <hbo...@gmail.com>

Re: Osmand projects structure redesigned! ChrisW 14/12/12 09:25
A short while ago I trashed my Eclipse copy of OsmAnd to replace it with the latest - if I'd seen this post first I may have waited :-)

The new version fails to build because the package net.osmand.data is missing. I believe this used to be in the DataExtractionOSM project but this is not downloaded. I tried to download the other projects you mentioned (OsmAnd-tools and OsmAnd-manifest but I didn't have the required authority. Can I fix this? I only want the android part.

Thanks,
Chris
Re: Osmand projects structure redesigned! V S 14/12/12 15:33
Yes you need to have OsmAnd-core java project it is only one dependency for OsmAnd Android version.
Victor


2012/12/14 ChrisW <cepe...@gmail.com>

Re: Osmand projects structure redesigned! ChrisW 15/12/12 00:32
With this I get:
Re: Osmand projects structure redesigned! Stephan75 16/12/12 08:52
When all issues about the new code structure are solved, do we need updated information and instructions at http://code.google.com/p/osmand/wiki/InstallDevelopmentEnvironment and all other relevant wiki pages?

Stephan
Re: Osmand projects structure redesigned! V S 16/12/12 09:10
Would be nice !

Thanks,
Victor


2012/12/16 Stephan75 <der.steph...@googlemail.com>

When all issues about the new code structure are solved, do we need updated information and instructions at http://code.google.com/p/osmand/wiki/InstallDevelopmentEnvironment and all other relevant wiki pages?

Stephan

Re: Osmand projects structure redesigned! hbogner 18/12/12 11:34
To get it working in the easiest manner.
just do
repo init -u git://github.com/osmandapp/OsmAnd-manifest.git
# repo sync

???
What? Where? How?
In Jenkins? Shell? where?
Re: Osmand projects structure redesigned! V S 18/12/12 12:43
This is shell. Install repo and after that run specified 2 commands
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo


2012/12/18 hbogner <hbo...@gmail.com>

Re: Osmand projects structure redesigned! Bartosz Gołek 01/10/13 10:38
I still dont understand. How to configure Jenkins to work with new Project structure?
Current description at OsmAnd wiki here is wrong.

How to configure new Jenkins build in the new way.
Can someone write some more detailed description or update wiki article?
Re: Osmand projects structure redesigned! Bartosz Gołek 02/10/13 11:05
OK, I have almost done this.
But, still no succes.

My configuration is:
Source Code Management -> Gerrit Repo
Manifest Repository Url: git://github.com/osmandapp/OsmAnd-manifest.git
Manifest Branch: master
Manifest File: jenkins_tools.xml

Steps:
1. Invoke Ant: clean compile jar
2. Execute shell: 
mkdir -p /var/lib/jenkins/indexes/uploaded
rm -rf .work
mkdir -p .work/osm
echo Running java net.osmand.data.index.IndexBatchCreator with $INDEXES_FILE
java -XX:+UseParallelGC -Xmx8096M -Xmn512M -Djava.util.logging.config.file=tools/obf-generation/batch-logging.properties -cp tools/OsmAndMapCreator/OsmAndMapCreator.jar:tools/OsmAndMapCreator/lib/*.jar net.osmand.data.index.IndexBatchCreator tools/obf-generation/indexes-batch-generate-inmem.xml ~/indexes.xml

~/indexes.xml is my regions file.

Build crashes after 10 min with last log entries:
----------------------
INFO: Done 42,363 %.
2013-10-02 12:47:08 net.osmand.impl.ConsoleProgressImplementation printIfNeeded
INFO: Done 43,365 %.
2013-10-02 12:47:17 net.osmand.impl.ConsoleProgressImplementation printIfNeeded
INFO: Done 44,371 %.
2013-10-02 12:47:25 net.osmand.impl.ConsoleProgressImplementation printIfNeeded
INFO: Done 45,374 %.
2013-10-02 12:47:36 net.osmand.impl.ConsoleProgressImplementation printIfNeeded
INFO: Done 46,377 %.
Killed
Build step 'Execute shell' marked build as failure
Finished: FAILURE
----------------------

Looks like Jenkins kill process for some reason.
Any ideas?

Re: Osmand projects structure redesigned! Max 03/10/13 00:26
Hi!


Looks like Jenkins kill process for some reason.
Any ideas?

OOM killer?

Have you tried to run this Java command without Jenkins?
Does this work?

Regards,
Max
Re: Osmand projects structure redesigned! Bartosz Gołek 03/10/13 00:50
I'll try
Re: Osmand projects structure redesigned! Bartosz Gołek 03/10/13 00:51
I'll try

W dniu czwartek, 3 października 2013 09:26:04 UTC+2 użytkownik Max napisał:
Re: Osmand projects structure redesigned! Bartosz Gołek 03/10/13 01:06
You have right.
Process started from console is Killed in the same place.
Re: Osmand projects structure redesigned! Jakub Kozłowski 17/03/14 11:29
Did you solved the problem?
Re: Osmand projects structure redesigned! Bartosz Gołek 18/03/14 01:07
Yes, I've change the configuration to not build in memory.
Process has been stopped, because system kills it.

Pozdrawiam
Bartosz Gołek


--
You received this message because you are subscribed to a topic in the Google Groups "Osmand" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osmand/xyVCKxptVcA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: Osmand projects structure redesigned! myildirmaz 30/01/15 08:00
Hi ,

I am trying to bring and build  application into Eclipse without any success . Is there any updated full installation information other than this one that I can follow ?


Best Regard

Murat 
Re: Osmand projects structure redesigned! Hans-Christoph Steiner 03/02/15 12:22

I've had no luck working on Osmand with either Eclipse or Android Studio.
Instead I switched to emacs and used the gradle build system.

https://code.google.com/p/osmand/wiki/GradleCommandLineBuildEnvironment

.hc

myildirmaz:
> Hi ,
>
> I am trying to bring and build  application into Eclipse without any
> success . Is there any updated full installation information other than
> this one that I can follow ?
>
>  http://code.google.com/p/osmand/wiki/InstallDevelopmentEnvironment
>
> Best Regard
>
> Murat
>
> On Sunday, December 16, 2012 at 12:10:55 PM UTC-5, V S wrote:
>>
>> Would be nice !
>>
>> Thanks,
>> Victor
>>
>>
>> 2012/12/16 Stephan75 <der.steph...@googlemail.com <javascript:>>
>>
>>> When all issues about the new code structure are solved, do we need
>>> updated information and instructions at
>>> http://code.google.com/p/osmand/wiki/InstallDevelopmentEnvironment and
>>> all other relevant wiki pages?
>>>
>>> Stephan
>>>
>>
>>
>

--
PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81
https://pgp.mit.edu/pks/lookup?op=vindex&search=0x9F0FE587374BBE81
Plus de sujets »