Closed GoogleCodeExporter closed 9 years ago
*this there an easier way to get this working for a website that is not hosted
on my personal computer, but rather www.my website.com ???
BUILD FAILED ALSO...
after reading the google docs, and trying to build as they stated in their
installation docs, nothing was happening, after googling the ERROR we found this
forum and soultion to the problem FOUND HERE
http://code.google.com/p/asb-myads/issues/detail?id=1
But just when you think the ANT WAR is being build, there remains another error.
SEE BLOW
================================================================================
=
C:\myads>ant war
Buildfile: C:\myads\build.xml
war:
update.version:
clean:
clean:
init:
[echo] Build myads-0.0.1 (2011-02-06 05:38:05)
compile:
[javac] C:\myads\build.xml:104: warning: 'includeantruntime' was not set, de
faulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 96 source files to C:\myads\out\production\server
[javac] Since fork is false, ignoring memoryMaximumSize setting.
[javac] Note: C:\myads\server\src\main\com\adserversoft\flexfuse\server\api\
BaseEntity.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[copy] Copying 15 files to C:\myads\out\production\server
[copy] Copying 19 files to C:\myads\out\production\server
copy-resources:
[copy] Copying 19 files to C:\myads\out\production\server
jar:
[jar] Building jar: C:\myads\lib\core\myads.jar
flex.clean:
flex.swf:
[java] Unable to access jarfile C:\myads\Program Files♀lexsdk\lib\mxmlc.jar
BUILD FAILED
C:\myads\build.xml:355: The following error occurred while executing this line:
C:\myads\build.xml:205: Java returned: 1
Total time: 43 seconds
C:\myads>
=============================================================================
Original comment by Mr.Canad...@gmail.com
on 6 Feb 2011 at 10:45
We have recently added myads.war binary for installation. I will prepare
another video on how to build our project from source code on Linux and Windows.
In the meantime the reason your build failed is in that line:
Unable to access jarfile C:\myads\Program Files♀lexsdk\lib\mxmlc.jar
Basically it means that you should take a look at build.properties and
FLEX_HOME. It should point to FlexSDK location. Eg. /opt/flexsdk35 on my Linux.
How is your path to Flex SDK determined? You should have some understanding
about paths and the build process I think if you want to build our project from
source code.
Original comment by adserver...@gmail.com
on 22 Feb 2011 at 4:02
Solution:
Use forward slash. Eg. FLEX_HOME=D:/flexsdk35
Using back slack in the path results in Ant's trying to find mxmlc.jar relative
to the project's root.
Also see this note:
http://code.google.com/p/asb-myads/wiki/buildingFromSourceCode
I'm going to keep this article updated.
Original comment by adserver...@gmail.com
on 31 Mar 2011 at 11:35
Original issue reported on code.google.com by
patrick....@gmail.com
on 3 Feb 2011 at 4:24