Thank you for your help, I managed to release it. It's now synched with the
the central repo.

On Sun, Feb 20, 2011 at 6:07 PM, Baptiste MATHUS <[email protected]> wrote:

> Hi,
>
> Well, it shows three local modifications (the M lines).
>
Yeah, I continued modifying now.


> Btw, you should ignore target directory.
>
I agree and was convinced I was. Refer to my previous explanation.

>
> How come there's so much local things that aren't either up-to-date or
> ignored?

NetBeans ignored them for me, and on my previous machine I had that in my
.hgignore, making the switch I was illuded to think they were ignored, and
didn't dispute the mismatch as to my they showed as ? in hg status (lacking
trust in my knowledge of mercurial).


> What is nbactionss-release-profile.xml?

I don't know! I disputed several times the need for those with NB-maven
team, but they argue they are required.


> What are those jars (seems
> like a project-build-smell to see jars inside your project directory ;-)).
>
Quick hack for testing directly with javac. You don't have a shower every
hour, do you? ;-)

>
> Cheers
>
> 2011/2/20 Gabriele Kahlout <[email protected]>
>
> > C:\Users\simpatico\ws\dp4j>hg status
> >
> > M src\main\java\com\dp4j\InjectReflection.java
> > M src\main\java\com\dp4j\ast\Resolver.java
> > M src\test\java\com\dp4j\samples\PrivateConstructorTest.java
> > ? nbactions-release-profile.xml
> > ? src\test\resources\com\dp4j\samples\commons.jar
> > ? src\test\resources\com\dp4j\samples\junit.jar
> > ? target\classes\META-INF\services\javax.annotation.processing.Processor
> > ? target\classes\com\dp4j\AbstractFactory.class
> > ? target\classes\com\dp4j\Abstraction.class
> > ? target\classes\com\dp4j\Adaptee.class
> > ? target\classes\com\dp4j\Adapter.class
> > ? target\classes\com\dp4j\Builder.class
> > ? target\classes\com\dp4j\Component.class
> > ? target\classes\com\dp4j\Composite.class
> > ? target\classes\com\dp4j\Creator.class
> > ? target\classes\com\dp4j\Decorator.class
> > ? target\classes\com\dp4j\Facade.class
> > ? target\classes\com\dp4j\Flyweight.class
> > ? target\classes\com\dp4j\Implementor.class
> > ? target\classes\com\dp4j\InjectReflection.class
> > ? target\classes\com\dp4j\Prototype.class
> > ? target\classes\com\dp4j\Proxy.class
> > ? target\classes\com\dp4j\Singleton.class
> > ? target\classes\com\dp4j\Subject.class
> > ? target\classes\com\dp4j\Target.class
> > ? target\classes\com\dp4j\ast\Resolver.class
> > ? target\classes\com\dp4j\buildPart.class
> > ? target\classes\com\dp4j\children.class
> > ? target\classes\com\dp4j\createProduct.class
> > ? target\classes\com\dp4j\flyweights.class
> > ? target\classes\com\dp4j\getInstance.class
> > ? target\classes\com\dp4j\getResult.class
> > ? target\classes\com\dp4j\instance.class
> > ? target\classes\com\dp4j\operation.class
> > ? target\classes\com\dp4j\processors\BuilderProcessor.class
> > ? target\classes\com\dp4j\processors\DProcessor.class
> > ? target\classes\com\dp4j\processors\Data.class
> > ? target\classes\com\dp4j\processors\GetInstanceProcessor.class
> > ? target\classes\com\dp4j\processors\InstanceProcessor.class
> > ? target\classes\com\dp4j\processors\SingletonProcessor.class
> > ? target\classes\com\dp4j\processors\core\PrivateAccessProcessor.class
> > ? target\classes\com\dp4j\processors\core\TemplateMethodProcessor.class
> > ? target\classes\com\dp4j\processors\core\package-info.class
> > ? target\classes\com\dp4j\product.class
> > ? target\classes\com\dp4j\templateMethod.class
> > ? target\test-classes\.netbeans_automatic_build
> > ? target\test-classes\com\dp4j\AbstractAccessibleTest.class
> > ? target\test-classes\com\dp4j\PrivateAccessProcTest$1.class
> > ? target\test-classes\com\dp4j\PrivateAccessProcTest.class
> > ? target\test-classes\com\dp4j\StreamGobbler.class
> > ? target\test-classes\com\dp4j\samples\ASingleton.class
> > ? target\test-classes\com\dp4j\samples\AbstractAccessTest.class
> > ? target\test-classes\com\dp4j\samples\AccessibleTest.class
> > ? target\test-classes\com\dp4j\samples\ArrayCallTest.java
> > ? target\test-classes\com\dp4j\samples\CallTest.java
> > ? target\test-classes\com\dp4j\samples\ExtendingSingleton.java
> > ? target\test-classes\com\dp4j\samples\ForEachTest.java
> > ? target\test-classes\com\dp4j\samples\IfReflectedTest.class
> > ? target\test-classes\com\dp4j\samples\IfTest.java
> > ? target\test-classes\com\dp4j\samples\InlineReflectionTest.class
> > ? target\test-classes\com\dp4j\samples\InvokeTest.class
> > ? target\test-classes\com\dp4j\samples\MultipleCallsReflectedTest.class
> > ? target\test-classes\com\dp4j\samples\MultipleCallsTest.java
> > ? target\test-classes\com\dp4j\samples\MyBooks.java
> > ? target\test-classes\com\dp4j\samples\MySingleton.java
> > ? target\test-classes\com\dp4j\samples\Private.class
> > ? target\test-classes\com\dp4j\samples\PrivateData.class
> > ? target\test-classes\com\dp4j\samples\PrivateData.java
> > ? target\test-classes\com\dp4j\samples\PrivateMethods.class
> > ? target\test-classes\com\dp4j\samples\PrivateMethods.java
> > ? target\test-classes\com\dp4j\samples\PrivateVarArgs.class
> > ? target\test-classes\com\dp4j\samples\PrivateVarArgs.java
> > ? target\test-classes\com\dp4j\samples\RPrivateArrayMethod.class
> > ? target\test-classes\com\dp4j\samples\ReflectedArrayCallTest.class
> > ? target\test-classes\com\dp4j\samples\ReflectedForEachTest.class
> > ? target\test-classes\com\dp4j\samples\ReflectedTest.class
> > ? target\test-classes\com\dp4j\samples\ReflectedVarArgsTest.class
> > ? target\test-classes\com\dp4j\samples\S.java
> > ? target\test-classes\com\dp4j\samples\SS.java
> > ? target\test-classes\com\dp4j\samples\SingletonImpl.java
> > ? target\test-classes\com\dp4j\samples\SingletonTest.java
> > ?
> target\test-classes\com\dp4j\samples\SingletonWithOnlyOneConstructor.java
> > ?
> target\test-classes\com\dp4j\samples\SingletonWithPublicConstructor.java
> > ? target\test-classes\com\dp4j\samples\SoutTest.java
> > ? target\test-classes\com\dp4j\samples\Test.java
> > ? target\test-classes\com\dp4j\samples\VarArgsCallTest.java
> > ?
> >
> >
> target\test-classes\com\dp4j\samples\WithAccessibilePrivateDataInstance.class
> > ?
> >
> >
> target\test-classes\com\dp4j\samples\WithAccessibilePrivateDataInstance.java
> > ?
> target\test-classes\com\dp4j\samples\WithAccessibleVarArgsInstance.class
> > ? target\test-classes\com\dp4j\samples\WithAccessibleVarArgsInstance.java
> > ? target\test-classes\com\dp4j\samples\commons.jar
> > ? target\test-classes\com\dp4j\samples\junit.jar
> >
> > On Sun, Feb 20, 2011 at 3:16 PM, Olivier Lamy <[email protected]> wrote:
> >
> > > and the following cli : hg status
> > > says what ?
> > >
> > > 2011/2/20 Gabriele Kahlout <[email protected]>:
> > > > yes, as far as i can tell.
> > > >
> > > > On Sun, Feb 20, 2011 at 2:59 PM, Olivier Lamy <[email protected]>
> > wrote:
> > > >
> > > >> Hello,
> > > >> Maybe "stupid" question : have you committed and pushed your file
> > > .hgignore
> > > >> ?
> > > >>
> > > >>
> > > >> 2011/2/19 Gabriele Kahlout <[email protected]>:
> > > >> > I'm trying:
> > > >> >
> > > >> > $ mvn release:prepare
> > > >> >
> > > >> > But then it prints a list of class files under my target directory
> > > which
> > > >> > I've set hg to ignore, and then fails:
> > > >> >
> > > >> >> [ERROR] Failed to execute goal
> > > >> >> org.apache.maven.plugins:maven-release-plugin:2.1:prepare
> > > >> >> (default-cli) on project X: Cannot
> > > >> >> prepare the release because you have
> > > >> >> local modifications
> > > >> >
> > > >> >
> > > >> >
> > > >> > <plugin>
> > > >> >               <groupId>org.apache.maven.plugins</groupId>
> > > >> >               <artifactId>maven-release-plugin</artifactId>
> > > >> >               <version>2.1</version>
> > > >> >           </plugin>
> > > >> >
> > > >> > $ mvn --version
> > > >> > Apache Maven 3.0.2 (r1056850; 2011-01-09 01:58:10+0100)
> > > >> > Java version: 1.6.0_23, vendor: Sun Microsystems Inc.
> > > >> > Java home: C:\Program Files\Java\jdk1.6.0_23\jre
> > > >> > Default locale: it_IT, platform encoding: Cp1252
> > > >> > OS name: "windows 7", version: "6.1", arch: "x86", family:
> "windows"
> > > >> >
> > > >> >
> > > >> >
> > > >>
> > >
> >
> http://stackoverflow.com/questions/5050934/how-to-mvn-releaseprepare-although-target-is-in-hgignore
> > > >> >
> > > >> > --
> > > >> > Regards,
> > > >> > K. Gabriele
> > > >> >
> > > >> > --- unchanged since 20/9/10 ---
> > > >> > P.S. If the subject contains "[LON]" or the addressee acknowledges
> > the
> > > >> > receipt within 48 hours then I don't resend the email.
> > > >> > subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this)
> ∧
> > > >> time(x)
> > > >> > < Now + 48h) ⇒ ¬resend(I, this).
> > > >> >
> > > >> > If an email is sent by a sender that is not a trusted contact or
> the
> > > >> email
> > > >> > does not contain a valid code then the email is not received. A
> > valid
> > > >> code
> > > >> > starts with a hyphen and ends with "X".
> > > >> > ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x)
> ∧
> > y
> > > ∈
> > > >> > L(-[a-z]+[0-9]X)).
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Olivier Lamy
> > > >> http://twitter.com/olamy
> > > >> http://www.linkedin.com/in/olamy
> > > >>
> > > >>
> ---------------------------------------------------------------------
> > > >> To unsubscribe, e-mail: [email protected]
> > > >> For additional commands, e-mail: [email protected]
> > > >>
> > > >>
> > > >
> > > >
> > > > --
> > > > Regards,
> > > > K. Gabriele
> > > >
> > > > --- unchanged since 20/9/10 ---
> > > > P.S. If the subject contains "[LON]" or the addressee acknowledges
> the
> > > > receipt within 48 hours then I don't resend the email.
> > > > subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧
> > > time(x)
> > > > < Now + 48h) ⇒ ¬resend(I, this).
> > > >
> > > > If an email is sent by a sender that is not a trusted contact or the
> > > email
> > > > does not contain a valid code then the email is not received. A valid
> > > code
> > > > starts with a hyphen and ends with "X".
> > > > ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧
> y
> > ∈
> > > > L(-[a-z]+[0-9]X)).
> > > >
> > >
> > >
> > >
> > > --
> > > Olivier Lamy
> > > http://twitter.com/olamy
> > > http://www.linkedin.com/in/olamy
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> > >
> >
> >
> > --
> > Regards,
> > K. Gabriele
> >
> > --- unchanged since 20/9/10 ---
> > P.S. If the subject contains "[LON]" or the addressee acknowledges the
> > receipt within 48 hours then I don't resend the email.
> > subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧
> > time(x)
> > < Now + 48h) ⇒ ¬resend(I, this).
> >
> > If an email is sent by a sender that is not a trusted contact or the
> email
> > does not contain a valid code then the email is not received. A valid
> code
> > starts with a hyphen and ends with "X".
> > ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
> > L(-[a-z]+[0-9]X)).
> >
>
>
>
> --
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
>



-- 
Regards,
K. Gabriele

--- unchanged since 20/9/10 ---
P.S. If the subject contains "[LON]" or the addressee acknowledges the
receipt within 48 hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x)
< Now + 48h) ⇒ ¬resend(I, this).

If an email is sent by a sender that is not a trusted contact or the email
does not contain a valid code then the email is not received. A valid code
starts with a hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
L(-[a-z]+[0-9]X)).

Reply via email to