The javac type doesn't support the "scrdir" attribute.
4 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Philipp_Tiedt
Posted On:   Friday, September 29, 2006 09:39 AM

Hi all, I am trying to do a compile of some java src files. However, when getting to the compile target ant tells me the following "The type doesn't support the "scrdir" attribute." When i remove the srcdir attribute from javac it tells me that the attribute must be set. Here is my target... .... any help is appreciated ... Thx in advance Philipp    More>>

Hi all,



I am trying to do a compile of some java src files.



However, when getting to the compile target ant tells me the following



"The type doesn't support the "scrdir" attribute."



When i remove the srcdir attribute from javac it tells me that the attribute must be set.



Here is my target...








....









any help is appreciated ...



Thx in advance

Philipp

   <<Less

Re: The javac type doesn't support the "scrdir" attribute.

Posted By:   Anonymous  
Posted On:   Thursday, November 9, 2006 11:56 PM

Hi,



....





in the above code, you made a mistake.
In the javac task the attribute name is "srcdir" and not 'scrdir'.

Just correct the spelling and execute.
Hope it works.


Regards,
Nandhini

Re: The javac type doesn't support the "scrdir" attribute.

Posted By:   Anonymous  
Posted On:   Monday, October 16, 2006 01:50 AM

Hi!

First of all set property srcDir. There you have the location parameter, then give some name like src. Create that directiory in your default directory. palce your java code file in that directory.

Then u won't get this error. When i was doing. I had got the same problem.

Re: The javac type doesn't support the "scrdir" attribute.

Posted By:   Robert_Lybarger  
Posted On:   Friday, September 29, 2006 11:36 AM

If you actually copy/pasted the error, you simply misspelled the "srcdir" as "scrdir". In fact, your pasted javac tag has it misspelled as well.

Re: The javac type doesn't support the "scrdir" attribute.

Posted By:   WarnerJan_Veldhuis  
Posted On:   Friday, September 29, 2006 10:29 AM

This is my javac-tag, and it runs like a charm:


About | Sitemap | Contact