Skip to content

Error in compilation on Windows 7 & Titanium 1.8.2 #4

@osman-masood

Description

@osman-masood

Hi,
Thanks for this module! It's a great service to the public. I was having some trouble compiling it and wondered if anyone could help me. I'm using:
32-bit JDK 1.6.0 update 29
ant 1.8.3 (latest version)
Titanium Mobile 1.8.2
Python 2.7.2

When I build ant itself, it gives an error saying that the jspc module could not be downloaded from the maven servers. However, I don't think that has any effect on this (right)?

My build.properties file looks like this:
titanium.sdk=C:\Users\User\AppData\Roaming\Titanium
titanium.os=win32
titanium.version=1.8.2
android.sdk=C:\android-sdk-windows
android.ndk=C:\android-ndk-r7b

titanium.platform=${titanium.sdk}\mobilesdk${titanium.os}${titanium.version}\android
android.platform=${android.sdk}\platforms\android-8
google.apis=${android.sdk}\add-ons\addon-google_apis-google_inc_-8

So when I do 'ant clean' in the Appcelerator-Android-Barcode-module folder, I get:

C:\Users\User\src\Appcelerator-Android-Barcode-module>ant clean
Buildfile: C:\Users\User\src\Appcelerator-Android-Barcode-module\build.xml

BUILD FAILED
C:\Users\User\src\Appcelerator-Android-Barcode-module\build.xml:9: The following error occurred while executing this line:
C:\Users\User\AppData\Roaming\Titanium\mobilesdk\win32\1.8.2\module\android\build.xml:10: taskdef class org.appcelerator.titanium.ant.StringTask cannot be found

using the classloader AntClassLoader[]

Total time: 0 seconds

Has anyone else encountered this problem? Is there any way to fix it? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions