Commit graph

11 commits

Author SHA1 Message Date
Boris Kraut fb709a599c Berlin Vegan: Reenable 2015-04-19 14:56:44 +02:00
Boris Kraut 4224eb84a2 Berlin Vegan: Fix builds, disable broken build 2015-04-18 15:16:14 +02:00
micu 9ded7e6c02 Berlin Vegan: Fix build 2015-04-18 01:02:14 +02:00
Boris Kraut be88114167 Don't update Berlin Vegan to 1.9 (21): cordova issues 2015-04-09 13:27:12 +02:00
F-Droid Builder a79fca17e7 Update CV of Berlin Vegan to 1.9 (21) 2015-04-09 03:36:44 +01:00
Boris Kraut 81a7fec46f Berlin Vegan: Really fix build 2015-04-01 00:37:55 +02:00
Boris Kraut ff08caa481 Berlin Vegan: Try to fix build; still non-functional 2015-04-01 00:32:20 +02:00
micu 6259891a4b Issue #70: Fix Berlin vegan black screen issue
This commit actually does not fix the issue, it is just
a (not yet working) suggestion for fixing it:

The Berlin vegan guide needs a preparation phase, which inlucdes
copying some JS files and resources and stuff like that. This
preperation is done via

    ant prod.android

in the very root of the Berlin vegan guide git repository.

As you can see in the build.xml file in the root of the repo, the
target prod.android depends on the target prod, which in turn depends
on the target js.minify:

>     <target name="js.minify" depends="js.concatenate">
>
>         <apply executable="java" parallel="false">
>
>             <fileset dir="${build.dir}" includes="index.js"/>
>             <arg line="-jar"/>
>             <arg path="lib/tools/ycompressor.jar"/>
>             <srcfile/>
>             <arg line="-o"/>
>             <mapper type="glob" from="*.js"
>             to="${build.dir}/*-min.js"/>
>             <targetfile/>
>
>         </apply>
>         <delete file="${build.dir}/index.js"/>
>
>     </target>
>
> </project>

In the js.minify phase, the ycompressor.jar tool is used to compress
the java script files for mobile use.

By removing all the jar files in the prebuild phase, ycompressor.jar
gets removed, as well. Thus, the ant prod.android step does not work
properly.

I already managed to build this YUI compressor tool by hand from the sources.
But I could not figure out how to correctly add this external (non-Android)
host tool as dependency for this package.

Do you have any hint?

If I do it like this (in this commit) the build fails with:

> Running 'prebuild' commands in build/org.berlin_vegan.bvapp/platforms/android
> Cleaning subproject ../../../srclib/Cordova/framework
> Could not build app org.berlin_vegan.bvapp due to BuildException: Failed to update project at ../../../srclib/YUICompressor
> ==== detail begin ====
> Error: ../../../srclib/YUICompressor is not a valid project (AndroidManifest.xml not found).
2015-03-26 14:36:33 +01:00
Boris Kraut 842cabd0bf Berlin Vegan: Disable for debugging 2014-09-19 13:45:18 +02:00
Boris Kraut fe6f0f82e0 Berlin Vegan: Fix build, remove jars, see !221 2014-09-18 15:13:52 +02:00
micu 4ec0dd547a Add the Berlin vegan guide app 2014-09-17 23:27:48 +02:00