Login
Whos Online
Joomla
We have 117 guests and 0 members onlineForums
We have 19 guests and 0 members onlinePopular
- Media Center with XBMC
- Dumb as ... a pitbull
- All bombardier ds 650 models
- Curriculum Vitae
- Do it Yourself: change your PS3 optical lens
- Predator
- Add a harddisk led to Your XBOX
- Yamaha 450 YFZ
- Presentation
- SecurityImages 3.0.4
- Table with fixed header, scrolling body
- Develop web testcases using Selenium IDE in Firefox for Joomla!
- Vespa Chassis Number and Type
- Joomla XMLRPC
- Comment régler un hélicoptère RC: Raptor 30 ou caliber 30
- ATV Quad Bombardier manuals
- JArtForms component for Joomla 1.5 and SecurityImages 5
- MXcomment v1.0.7 now support securityimages 5.X and 4.X
- Maven reusing test classes across multi modules projects
- Guest Book Akobook 5.1.2 for Joomla 1.5
Tags
android (7) anonymity (9) ant (10) apache (54) apple (7) atv (18) australia (8) bernardet (7) bombardier (7) book (7) browser (10) business (8) caliber30 (61) canon (9) cedricwalter (6) checklist (9) chrome (6) classpath (6) collection (7) continuousbuild (25) design (13) designpattern (23) desktop (7) development (28) DIY (9) draganflyer5 (9) dslr (14) eclipse (30) ek4 (8) electronic (18) enfrancais (66) FAQ (6) figures (13) firefox (20) firmware (7) flash (9) flickr (6) framework (12) fud (9) game (19) gaming (6) girls (6) google (68) gpl (8) gps (9) hacking (23) hdtv (7) hollidays (15) homecinema (14) homepage (20) howto (66) infrastructure (6) innoveo (7) iphone (6) italy (10) itsatrap (8) java (73) javascript (11) joke (11) joomla (215) joomla15 (33) joomlacloud (7) junit (9) kde (10) kyosho (62) links (17) linux (122) LittleBigPlanet (16) mambo (18) manual (8) manurhin (9) maps (6) maven (36) mediacenter (9) microsoft (52) modding (10) module (17) morespeed (16) motor (8) motorcycle (13) myhomepage (14) mysql (14) nas (14) neogeo (20) opencomment (27) opensource (61) opensuse (10) oss (7) p2p (7) patch (32) pc (12) pdf (8) php (26) picasa (7) plugin (65) privacy (9) projector (11) protection (7) ps3 (42) publicity (9) quad (18) raptor30 (7) rchelicopter (161) review (32) robot (9) robotic (7) rss (8) safety (8) scooter (29) security (62) securityimage (8) securityimage3 (6) securityimage4 (21) securityimage5 (19) securityimages (14) securityimages5 (6) server (17) simulator (8) smugmug (12) snk (16) software (31) sony (38) spammer (7) statistics (13) storage (7) subversion (6) suse (12) switzerland (7) teamcity (15) testing (9) thundertiger (20) tips (31) tomcat (7) tomtom (7) translatetofrench (8) trip (17) troubleshooting (7) tutorial (9) twitter (6) upgrade (15) vespa (10) video (17) vintage (8) watercooling (9) web2.0 (28) windows (14) xbmc (7) xbox (10) zurich (16) zürich (11)
Forums
Gallery
Most Downloaded
Latest comments
- I am very sorry for your loss Walter....
- ?? why security by obscurity :-) It ...
- Yes, but the code was ugly, and is st...
- thanks for posting the direct address...
- thanks, I haven't used gmail so wide ...
- thanks! 15 minutes for converting? th...
- Thanks for this article, it helped!
- Thanks for the guide, really helpful.
Google Buzz
items tagged with classpathHierarchy of classloader
Written By: Administrator Section: Java Category: Java problems 2004-08-31 22:44:50 Â Read this document about classloader (PDF)
As soon as you request a class in one of these loader, the classloader will take the first found during its walk under this rules:
java.lang.ClassNotFound and ClassNotDefFoundError are different but ..
Written By: Administrator Section: Java Category: Java problems 2004-08-31 22:44:12 Â java.lang.ClassNotFound and ClassNotDefFoundError are different but what if my classes are in classpath? Â Remember:
Maven dependencies under control: excluding unwanted transitive dependencies
Written By: Administrator Section: Java Category: Apache Maven 2008-07-17 12:08:52 What can you do to avoid that when you use one Maven dependency, to also inherit some other undesirable older The fix to this is to add an exclusion to the dependency in question. <dependency> <groupId>common-jxpath</groupId> <artifactId>common-jxpath</artifactId> <version>1.2</version> <scope>compile</scope> <!-- default scope for sake of example--> </dependency> This dependency to jxpath 1.2 will bring in an old version of log4j 3.8. In order to ensure that I am using the latest
I need to put in an exclusion for these transitive dependencies of common-jxpath, which I do as follows: <dependency> <groupId>common-jxpath</groupId> <artifactId>common-jxpath</artifactId> <version>1.2</version> <scope>compile</scope> <exclusions> <exclusion> <artifactId>junit</artifactId> <groupId>junit</groupId> </exclusion> <!-- I can put many of these here --> Having excluded them, they will be any longer in the build. Read More About Maven Dependencies Under Control: Excluding Unwanted Transitive Dependencies... maven2 Unit Test code reuse and dependencies
Written By: Administrator Section: Java Category: Apache Maven 2008-04-10 14:52:20 Maven rules of the game:
The solution is to create additional test jar for each module, this is done by putting in the inside the <build></build> tags the following: 1: <plugin> 2: <groupId>org.apache.maven.plugins</groupId> 3: <artifactId>maven-jar-plugin</artifactId> 4: <executions> 5: <execution> 6: <goals> 7: <goal>test-jar</goal> 8: </goals> 9: </execution> 10: </executions> 11: </plugin> This will create for each modules an additional jar named {artifactId}-{version}-tests.jar
Now for every modules where you want to reuse test classes, all you have to do in to put in every
1: <dependency> 2: <groupId>yourGroup</groupId> 3: <artifactId>yourReusableModuleArtifact</artifactId> 4: <version>0.1-SNAPSHOT</version> 5: <classifier>tests</classifier> 6: <scope>test</scope> 7: </dependency> This has work for me with Maven 2.0.8 on NT system: command line too long
Written By: Administrator Section: Java Category: Java problems 2004-08-31 22:42:31 Â On windows NT machine, command line length is limited to 1024 characters!, clearly not enough for a distributed classpath with a lot of frameworks or 3rd party tools. Solutions
There are 6 items tagged with classpath. You can view all our tags in the Tag Cloud |








