This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud and have Kyle Brown, Bobby Woolf and Joseph Yodor on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Ant, Tomcat and NetBeans

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
have a fresh instillation of netbeans and tomcat, when I try to compile t=
he
basic default servlet with Ant from netbeans I get:

error: option -Xbootclasspath/p: not allowed with target 12

But the servlet compiles ok with Maven.

I know ant well so would want to continue with that.

Any help please?

Thanks
 
Sheriff
Posts: 7126
185
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is that the full error message?  If not, please post it here.  

Can you post your Ant build script here?  What happens when you build your project with Ant outside of Netbeans?
 
Mark Lyn
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Knute,

you get so use to having things done for you in the IDE I didn't
even think to look.

But there is nothing much in my Build.xml, just:

-<project basedir="." default="default" name="Ant_test">

  <description>Builds, tests, and runs the project Ant_test.</description>
   <import file="nbproject/build-impl.xml"/>
<!...

..>
</project>

nbproject/build-impl.xml  is of course very long, but its something for me
to change for now.

If you have any ideas let me know.

Thanks.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic