Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

Nikos Stavros

Ranch Hand
+ Follow
since Feb 24, 2006
Nikos likes ...
Python
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Nikos Stavros

hi, may I ask something?

using base dir for messes up things like this which are supposed to be unaffected because they are absolute ones.

<taskdef name="mxmlc" classname="flex.ant.MxmlcTask" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
<taskdef name="compc" classname="flex.ant.CompcTask" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
<taskdef name="html-wrapper" classname="flex.ant.HtmlWrapperTask" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
<taskdef name="asdoc" classname="flex.ant.AsDocTask" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>

Any ideas?
8 years ago
i tried this because my build file was non in the src folder and the complile task was not paths correctly, so I tried this:

<project name="nikos.custom.ant.builds" basedir="../src">

but then nothing worked,

saying stiff like mxmlc cannot be found.

<taskdef name="mxmlc" classname="flex.ant.MxmlcTask" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>


Any ideas?
8 years ago
cool thanks!
8 years ago
I see, man 3 days of ant programing for windows is painful!
8 years ago
hi again, any idea why this doesn't work?

<delete dir="${build}" excludes="*.cache"/>

my main.swf.cache file is deleted, while its folder in "${build}" is not.
8 years ago
thanks Pete, i decided to just build to local dir and use ant tasks to move them to deploy.
8 years ago
hi, this <echo>${deploy.debug}/main.swf</echo>

gives me X:/Inetpub/wwwroot/FLEX/debug/main.swf

but this:

<mxmlc
file="${project.src}/main.mxml"
output="${deploy.debug}/main.swf"

locale="${LOCALE}"
static-rsls="false"
accessible="false"
use-network="false"
>

gives an error:

[mxmlc] Error: C:\p4\\ant\=X:\Inetpub\wwwroot\FLEX\debug\main.swf (The filename, directory name, or volume label syntax is incorrect)

BUILD FAILED
C:\p4\\ant\CustomBuild.xml:48: mxmlc task failed

any ideas how to fix? the path is correct
8 years ago
what if ant is appending the location of the ant file to the path?

Warning: Could not find file C:\p4\\ant\=X:\Inetpub\wwwroot\main.swf} to copy.

8 years ago
opps, your right I was supposed to be using APP_ROOT
8 years ago
${project.home} for sure

its weird the same type of script works fine in another project
8 years ago
I have this script, but the files are not being copied over, even though tasks show successfully

<target name="copy.CF.dev"
description="copy CF files to test-server"
depends="delete.CF.dev">
<copy todir="${deploy.coldfusion}">
<fileset dir="${project.home}" includes="*.cfm,*.cfc"/>
</copy>

</target>
<target name="delete.CF.dev" description="copy CF files to test-server">
<delete >
<fileset dir="${deploy.coldfusion}" includes="*.cfm,*.cfc" >

</fileset>

</delete>

</target>

ive debugged and still can't figure out whats the issue
8 years ago
Is there a plugin to get the incremental select features of IntelliJ crtl + w in eclipse?


Its such a time saver
I'm trying to start tomcat in vista but keep getting access denied, unable to open the service tomcat 7, what should I do?
8 years ago
I am new to JSp AND was wondering what this does:

<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

in this page

9 years ago
JSP