Comments (7)
We did the last release in haste and didn't check installation on Windows.
Basically ant is trying to update/redeploy database when building the war file.
You should disable that because obviously you are installing the database using
our installation guide that is through MySQL console.
So:
edit build.xml:
1) comment or remove
<!--<taskdef name="SSHExec"
classname="org.apache.tools.ant.taskdefs.optional.ssh.SSHExec"
classpath="${lib.dir.optional}/jsch-0.1.43.jar"/>-->
2) comment or remove
<target name="redeploy.db">
<SSHExec host="localhost"
trust="yes"
failonerror="false"
timeout="30000"
username="${ssh.username}"
password="${ssh.password}"
command="cd ${checkout.path}/db;bash recreatedb.sh;bash updatedb.sh myads1;bash updatedb.sh myads2;bash updatedb.sh myads3;"/>
</target>
3) remove any mentioning of redeploy.db from build.xml
You can see it is used in:
<target name="war" depends="redeploy.db,clean,jar,flex.swf,flex.resources,test">
so change it to:
<target name="war" depends="clean,jar,flex.swf,flex.resources">
- also remove 'task' from dependencies, you don't need it.
I will make sure our current release 0.5 will not contain these dependencies.
Original comment by [email protected]
on 11 Jan 2011 at 3:13
from asb-myads.
*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 [email protected]
on 6 Feb 2011 at 11:43
from asb-myads.
Pay attention to the following line:
[java] Unable to access jarfile C:\myads\Program Files♀lexsdk\lib\mxmlc.jar
You can't build the project without properly setting up Flex SDK.
Original comment by [email protected]
on 30 Mar 2011 at 12:33
from asb-myads.
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.
Original comment by [email protected]
on 31 Mar 2011 at 11:34
- Changed state: Fixed
from asb-myads.
Issue 3 has been merged into this issue.
Original comment by [email protected]
on 31 Mar 2011 at 11:35
from asb-myads.
[deleted comment]
from asb-myads.
Hi,
I am able to build the war successfully. But once when i deploy the generated
war in jboss it show the below error in console
14:33:33,034 ERROR [STDERR] 14 Mar, 2012 2:33:33 PM
com.adserversoft.flexfuse.server.ui.SettingsService getSettings
SEVERE: Could not open JDBC Connection for transaction; nested exception is
java.sql.SQLException: Access denied for user 'banner'@'localhost' (using
password: YES)
It will work fine, if the DB myads1..2..3 created in DB, But if i delete the DB
and deploy the new war from eclipse...the UI show the internal error. Actually
it should prompt window, where i have to put my DB credentials.....
I am working on it.....
Let me know if you know the solution..where i have to set the JDBC
configuration.
Thanks and Regards,
Original comment by [email protected]
on 14 Mar 2012 at 9:26
from asb-myads.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asb-myads.