• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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: 7125
184
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.
 
I promise I will be the best, most loyal friend ever! All for this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic