How we will check the jsp with Ant scriptOn Thu 2007-06-07 at 16 43 +0530 Saurabh Dave wrote > Hi > > Could any one tell me How we can precompile the jsp with Ant Is > using Maven is essential . If you are deploying your JClassloader problemsHi all For obscure reasons I have to redefine the core email task using a taskdef. This is my build file <path id "jsch.path " > <pathelement location "${src.tools.dir}/jsch/ant-jsch.jar "/ > <patant project building problem when one project depend upon another project.Separate out the JAR task as a separate target and have both project "A " and project "B " depend upon that target. That way you 're just building the JAR and not the entire project. Or you can buiProblem with <tidy > taskConsider this task <tidy destdir "${base-dir}/tidy " flatten "true " > <fileset dir "${base-dir} " > <include name "**/*.htm "/ > </fileset > <parameter name "wrap " value "0 " / > <parameter namecanned fileset with replaceregexp>Um... You didn 't explain what you 're trying to do. Are you attempting to build a PATH based upon a regular expression? > <fileset > can take patternsets in the form of a refid. I 'm trying to createresolve dynamic property ?Hi i have a static property file with key value web.buildcmd make-${buildtarget}-SB my first script creates the dynamic property ${buildtarget} with <script > task and project.setPropery() methxmlproperty semanticAttributes and CDATAIt appears the with semanticAttributes set to true properties are still not expanded if they reside in CDATA sections. E.g. (in properties file) <myxmlproperty > <![CDATA[ <script type "text/javascripAnt return code 13 - what does it mean?Graham- I would suggest looking at setting up root permissions for your PDE build environment http //www.eclipse.org/pde/pde-build/doc/usage.html (and follow steve 's suggestion) M-- This email messAnt support for daemon processesHi Ant Users I am interested in Ant support for daemon processes such as servers. For example I would like to stop an Exec or Java process on demand - this is not possible with existing Exec and Jant equivalent of bash -xHi all In my quest to hunt down the mysterious ant crash that causes it to exit with return code 13 without error or warning I would like to trace the execution of the build script to see how far aAW: Ant and SwingI think your application just terminates very early. This works for me <project default "all " > <property name "dir " value "tmp "/ > <target name "all " depends "clean createJava build run "/ >Make a 'fake ' attachmentHi Matt > You 've got to keep track of my sleight-of-hand on the > the dev list Kev! ) If you 're able to use the > trunk version you should be able to use > > <truncate file "attachment " lengthAnt and SwingHow can i manage to execute a project where i use Swing ? i tried doing it normally but it does not work (without throwing an exception it simply concludes the task without executing the Swing portiohow to enable Java assertions (ie how to pass '-ea ' to the jvm)Hi probably a trivial question but I couldn 't find a working answer in the docs/archives/wiki/bugs. I have a Java assert statement in my code that is supposed to fail. Java compilation is with -sourAnt sshexec random failuresHi Chris... I am having the same exactly problem with the sshexec the same script sometimes works sometimes it gives me "Remote command failed with exit status -1 " I was wondering if you have f<assert > broken in antcontrib 1.0b3 ?!Hi i tried the most actual version of antcontrib 1.0b3 but the assert task seem to be broken. <!-- Import AntContrib -- > <taskdef resource "net/sf/antcontrib/antlib.xml " / > ... <property namStrange property problemHi all I have a weird error caused by a property being wrong 50% of the time and correct 50% of the time. here 's the relevant code build.properties james.version server-binary-next-major james.hoRunning another target - can it be done?I know. This is not something that you would usually want to do. But I 'm sure there is at least 3 valid cases where this would be correct. 1 <target name "num1 " > 2 ... 3 </target > 4 5 <targetrename all files matching pattern in directory and belowHello I want to make a task to rename all files of pattern abc*.htm to index.htm recursively. I tried following the example toward the end of the Move task documentation (i.e. adding a .bak extensiAnt 1.7.0 specific error: failed to create task or type taskdefHey Folks We recently upgraded from Ant 1.6.5 to Ant 1.7.0. We noticed that code in our build listener that functioned properly in Ant 1.5.x through Ant 1.6.5 no longer works with 1.7. The code baSubant and inheritrefs questionI have a question about how this should work. I have an outer wrapper script that executes a subant as follows Wrapper.xml <target name "build-application " depends "build-application-init " >AW: iterate a filesetI would go another way collect all files which does NOT have the tag and display them. <pathconvert > <fileset > <not > <contains > <echo > <fail if > Jan >-----Urspr?ngliche Nachricht----- >Von David Wzipfileset dir vs srcI am trying to add a single file to a jar. This works <zipfileset dir "${src} " prefix "WEB-INF " includes "web.xml " / > This gives an error about not being able to access the file <zipfileset src "$generating log file in AIXHi All Can any one help me generating a log file for ant tasks in AIX? When I run my ant scripts any errors in execution should go to a log file. Basically I 'm using exec task in my build.xml Thaiterate a filesetHello! I need to check if every .jsp in my project contains a tag like this <tag xxxx > How can i iterate a fileset and use <contains... > for each of my files? Thank u Andres!Errors in Deployingdeploy [serverdeploy] java.lang.NoClassDefFoundError weblogic/deploy [serverdeploy] Exception in thread "main " BUILD FAILED E \DIR_STRCUT\build.xml 43 Java returned 1 Total time 7 seconds MCopying the contents of all the files in one directory to a single fileActually i need to copy the contents of all the javascript files which reside in scripts directory into one common.js file in the same directory.. Like appending all the files into common.js.. The sAW: how to set a property to the latest fileJust an idea a combination of <fileset > <restrict > <date > and <sort > Jan >-----Urspr?ngliche Nachricht----- >Von Derek Haskin [mailto dhaskin@(protected)] >Gesendet Montag 28. Mai 2007 06 10 >Ahow to get a process id from a spawned task?Hello all. Is there a way to get the process id (I 'm dealing with a windows system here but I believe the question could be asked of both windows an UNIX families) of a task that is spawned? I haveDebian package creator taskHi all I started working on a task that allows you to create Debian packages pure Java implementation. You should be able to create deb packages in your build scripts running on Windows. The code
|