On Thu, Aug 13, 2009 at 09:38:12PM +, brian m. carlson wrote:
> I've looked through the both the manual and the past few months of list
> archives and didn't see any clues; Google has been similarly unhelpful.
Ah, I found the problem: I needed to use the useImplicitFileset="false"
option, whic
I have a project that contains some XML files in a directory called
"src". However, because I must perform several conversions on them, I
copy them to a directory called "build" and then run the xslt task on
them several times. I want to run this task only on the files that have
been copied to bu
> From: Mike Baranczak [mailto:mbaranc...@gmail.com]
> Sent: Thursday, August 13, 2009 2:17 PM
> To: Ant Users List
> Subject: Re: javac can't find source files
>
> Like I said, it works fine under MacOS. I've been using Ant for a long
> time on several different operating systems, and I've never
Like I said, it works fine under MacOS. I've been using Ant for a long
time on several different operating systems, and I've never seen
anything like this.
The file system theoretically shouldn't matter - it's one of those low-
level details that Java code doesn't even know about. I only men
Very interesting... I run Ant on my Mac with an HFS+ partition and don't
have this rather strange issue although HFS does do some strange stuff.
There is definitely something going on.
Wonder if the file suffixes aren't what you think they are. Remove the
line from the fileset, and see what files
On Thu, Aug 13, 2009 at 3:09 PM, Scot P. Floess wrote:
>
> I was under the impression that using an unless attribute on a target will
> not run the target if that property is set... However, if there are is a
> depends attribute defined, the targets in the depend are run regardless?
>
Remember:
Shawn:
Thanks a bunch...
So, I just refactored some of my targets - I have some
preprocess/process/postprocess targets and a "catch all" that depends on
the aforementioned. I was "hoping" to selectively skip the processing
assuming a property was set - oh well. Guess I'll add a depends whe
The if/unless apply to the target they are specified on ONLY. They do not have
any effect on the depends targets. I don't like this either. I posted about
this very subject earlier this year. Here is a link to it:
http://www.nabble.com/ANT-enhancements-td24028826.html
---
Shawn Castrianni
All:
I was under the impression that using an unless attribute on a target will
not run the target if that property is set... However, if there are is a
depends attribute defined, the targets in the depend are run regardless?
Is this correct?
For example consider the following:
I lost the earlier email in this thread...
What does your javac call look like again?
On Thu, 13 Aug 2009, Mike Baranczak wrote:
On Thu, 2009-08-13 at 13:18 -0400, Martin Gainty wrote:
well something wrong with srcdir spec
is this a link of some kind?
No link, just a regular directory.
I changed the target like you said.
Output when running on the HFS+ partition:
[echo] Listing of source files:
After copying the project to the ext3 partition:
[echo] Listing of source files: Hello.java
On Thu, 2009-08-13 at 13:38 -0400, David Weintraub wrote:
> Where is the directory
On Thu, 2009-08-13 at 13:18 -0400, Martin Gainty wrote:
> well something wrong with srcdir spec
> is this a link of some kind?
No link, just a regular directory.
>
> if you drop to command line
> cd srcDirPath
> ls -al
> are there any java files in that srcDir?
Yes, there are. And my computer
Where is the directory "src"? Is it directly under the directory where the
build.xml file is located?
Try specifying "${basedir}/src" in case the directory you think you're in is
being changed.
Also try modifying your target to look like this:
well something wrong with srcdir spec
is this a link of some kind?
if you drop to command line
cd srcDirPath
ls -al
are there any java files in that srcDir?
what OS is being used?
what FileSystem do you have mounted on that OS?
Martin Gainty
__
Ver
Tried that - no effect.
-MB
On Thu, 2009-08-13 at 13:00 -0400, Martin Gainty wrote:
> that error is generated by an invalid sourcepath
> did you try setting sourcepath=""
> ?
> Martin Gainty
-
To unsubscribe, e-mail: user-unsu
that error is generated by an invalid sourcepath
did you try setting sourcepath=""
?
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng
I have plenty of free space, so that can't be it.
Another bit of info: running javac from the command line works as
expected.
-MB
On Thu, 2009-08-13 at 11:33 -0500, Shawn Castrianni wrote:
> I ran into this exact problem, but I don't know if you have the same cause
> that I did.
> In my case
I ran into this exact problem, but I don't know if you have the same cause that
I did. In my case, /tmp was full which is apparently used by javac when
performing a build. Therefore, I would check free disk space on all of your
mount points.
---
Shawn Castrianni
-Original Message-
F
I'm having a very strange problem with Ant on my new computer. It's a
Mac mini-tower with 2 Xeon processors, and I'm dual-booting it with Mac
OS and Ubuntu Linux. I have a secondary hard drive (HFS+) that I use for
sharing data between the two operating systems - this includes all my
software proje
Ant gurus,
How do I get the classloader used to load the ant task from the ant task?
I am hoping that this is just a noddy MyTask.class.getClassLoader()
-Stephen
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For ad
20 matches
Mail list logo