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

How to exclude test dir (IntelliJ) ?

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.
In my application, I have under src dir two packages, com and test.
Well, test is a dir for unit tests.
Within IntelliJ, I set the test dir as the test directory (using Module properties).
But when building the module, the class files of these tests is included in classes dir.
Any way how not to include it ?
(Well, I tried Ant, using it I'm able to exlude them but the empty test dir is still here).
Thanks.
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You should mark as 'source code' only subfolder com. Plus there're two parameters on first tab of Module Settings dialog: output path (where 'source code' compiles) and test output path (where 'test code' compiles), you should specify different path as test output directry.
 
reply
    Bookmark Topic Watch Topic
  • New Topic