Community
Participate
Working Groups
Build Identifier: 20110916-0149 I have a one level deep maven project tree repo/trunk/module-api/pom.xml repo/trunk/module-impl/pom.xml repo/trunk/pom.xml (It also has src/main/java etc but leaving that out for simplicity) I check this out into my workspace with file->import->check out maven projects from SCM. And point it at repo/trunk/pom.xml This results in an on disk structure of myeclipseworkspace/fitp-aggregator/module-api/pom.xml myeclipseworkspace/fitp-aggregator/module-impl/pom.xml myeclipseworkspace/fitp-aggregator/pom.xml fitp-aggregator is the maven name of the parent project repo/trunk/pom.xml If I modify an interface in the API, and make a corresponding change to the implementation, and check this in, subversive makes two separate commits, breaking the fundamental subversion rule of atomic commits, making subversive unusable. If if use commandline svn in the workspace, or tortoise, or subclipse/javaHL it commits atomically. Reproducible: Always Steps to Reproduce: 1.change two files in different projects 2.commit 3.
Are these projects belongs to single working copy or not (i.e. do they have a common ancestor with a related .svn folder inside)?
(In reply to comment #1) > Are these projects belongs to single working copy or not (i.e. do they have a > common ancestor with a related .svn folder inside fitp-aggregator is the common ansestor and has a .svn file They were checked out from svn in one checkout with the 'checkout maven projects from SCM' For example if i edit 3 files,one each per project; one in the parent project, and one in each sub project, commandline svn says this: carteda@LONWD010262:/c/dev/workspaces/two/fitp-aggregator$ svn status M calculation-runtime/src/main/java/com/nomura/fitp/calculation/internal/CalculationBroker.java M fitp-pom/pom.xml M calculation-api/src/main/java/com/nomura/fitp/calculation/CalculationService.java But subversive would make 3 checkins where commandline svn makes one. Note that with a hierarchical maven project tree like this the subprojects show up as plain files/folders in the parent project, as well as opening as projects in their own right. I filter subdirectories from the parent project as i only want the java files to show up once as proper java resources in the subprojects.
Whoops, edited the wrong pom.xml in my example. Should have been in the parent. carteda@LONWD010262:/c/dev/workspaces/two/fitp-aggregator$ svn status M calculation-runtime/src/main/java/com/nomura/fitp/calculation/internal/CalculationBroker.java M calculation-api/src/main/java/com/nomura/fitp/calculation/CalculationService.java M pom.xml
Thank you for information. The issue is fixed.