Error al ejecutar Ant en XML Beans/Error by trying to execute ant on DOS

Al ejecutar el comando Ant en DOS,este envia un mensaje de error//By trying to execute the ant command appears a messge like "ant not expected at this time"
"no se esperaba en este momento".
Por que sucede esto? /Why happens this?

No se esperaba de en este momento.
 y al ejecutar el comando scomp envia lo sgte// And when trying to execute the  scomp-out command appears the following

C:\xmlbeans-2.2.0>scomp -out
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
set a system property
enable verbose output
-version print product version and exit
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
enable assertions
disable assertions
-esa | -enab
Espero su valiosa respuesta//I hope your value response
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

eduardojsAuthor Commented:
Im waiting for your value and quick help
try to give full path to ant - my Spanish is very bad but I think that it just cannot find the command.

For scomp - you need to tell to the command which schema you want to compile

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
eduardojsAuthor Commented:
Not enough solutions received
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.